Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Active-Control question

Thread Tools

Active-Control question

Axel Dahmen
Posts: n/a

I want to program some "active" webserver controls. I.e. there is some piece
of JavaScript code supposed to be supplied with the user control to render a
rich dynamic client GUI. But I don't have a solution for the following:
Although I want to be able to place the control several times on the same
web page, the JavaScript source code (and probably dynamically generated
static lookup data) is supposed to be put only once to the page.

The user control should be fully self-contained, hence there should be only
one single class file to be programmed/maintained and only one single
element to be added to the page for each control.

Example: The JavaScript language does not provide date checking
functionality. I'd like to program an input box checking for a valid date,
considering leap years etc. The client-side code checking for valid input
should not be added to each and every user control, instead it should be
injected into the page only once. The code is event driven, hence I'll
always have a valid object reference.

Is there any solution available using ASP.NET user control facilities?

Axel Dahmen

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
question row filter (more of sql query question) =?Utf-8?B?YW5kcmV3MDA3?= ASP .Net 2 10-06-2005 01:07 PM
Quick Question - Newby Question =?Utf-8?B?UnlhbiBTbWl0aA==?= ASP .Net 4 02-16-2005 11:59 AM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM
Syntax Question - Novice Question sean ASP .Net 1 10-20-2003 12:18 PM