protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) // similar to RowDataBound event in GridView
{
if (e.Item is GridDataItem)// gets the row collection
{
GridDataItem item = (GridDataItem)e.Item;
rgManager.SelectParameters["proID"].DefaultValue = ????
}
}
what would replace this ???? part.. I am trying to get the datakeyvalue of proID ..I have tried this but it is complaining...
rgManager.MasterTableView.DataKeyValues[e.Item.ItemIndex];
Actually ItemDataBound is not even executing creating grid...Please help..
{
if (e.Item is GridDataItem)// gets the row collection
{
GridDataItem item = (GridDataItem)e.Item;
rgManager.SelectParameters
}
}
what would replace this ???? part.. I am trying to get the datakeyvalue of proID ..I have tried this but it is complaining...
rgManager.MasterTableView.
Actually ItemDataBound is not even executing creating grid...Please help..