Hi,
I need to select 1 row in a radgrid ( a parameter is passed in url like myPage.aspx?ID=93 )
If the row to select is in the first page displayed of the radgrid, this is OK.
However, if the row to select is, for example, in the page 5, this don't work
I do so in PreRender:
protected void Grid_Version_PreRender(object sender, EventArgs e)
{
if (!IsPostBack && SelectedRecetteVersion != null)
{
foreach (GridDataItem item in Grid_ArticleRecette.MasterTableView.Items)
{
if (item.GetDataKeyValue("RecetteID").ToString() == myID)
{
item.Selected = true;
}
}
}
I need to display to good page with the row selected
Thanks for your help please