LoadSettings | RadPersistenceFramework for ASP.NET AJAX Documentation
Edit this page

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

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article