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

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.
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[^]

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