Hide Expression Programmatically

2 posts, 1 answers
  1. July
    July avatar
    205 posts
    Member since:
    Jul 2011

    Posted 18 Aug 2011 Link to this post

    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??

  2. Answer
    Guillaume avatar
    4 posts
    Member since:
    Apr 2009

    Posted 22 Aug 2011 Link to this post

    You can do this with client side function called with :
     <ClientEvents OnFilterCreated="FilterCreated" />

    There are examples on Telerik's websites.
  3. DevCraft R3 2016 release webinar banner
Back to Top