RadFilter's FilterContainerId in codeBehind

4 posts, 0 answers
  1. Jean Carles
    Jean Carles avatar
    2 posts
    Member since:
    Jun 2013

    Posted 01 Mar 2015 Link to this post

    Hi there,

    I'm basically creating a RadFilter in code behind but when trying to link the RadFilter to a RadGrid also created in code behind, there seems that RadFilter's FilterContainerId is not accessible, only when it's created on aspx page. I tried this:

    var rf = new RadFilter();

    and then tried to set property like this

    rf.FilterContainerId

    but it says "cannot resolve symbol FilterContainerId"

    How do I perform this?

    Thanks.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 05 Mar 2015 Link to this post

    Hello Jean,

    Find attached a sample page that pretenses the proper behavior of this scenarios. Note that the FilterContainerId should be set as a string.

    Regards,
    Maria Ilieva
    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jean Carles
    Jean Carles avatar
    2 posts
    Member since:
    Jun 2013

    Posted 06 Mar 2015 Link to this post

    Sorry for how I'm about to answer, but, you clearly didn't read my post completely.

    Your example is what I tried and I mentioned it in my post, Intellisense tells me cannot resolve symbol FilterContainerId.

    Sorry but your answer has left my in the same point my question began.
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 11 Mar 2015 Link to this post

    Hello Jean,

    Does the application I have provided works properly on your end? Can you please let me know which version of the controls you are using? If you are using older version, can you try upgrading to the latest official release and see if this makes any difference.

    Regards,
    Maria Ilieva
    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