deleted!
Main Topics
Browse All TopicsI've been asked to add a option in a dropdownlist in a form applikation. The dropdownlist is populated with other control types like textbox, textarea, radio, checkbox, and so on.. the dropdownlist has autopostback="true" and the selected control should trigger dynamically and be visible on the page, you can choose textbox 10 times for example.
My problem is: I have added the new control in the dropdownlist and replicated it like the others are built but now when the autopostback triggers i get these javascript errors: object required and unknown name, I don't have any code to show because it is at work, I'm hoping you can give me some advise on what may cause this.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It should not be different. I don't know why it worked before but not working now. Mayber there are some changes in your application? Still launch your app in FireFox, then click Tools->Error Console to see the JavaScript error. Click the link of the error will show you which line is causing the JavaScript error.
There is a trick for hiding the control. Instead of using Visible="False" to hide it, you can do this:
lstDropOption.Attribu
To make it visible again:
lstDropOption.Attrib
This way, ASP.NET will still render the control to browser, but the style will hide the cotnrol. Since it exists in HTML, it will not cause JavaScript error.
Business Accounts
Answer for Membership
by: prairiedogPosted on 2009-05-08 at 11:57:14ID: 24339116
Please delete the duplicate question first.