New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
LoadSettings event
LoadSettings is a server-side event that fires after calling LoadState() method of RadPersistenceManager but before actually loading the settings so the user can remove the desired settings.
The example below demonstrates how to remove a grid settings before loading the saved state.
C#
protected void RadPersistenceManager1_LoadSettings(object sender, PersistenceManagerSaveAllStateEventArgs e)
{
var gridSetting = e.Settings.FindByUniqueId("RadGrid2");
if (gridSetting != null)
{
e.Settings.RemoveByUniqueId("RadGrid2");
}
}