Skip to main content
A newer version of this page is available. .

How to: Save a Dashboard State to Cookies and Restore this State on the Server Side (MVC)

  • 3 minutes to read

The sample illustrates how to save the current ASP.NET MVC Dashboard state (such as master filter or parameter values) to cookies on the client side and restore this state on the server side. The following API is used in this example:

Imports System.Web.Mvc

Namespace MvcDashboard_DashboardStateCookies.Controllers
    Public Class HomeController
        Inherits Controller

        Public Function Index() As ActionResult
            Return View()
        End Function
    End Class
End Namespace