Persisting grid settings is not working for client-side bounded grid.

3 posts, 0 answers
  1. Smruti Ranjan
    Smruti Ranjan avatar
    22 posts
    Member since:
    Feb 2012

    Posted 25 Feb 2013 Link to this post

    We have a requirement to save the user specific named settings for RadGrid in DB.

    User may set his default setting for the RadGrid and when the particular user gets logged in the default settings what he has set before
    would be applied to the grid he had set.

    The settings can be handled from this feature are like :-
    Global Settings : Font, Height of the Row, Font Style etc.
    Group/Grid specific Settings : Filter, Sorting, Grouping etc.

    So there setting are being saved in DB and when the specific user got o the page where the particular RadGrid exists.
    it applies the settings to teh RadGrid by fetching values from DB.
    To do this i have created an user control having appropriate properties to be assigned when
    added to the page like the grid name on which the settings to be applied etc.
    On page Init i have to set the property to which we have to assign the value as the current grid on which settings to be applied.
    Ex :-
      
    ucGridSettingsManager.MyGrid = radGrid;

    ucGridSettingsManager - The user control used to apply the settings, which will be placed at the top right side of the grid header.
    User can click on it to view all the settings available for him by previous creations.
    MyGrid - Property which needs to be set as the grid on which the settings to be applied.
    radGrid - Grid on which the settings to be applied or saved.


    It is working fine if the RadGrid is bounded on server-side, but when it is bounded at client-side the
    particular setttings are not working good.

    Can anybody help me in this regard ?
  2. Smruti Ranjan
    Smruti Ranjan avatar
    22 posts
    Member since:
    Feb 2012

    Posted 25 Feb 2013 Link to this post

    Also here i want to mention that i have used the class GridSettingPersister.cs class as mentioned here in the link :-

    GridSettingsPersister

    But seems not to be working with client-side bounded grid.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 28 Feb 2013 Link to this post

    Hello Smruti Ranjan,

    Note that the required functionality is not supported out of the box and a postback is needed for the persister class to keep the RadGrid settings. Therefore the settings persisting is not supported with client-side binging.

    All the best,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top