I write a custom StringFilter to use as filter control for string properties, I use bellow code to "GetQueryable" method :
public override IQueryable GetQueryable(IQueryable source)
string selectedValue = TextBox1.Text;
object value = selectedValue;
if (DefaultValues != null)
DefaultValues[Column.Name] = value;
return ApplyEqualityFilter(source, Column.Name, value);
the disatvantage of this method is user must enter whoul string to find...
can any body help me to change this method to work such as sql "Like" method instead of equality ?
View Complete Post