Clearing Filter value

2 posts, 0 answers
  1. Vivek
    Vivek avatar
    4 posts
    Member since:
    Aug 2014

    Posted 12 Aug 2014 Link to this post

    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?

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 15 Aug 2014 Link to this post

    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.

    Konstantin Dikov

    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