Feb 15, 2011, 2:08 PM
how to get selected row id from gridpanel in code behind file(c#) at button click
hi all,
good evening
how to get selected row id from gridpanel in code behind file(c#) at button click
i tried this code but getselected() property doesnot exist
i have grid it showing code and name down of the grid one button is there after clicking one item in the browse user clicking details button
but how i get which item user clicked in the grid (want selected item code in the code behind file)
please help me
thanks
eldhose
good evening
how to get selected row id from gridpanel in code behind file(c#) at button click
i tried this code but getselected() property doesnot exist
protected void Button6_Click(object sender, DirectEventArgs e)
{
int a= GridPanel1.getSelected().id;
}
i have grid it showing code and name down of the grid one button is there after clicking one item in the browse user clicking details button
but how i get which item user clicked in the grid (want selected item code in the code behind file)
please help me
thanks
eldhose
Last edited by eldhose; Feb 15, 2011 at 5:18 PM.