By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 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,039
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.         }
Dec 17 '16 #2

Post your reply

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