or
function refreshGrid(arg)
{
if(!arg)
{
window[
"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'Rebind');
}
else
{
window[
"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'RebindAndNavigate');
}
}
can anybody help in this code.

| <asp:Button ID="EditFormUpdateButton" runat="server" |
| Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' |
| CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>' |
| meta:resourcekey="EditFormUpdateButtonResource1"> |
| </asp:Button> |
| <%$ Resources:LabelResource1.Text %> |
RadGrid1.Rebind();
foreach (GridItem item in RadGrid1.Items)
{
if (item.OwnerTableView.DataKeyValues[item.ItemIndex]["ID"].ToString() == ID)
{
item.Selected =
true;
// Now i need something like : RadGrid1.CurrentPageIndex = item.PageIndex;
break;
}
}