How to hide preview text and how to get Filter values like a json/xml

3 posts, 0 answers
  1. Lubomir
    Lubomir  avatar
    15 posts
    Member since:
    Sep 2012

    Posted 19 Feb 2015 Link to this post

    Hi,

    I want to hide the text under control (check the attached image file).

    And I want to get "SaveSettings" values like json/xml format. Is it possible?
    If possible I want take them from javascript, but if it is impossible I want to know how to get this settings from code behind in xml or json format
  2. Lubomir
    Lubomir  avatar
    15 posts
    Member since:
    Sep 2012

    Posted 20 Feb 2015 Link to this post

    I fixed first one with ExpressionPreviewPosition="None"...
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 24 Feb 2015 Link to this post

    Hi Lubomir,

    The SaveSettings method saves the state of the whole control in a Base64String format. In order to build your own JSON or XML expression, you can traverse the expression items either on the client:
    $find("RadFilter1")._expressionItems

    Or on the server:
    RadFilter1.GetAllExpressionItems()

    Hope this helps.

    Regards,
    Eyup
    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.

     
Back to Top