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

RadFilter's FilterContainerId in codeBehind

3 Answers 46 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Jean Carles
Top achievements
Rank 1
Jean Carles asked on 02 Mar 2015, 04:42 AM
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.

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 05 Mar 2015, 09:00 AM
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.

 
0
Jean Carles
Top achievements
Rank 1
answered on 06 Mar 2015, 05:16 PM
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.
0
Maria Ilieva
Telerik team
answered on 11 Mar 2015, 01:29 PM
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.

 
Tags
Filter
Asked by
Jean Carles
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Jean Carles
Top achievements
Rank 1
Share this question
or