Hi all, In my project i have kept source info in dropdownlist. Like source of info: in dropdownlist three items website, Newspaper and others. If user select Others item, then only other text box should be visible otherwise should be invisible. For that i have set in page load event
lblother.visible=false; txtother.visible=false;
And in Btnsubmit event i have written the condition like. if(dropdownlistinfo.selectedindex==2) { lblother.visible=true; txtother.visible=true; } But in my case i m not getting my desire output. Its always invisible when i am selecting Others item from drowdownlist also. Pls somebody help me where is my mistake?
Thanks, Sumit