Friday, April 23, 2010

how to fix Port no in asp.net application ?

some times we do not want to publish the Application in IIS due to some reasons . and Port no changes automatically (when system restated suddenly or any other issue) then your Web services ref. would be remove or other ref which is based on Port no. so avoiding this situation we can set the port no .


Select Asp.net Application and Press f4
"Use Dynamic Port" = False
and Specify your port. like "1111"
save and Press F5

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