Hi,
i have created a sample application to produce the bug. the application contains gridview with one cell which is gridviewcheckcolumn and a rad button to show the messagebox saying whether the check box is checked or not in the gridview.
when i check the checkbox and if i press the button mesage box showing checked but when i press shortcut key for the button its not working correctly.
there is a scenarion in my project where we have shortcut key for the button and it behaves like as i said above, so any suggestions on this regard will be helpful for me to solve this issue
Thanks,
Selva
i have created a sample application to produce the bug. the application contains gridview with one cell which is gridviewcheckcolumn and a rad button to show the messagebox saying whether the check box is checked or not in the gridview.
when i check the checkbox and if i press the button mesage box showing checked but when i press shortcut key for the button its not working correctly.
there is a scenarion in my project where we have shortcut key for the button and it behaves like as i said above, so any suggestions on this regard will be helpful for me to solve this issue
private
void
Form1_Load(
object
sender, EventArgs e)
{
GridViewDataRowInfo row =
this
.radGridView1.Rows.AddNew();
}
private
void
radButton1_Click(
object
sender, EventArgs e)
{
string
name = radGridView1.Rows[0].Cells[0].Value.ToString();
if
(radGridView1.Rows[0].Cells[
"Select"
].Value.ToString() ==
"True"
)
MessageBox.Show(
"Checked"
);
else
MessageBox.Show(
"UnChecked"
);
}
Thanks,
Selva