set filters on ServerSide

3 replies. Last post: November 2, 2009 5:11 AM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi,


on client side I have used the following code to set filters programmaticaly, it works fine.

var newFilter = new WebGridFilter(); // create new Filter configuration
newFilter.ColumnMember = "ProductNumber";
newFilter.FilterType = "EqualTo";
newFilter.FilterText = rowObj.GetCell('productid').Text;

grid2.RootTable.FilteredColumns.Add(newFilter);
grid2.RootTable.UpdateUI();
grid2.Refresh(); // apply changes


Now I need to perfom the same on serverSide, in this case I do not know perform the following Instrunction grid2.RootTable.UpdateUI(); on server side.


Thanks,


Vince

All times are GMT -5. The time now is 3:49 AM.
Previous Next