<telerik:RadComboBox ID="ddlSpecialty" runat="server" AutoPostBack="true" AppendDataBoundItems="true" EnableEmbeddedSkins="false" Skin="Activity" Width="185px" Height="300px" emptyMessage="Click to change Specialties" >
<ItemTemplate>
<asp:CheckBox ID="chkSpecialty" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" AutoPostBack="true"></asp:CheckBox>
<asp:Label ID="lblSpecialty" runat="server" AssociatedControlID="chkSpecialty"><%#Eval("Specialty") %></asp:Label>
</ItemTemplate>
</telerik:RadComboBox>
<
telerik:RadGridView
Grid.Row
=
"1"
Grid.Column
=
"0"
x:Name
=
"DECategoryMapping"
CanUserReorderColumns
=
"True"
CanUserResizeColumns
=
"True"
CanUserSortColumns
=
"True"
AutoGenerateColumns
=
"False"
IsEnabled
=
"True"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Path=DENameList}"
Header
=
"Data Element"
></
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
UniqueName
=
"CategoryList"
Header
=
"Category List"
DataMemberBinding
=
"{ Binding Path=DElement.Category}"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:ListBox
x:Name
=
"lstCategory"
ItemsSource
=
"{Binding Path=Category}"
>
<
telerik:ListBox.ItemTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
CheckBox
x:Name
=
"chkIsActive"
IsChecked
=
"{Binding Path=IsActive, Mode=TwoWay}"
></
CheckBox
>
<
TextBlock
x:Name
=
"txtCategory"
Text
=
"{Binding Path=CategoryName, Mode=TwoWay}"
></
TextBlock
>
</
StackPanel
>
</
DataTemplate
>
</
telerik:ListBox.ItemTemplate
>
</
telerik:ListBox
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Hello I want to filter column in my grid with filtertempalte column including RadComboBox
the code look like this(i have already read the blogs and have seen the demos about filter template)
<telerik:GridTemplateColumn DataField="Obraz" Visible="false" Resizable="false" UniqueName="TemplateColumn"
AllowFiltering="true">
<FilterTemplate>
<telerik:RadComboBox ID="ComboFilterBox" runat="server" AppendDataBoundItems="true" OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged" DataTextField="Obraz" DataValueField="Obraz"
OnLoad="Combo_NeedDataSource" AutoPostBack="true">
<items>
<telerik:RadComboBoxItem />
</items>
</telerik:RadComboBox>
</FilterTemplate>
<ItemTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl="<%# bind('Obraz') %>" ForeColor="White" />
</ItemTemplate>
<HeaderStyle Width="170" />
<ItemStyle Width="170px" />
</telerik:GridTemplateColumn>
and then in Code-Behind I have placed the function
protected
void FilterCombo_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
string filterExpression;
filterExpression =
"([Obraz] = '" + e.Value + "')";
RadGrid1.MasterTableView.FilterExpression = filterExpression;
RadGrid1.MasterTableView.Rebind();
}
and then when I change the values in combobox i get the error
Sys.WebForms.PageRequestManagerServerErrorException: Expression expected
after Rebind.
Please help.
function RowClick(rowObject) // function to display details when click on Mr headers
{
document.getElementById("ctl00_PlaceHolderMain_inputPONumber").value = this.GetCellByColumnUniqueName (rowObject,"poNumber").innerText ;
}
after changing to Q3 2008 this code is not working. can you tel me instead of this which i can use.?