Saveing state to the database

3 posts, 1 answers
  1. Tomasz
    Tomasz avatar
    6 posts
    Member since:
    Oct 2013

    Posted 11 Jul 2014 Link to this post

    Hi telerik team,
    I'm looking for the example how to save the state of the RadPivotGrid to the database.
    I'v seen the http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/applicationscenarios/persisting-radpivotgrid-settings/defaultcs.aspx
    but there is only saving somewhere at the server and it is connected with session.
    It would be great to use something like that
    string state = radPivotGrid.SaveState();
    radPivotGrid.LoadState(state);
    Of course, there isn't such functionality, so how to workaround the problem?

    Regards
    Tomek
  2. Answer
    Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Jul 2014 Link to this post

    Hi Tomasz,

    I'm attaching a sample application to this thread that presents a possible approach for saving he state not in a session but in simple xml file. The data from the file could be easily pushed to the SQL DataBase.
    Give it a try and verify if it helps.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tomasz
    Tomasz avatar
    6 posts
    Member since:
    Oct 2013

    Posted 16 Jul 2014 in reply to Maria Ilieva Link to this post

    Hi Maria,
    Thank you for sample application.
    Now I understand how it works.
    I think I would manage with the rest.

    Regards,
    Tomek
Back to Top