How to get RadFilter control dropdown field type

Thread is closed for posting
2 posts, 0 answers
  1. Tamim
    Tamim avatar
    64 posts
    Member since:
    May 2011

    Posted 13 Jun 2012 Link to this post

    I Have attached Screen shot. how could i Filed Name and Filed Type in RadFielter Dropdownlist

  2. Eyup
    Eyup avatar
    2941 posts

    Posted 15 Jun 2012 Link to this post

    Hi Tamim,

    Please try the following:
    protected void RadFilter1_ItemCommand(object sender, RadFilterCommandEventArgs e)
           if (e.CommandName == RadFilter.ChangeExpressionFieldNameCommandName)
               string field = e.CommandArgument.ToString();
           if (e.CommandName == RadFilter.ChangeFilterFunctionCommandName)
               string function = e.CommandArgument.ToString();

    That should do the trick.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top