Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi

i have an editable grid view in that there is textbox and in another one is dropdownlist,

i want like if we select specific values from dropdownlist , user can only input zero in another textbox.

please give me some idea to do this.
Posted
Comments
TrushnaK 28-Oct-13 5:49am    
In GridView1_RowEditing() event you have to check the
dropdown selected value. If value is <> 0 then check text box value.

1 solution

Check this

http://forums.asp.net/t/1812185.aspx[^]

It's close to your question..hope the answer will 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