Hi All,
I have button inside the rad grid control. I want to fetch the particular grid row data (ex. hidden field value) on button click. For this I wrote code like this...
protected void btnOne_OnClick(object sender, EventArgs e)
{
Button btn = (Button)sender;
GridDataItem item = (GridDataItem)btn.NamingContainer;
HiddenField hdn = (HiddenField)item.FindControl("hdnOne");
}
It is working, but some time it shows the value is repeating (i.e. showing some other value for hidden field). Is there any other way, to do this..
Thanks in advance.
Akki
I have button inside the rad grid control. I want to fetch the particular grid row data (ex. hidden field value) on button click. For this I wrote code like this...
protected void btnOne_OnClick(object sender, EventArgs e)
{
Button btn = (Button)sender;
GridDataItem item = (GridDataItem)btn.NamingContainer;
HiddenField hdn = (HiddenField)item.FindControl("hdnOne");
}
It is working, but some time it shows the value is repeating (i.e. showing some other value for hidden field). Is there any other way, to do this..
Thanks in advance.
Akki