Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Within a GridView, I have a command field set as such...
ASP.NET
<asp:CommandField ShowSelectButton="false" ButtonType="Button" SelectText="Select" />

When the grid fist displays the select button is hidden on all rows. That works fine.

In the click event in another button, I want to set ShowSelectButton="true" so that
the select button shows up on all rows. Can anyone supply some sample code to do that?
Posted
Updated 22-Dec-11 12:57pm
v3

1 solution

 
Share this answer
 
v2
Comments
RaviRanjanKr 21-Dec-11 16:00pm    
My 5+
Monjurul Habib 22-Dec-11 12:48pm    
thank you
Member 7969139 21-Dec-11 16:36pm    
Could you be a little more specific. How would you do that?
Monjurul Habib 22-Dec-11 12:49pm    
look at updated answer, you will get your desired idea.
thatraja 22-Dec-11 13:06pm    
5!

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