or
protected void radGridUnits_OnPreRender(object sender, EventArgs e) { // Select the last selected value if (Session["filteredByPendingAction"] != null) foreach (GridHeaderItem h in radGridUnits.MasterTableView.GetItems(GridItemType.Header)) { ((RadComboBox)h["ExternalActions"].FindControl("radComboFilteredByPendingActions")).FindItemByValue(Session["filteredByPendingAction"].ToString()).Selected = true; ((RadComboBox)h["ExternalActions"].FindControl("radComboFilteredByPendingActions")).DataBind(); break; } }
GetRadWindow().add_activate(OnClientActivate);function OnClientActivate(sender, e) { alert('I should only see this once when the window is brought to the front');}

