Hi. I'm trying to filter my grid with a combobox but I don't succeed (sorry but the documentation really sux!)
Here's what I'm trying to
How can I do that?
My first issue is to fill my combobox, how can I do that with linq? (which is not explain here:http://www.telerik.com/help/aspnet-ajax/combobox-data-binding-data-source.html as it said in the summary)
Here's what I'm trying to
<
telerik:RadGrid
AutoGenerateColumns
=
"false"
ID
=
"RadGrid1"
OnNeedDataSource
=
"NeedDataSourceClient"
>
<
MasterTableView
AllowFilteringByColumn
=
"True"
AutoGenerateColumns
=
"false"
>
<
telerik:GridTemplateColumn
DataField
=
country_
Id
" UniqueName="country_
Id
SortExpression=
country_
Id
AutoPostBackOnFilter="true">
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"rcbCountries"
runat
=
"server"
> </
telerik:RadComboBox
>
<
FilterTemplate
>
<
ItemTemplate
>
<%# global.GetCountry(DataBinder.Eval(Container, "DataItem.c
ountry_
Id))
%>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</MasterTableView
>
</
telerik:RadGrid
>
How can I do that?
My first issue is to fill my combobox, how can I do that with linq? (which is not explain here:http://www.telerik.com/help/aspnet-ajax/combobox-data-binding-data-source.html as it said in the summary)