on my aspx page i have
<custom:CustomFilter DataField1 = "Name" DataField2="LastName"
HeaderText="Name"
CurrentFilterFunction="Contains"
UniqueName="UserName"
AutoPostBackOnFilter="True">
<ItemTemplate>
<asp:Literal ID="Literal1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>'></asp:Literal>
<asp:Literal ID="Literal2" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "LastName") %>'></asp:Literal>
</ItemTemplate>
</custom:CustomFilter>
The issue comes when i try to use filterexpression
RadGrid1.DataSource = Data.GetAll();
string test = "(([LastName] LIKE \'%" + txtFilterBox.Text + "%\') OR ([Name] LIKE \'%" + txtFilterBox.Text + "%\'))";
RadGrid1.MasterTableView.FilterExpression = test;
RadGrid1.Rebind();
its probally wrong the way i use the filterexpression but how I should use it with 2 parameters, cant find a simmilar example :)