onedizzydevil
Programmer
Here is my problem. This Web User Control has two major pieces that work together.
1) A set of regional maps that show one at a time which allow the user to drill down, and at its lowest level it will needs to run a javascript function to select/deselect items out of the a .NET DropDownList that will be contained in the same User Control.
2) A .NET DropDownList with a long list of items populated from an XML Document that can be selected manually or using the map described in #1.
I know all this can be done using VB.NET and postbacks; however, we really need to get this work client-side. The biggest .NET related problems that I can see are the following:
A) In a user control the name and id are generated automagically. How can I get the name of the DropDownList and Panels to use in building the JavaScript.
B) Hide and show map .NET Panels using Javascript. Some of the maps will call other maps other will select items out of the DropDownList.
Any help would be greatly appreciated, this is the first time I've had to use JavaScript this way in ASP.NET and its Dynamic nature seems to be an issue to needs be handles very tactfully especially when it is a User Control and would like to maintain the Dynamic ability of using a User Control.
Thanks
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."
1) A set of regional maps that show one at a time which allow the user to drill down, and at its lowest level it will needs to run a javascript function to select/deselect items out of the a .NET DropDownList that will be contained in the same User Control.
2) A .NET DropDownList with a long list of items populated from an XML Document that can be selected manually or using the map described in #1.
I know all this can be done using VB.NET and postbacks; however, we really need to get this work client-side. The biggest .NET related problems that I can see are the following:
A) In a user control the name and id are generated automagically. How can I get the name of the DropDownList and Panels to use in building the JavaScript.
B) Hide and show map .NET Panels using Javascript. Some of the maps will call other maps other will select items out of the DropDownList.
Any help would be greatly appreciated, this is the first time I've had to use JavaScript this way in ASP.NET and its Dynamic nature seems to be an issue to needs be handles very tactfully especially when it is a User Control and would like to maintain the Dynamic ability of using a User Control.
Thanks
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."