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

How to get RadFilter control dropdown field type

1 Answer 85 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Tamim
Top achievements
Rank 1
Tamim asked on 13 Jun 2012, 09:58 AM

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

Advanced
Thanks
Tamim

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 15 Jun 2012, 01:52 PM
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.
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Tamim
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or