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

    Advanced
    Thanks
    Tamim
  2. Eyup
    Admin
    Eyup avatar
    3009 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,
    Eyup
    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top