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

In grid i have start & stop linkbuttons.Suppose i have 5 rows of data.
so automatically 5 rows of start & stop linkbuttons will appear in the grid.
now my task is that if i click on start linkbutton in first row then automatically
my all stop linkbuttons are come under enabled false.
How it is possible??
i wrote in Row_Command my stop linkbutton is enabled false for that single row.

Regards,
VenkateshDesai.
Posted
Comments
AshishChaudha 11-Oct-12 5:43am    
Could you show your code so that help you better....

1 solution

In Item Commond event save your value in a view state like ViewState["start"]=true;
In the ItemDatabound event check this viewstate vale and enable or disable all the rows.

If your Grid has 5 rows then your ItemDatabound event calls 5 times.so,U can disable all the buttons.
 
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