Hi Rob,
Thanks very much for your feedback.
For your RadioButton event does not fire problem, it is a common issue.
Normally, it is because you did not determine the postback, and re-bind
your datagrid every postback time. Like this:
private void Page_Load(object sender, System.EventArgs e)
{
DataSet ds=new DataSet ();
SqlDataAdapter adapter=new SqlDataAdapter("select * from
jobs","server=localhost;database=pubs;uid=sa;pwd=");
adapter.Fill(ds);
DataGrid1.DataSource=ds;
DataGrid1.DataBind();
}
Through this way, your datagrid's child controls(Such as RadioButton) will
be re-created every postback, its status will be re-freshed every time, so
its event will not fire. Instead, you should only bind the DataGrid at the
first time, like this:
private void Page_Load(object sender, System.EventArgs e)
{
if(!this.IsPostBack)
{
DataSet ds=new DataSet ();
SqlDataAdapter adapter=new SqlDataAdapter("select * from
jobs","server=localhost;database=pubs;uid=sa;pwd=");
adapter.Fill(ds);
DataGrid1.DataSource=ds;
DataGrid1.DataBind();
}
}
Through this way, the event should fire for you.
If this is not your problem, please pasted some code snippet to reproduce
your problem, I will figure out the problem for you.
========================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.