Friday, April 16, 2010

Enable Basic Filter in RADGRID (Telrik Controls)

All Telrik Controls comes with rich functionalities . RADGrid is one of them controls with basic Filter option (OTB)
Step 1- AllowFilteringByColumn=”True”
Step-2- Add below events in code behind file

protected void myRADGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
Dataset ds=new Dataset();
// this ds, from your Bussisnes LogiC layer and Bind with RAD Grid Control
myRADGrid.DataSource =ds;
}

now Filter will work on RADGRID

No comments:

Post a Comment