Hi,
I tried to set a default-Filter-Value in my FilterTemplate.
But my Default-Item doesn´t work as well... The filtering still shows "ALL" items
I need to set the default filter-value as "bearbeitung" (translation: in process)
With "<DefaultItem Text="Bearbeitung" Value="Bearbeitung"/>" it shows the correct value at the combobox.
But still shows all items.
If i choose the value "Bearbeitung" manually from the RadComboBox, the filtering works fine.
Thanks in advance :)
best,
Marc B
I tried to set a default-Filter-Value in my FilterTemplate.
But my Default-Item doesn´t work as well... The filtering still shows "ALL" items
I need to set the default filter-value as "bearbeitung" (translation: in process)
With "<DefaultItem Text="Bearbeitung" Value="Bearbeitung"/>" it shows the correct value at the combobox.
But still shows all items.
If i choose the value "Bearbeitung" manually from the RadComboBox, the filtering works fine.
<telerik:GridBoundColumn AllowFiltering="true" FilterControlWidth="100px" DataField="TicketStatusBezeichnung" HeaderText="Ticket Status" ShowFilterIcon="true" AutoPostBackOnFilter="true"><br> <FilterTemplate>
<telerik:RadComboBox ID="RadComboBoxTicketStatus" DataSourceID="SqlDataSource2" DataTextField="TicketStatusBezeichnung"<br> DataValueField="TicketStatusBezeichnung" Height="200px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TicketStatusBezeichnung").CurrentFilterValue %>'<br> runat="server" OnClientSelectedIndexChanged="TitleIndexChanged" Sort="Descending"><br> <DefaultItem Text="Bearbeitung" Value="Bearbeitung"/><br> <Items><br> <telerik:RadComboBoxItem Text="Alle" /><br> </Items><br> </telerik:RadComboBox><br> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"><br> <script type="text/javascript"><br> function TitleIndexChanged(sender, args) {<br> var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");<br> tableView.filter("TicketStatusBezeichnung", args.get_item().get_value(), "EqualTo");<br> }<br> </script><br> </telerik:RadScriptBlock><br> </FilterTemplate><br>
</telerik:GridBoundColumn>Thanks in advance :)
best,
Marc B
