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

Hide Expression Programmatically

1 Answer 51 Views
Filter
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 18 Aug 2011, 02:45 PM
I need  hide some expresion according to DataType.

If field1.DataType = tyeof(string)
hide --> greatherrthan, lessthan...

if field2.datatype = typeof (int)
hide --> expresion.-...

How I can do this programmatically??

1 Answer, 1 is accepted

Sort by
0
Accepted
Guillaume
Top achievements
Rank 1
answered on 22 Aug 2011, 10:14 AM
You can do this with client side function called with :
<ClientSettings>
 <ClientEvents OnFilterCreated="FilterCreated" />
</ClientSettings>

There are examples on Telerik's websites.
Tags
Filter
Asked by
July
Top achievements
Rank 2
Answers by
Guillaume
Top achievements
Rank 1
Share this question
or