This is a migrated thread and some comments may be shown as answers.

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

2 Answers 51 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Lubomir
Top achievements
Rank 1
Lubomir asked on 19 Feb 2015, 09:54 AM
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 Answers, 1 is accepted

Sort by
0
Lubomir
Top achievements
Rank 1
answered on 20 Feb 2015, 11:19 AM
I fixed first one with ExpressionPreviewPosition="None"...
0
Eyup
Telerik team
answered on 24 Feb 2015, 11:46 AM
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.

 
Tags
Filter
Asked by
Lubomir
Top achievements
Rank 1
Answers by
Lubomir
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or