By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Enable Or disable link Button

P: 1
I have link button in my radgrid.
I want to enable or disable linkbutton depending upon particular row selection. Plx help Me
Jul 25 '16 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,031
This wil enable or disable the button every time the row is changed:
Expand|Select|Wrap|Line Numbers
  1.         private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs e)
  2.         {
  3.             button1.Enabled = !button1.Enabled;
  4.         }
  5.  
Dec 17 '16 #2

Post your reply

Sign in to post your reply or Sign up for a free account.