Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have panel and inside this panel, I have some dropdownlists, checkboxLists and text boxes.I disabled a dropdownList using javascript when the page loads. So that it only get enabled after i check an item in the checkboxlist. Its working correctly. But the actual issue is.. In the page load the above panel is also disabled from serverside, in which this dropdownlist is placed. After I enable this panel the above dropdown is also get enabled. but when I click the checkbox list it works as ususal.. I want that dropdown remains disabled until I select any item from checkbox list... Please help me... If some one have the solution.. its urgent
Posted
Comments
vinod deo from navi mumbai 4-Jul-11 6:13am    
Can you share code which you have wrote to disabled a dropdownList using javascript when the page load?
Sunasara Imdadhusen 4-Jul-11 6:15am    
Can you provide snippet of code?
Parwej Ahamad 4-Jul-11 6:19am    
According to my understanding, It's mean you disabled only parent control (panel) resultant all child control inside the panel get disabled and when you enable the parent control (panel) then all child control get enable.
Have you tried to do enable/disable Dropdownlist separately?
Monjurul Habib 4-Jul-11 13:18pm    
exactly, i think he doesn't.
Monjurul Habib 4-Jul-11 13:20pm    
According to your question the problem is not generic, we need your code to figure out where is the problem.Better you share your code.

1 solution

It should not happen.
Please send your code, so that i can help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900