Hi I just try the XML paging in like in the sample http://samples.infragistics.com/2009.2/WebFeatureBrowser/WebGrid/XmlPaging/XmlPaging.aspx
This code works great. And I try to set the first row active and seleted :
UltraWebGrid1.DisplayLayout.Rows[0].Activate();
UltraWebGrid1.DisplayLayout.Rows[0].Selected=true;
in the InitalizeRow event
private void UltraWebGrid1_InitalizeRow(object sender, Infragistics.WebUI.UltraWebGrid.RowEventArgs e) { if (e.Row.Index == 0) { e.Row.Activate(); e.Row.Selected = true; } }
This code work fine in the first time page load. But when I change page index, the first Row is not actived or selected.
Any help is kindly appreciated.