I am using RadGrid1_ItemCommand() to capture the buttons in my RadGrid and use it to trigger some additional functions.
My problem is that the Functions are called before the Navigation buttons move the record. Is there a function I can use to trigger a function after the navigation buttons have moved to the new record?
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "Select")
{
btn1AuseLink_Command(e);
}
else if (e.CommandName == "Print")
{
btn1AusePrint_Command(e);
}
else if (e.CommandName == "Page")
{
if (e.CommandArgument == "Prev")
{
LoadFreeTextBox1A();
}
else if (e.CommandArgument == "Next")
{
LoadFreeTextBox1A();
}
else if (e.CommandArgument == "First")
{
LoadFreeTextBox1A();
}
else if (e.CommandArgument == "Last")
{
LoadFreeTextBox1A();
}
}
else if (e.CommandName == "ChangePageSize")
{
SpeechRecords.SessionHandler.DispRow = (((GridPageSizeChangedEventArgs)(e)).NewPageSize).ToString();
}
}
My problem is that the Functions are called before the Navigation buttons move the record. Is there a function I can use to trigger a function after the navigation buttons have moved to the new record?