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

Clearing Filter value

1 Answer 19 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Vivek
Top achievements
Rank 1
Vivek asked on 12 Aug 2014, 11:25 PM
I am having a problem with clearing filter value. I need to set ListOfFilterValues = Nothing for a GridBoundColumn. My code is as follows:

If TypeOf column Is GridBoundColumn Then
     Dim boundColumn As GridBoundColumn = TryCast(column, GridBoundColumn)
     boundColumn.FilterListOptions = GridFilterListOptions.AllowAllFilters
     DirectCast(column, Telerik.Web.UI.GridBoundColumn).ListOfFilterValues = Nothing

End If

However I am getting the error

Error 1 'Telerik.Web.UI.GridColumn.Protected Friend Property ListOfFilterValues As String()' is not accessible in this context because it is 'Protected Friend'. 

Any solution?

Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 15 Aug 2014, 01:59 PM
Hello Vivek,

Could you please refer to the answer in the other thread, where you have posted the same issue:
For both sides convenience and for better tracking purposes, could you please try to avoid opening multiple threads with the same query.

If any further assistance is needed on this matter, I suggest that you continue the communication in the other forum thread.


Regards,
Konstantin Dikov
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
Vivek
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or