Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources


Forums»C# .NET »



DropDown

I have a dropdown and a textbox with in a grid.
if the selected value is 'No', the textbox should be disabled.
any idea as how to do the same
posted by:anonymous on 12/2/2007 8:03:29 PM
dropdown

Bind the textbox to the onSelectedIndexChanged property of the Dropdownlist and write a function for OnSelectedIndexChanged in the codebehind file.Include an if condition in the function to check whether the selected valuse is 'No', if it is ? then change the property of the textbox to be invisible.
posted by:swapna on 12/3/2007 8:17:24 PM
© 2008 dotnetwatch.com -- Privacy policy

Website Design & Internet Marketing by Shivam