Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I would like to have the SELECT button displayed in certain rows depending on the value of a particular column in the GridView control. If the value in that column is true, I would like the SELECT button to be displayed. Other wise, I don't want the SELECT button to show.

 

I have been trying to use the RowCreated event to determine when to display the SELECT button. So far I have no luck in accessing and evaluating the value of that particular column.

 

Is there a way that I can do this? Any help is appreciated.

 

Thank you.

Posted

I just found out that I am supposed to use the RowDataBound event instead of the RowCreated event. I got my program to work fine now.

 

 

I would like to have the SELECT button displayed in certain rows depending on the value of a particular column in the GridView control. If the value in that column is true, I would like the SELECT button to be displayed. Other wise, I don't want the SELECT button to show.

 

I have been trying to use the RowCreated event to determine when to display the SELECT button. So far I have no luck in accessing and evaluating the value of that particular column.

 

Is there a way that I can do this? Any help is appreciated.

 

Thank you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...