New to Telerik UI for ASP.NET AJAX? Download 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.

protected void RadPersistenceManager1_LoadSettings(object sender, PersistenceManagerSaveAllStateEventArgs e)
    var gridSetting = e.Settings.FindByUniqueId("RadGrid2");
    if (gridSetting != null)
Protected Sub RadPersistenceManager1_LoadSettings(sender As Object, e As PersistenceManagerSaveAllStateEventArgs)
    Dim gridSetting = e.Settings.FindByUniqueId("RadGrid2")
    If gridSetting IsNot Nothing Then
    End If
End Sub

See Also

In this article
Not finding the help you need? Improve this article