GroupSettings in Save/Load grid example

5 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 08 Jan 2010 Link to this post

    Hello

    I've been experiencing with the RadGridSettings, and I was wondering, when you load or save a group settings, is there any way that you can also save and load which group(s) were open the last time ?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Jan 2010 Link to this post

    Hi,

    I've attached an example to illustrate you how to achieve this.

    Kind regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 20 Jan 2010 Link to this post

    I had to modify it a bit to suit my needs better, but it works fine when there is one groupdesriptors, thanks.

    Is there a way to also make it work when there is two group descriptors active and the open group is on the second level ?
  5. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 21 Jan 2010 Link to this post

    I'm back with another serious problem, which I think is related to how the isolatedstorage file works

    I'll explain : In my scenario, I have several grids, which have all the same name, so I put a tag on it and pass this tag to the isolatedstorage to have different files for each grid.

    It saves fine, but when I try to load the settings, firefox and IE crash unexpectedly, and I can't figure out how.

    Second thing I tried is to give up the isolated storage file and use the datacontract serializer to make a string (with a memorystream) and store this string in database, so far, so good.

    But when I try to deserialize it, it tells me that the root element is missing and an exception is raised.


    Does anyone might have any thought to perform either of these scenarios ?

    regards
  6. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 22 Jan 2010 Link to this post

    Doesn't matter, problem solved, thanks.
Back to Top
DevCraft banner