r.a.d.grid (third party component) problem
-
hi friends I am using third party control r.a.d.grid control . On a simple ascx user control i have registered it.Added dll in reference. and simply binded it with datasource as datatable coming frm database as follows but it didn't get displayed on the page. no error is coming while binding . still not displayed only. I have written it outside !Ispostback() condition still not working in page load event following code is written : DataSet ds_longtermRentals=new DataSet(); SHG_DAL.Longterm_rentals obj_longtermrentals=new Longterm_rentals(); ds_longtermRentals=obj_longtermrentals.LoadFirstLontermRentals(int.Parse(Session["LanguageID"].ToString())); if(ds_longtermRentals.Tables[1].Rows.Count>0) { DataTable dt= new DataTable(); dt=ds_longtermRentals.Tables[1]; if(dt.Rows.Count>0) { RadGrid1.DataSource = dt; RadGrid1.DataBind(); } } plz help. its urgent. regards,max
-
hi friends I am using third party control r.a.d.grid control . On a simple ascx user control i have registered it.Added dll in reference. and simply binded it with datasource as datatable coming frm database as follows but it didn't get displayed on the page. no error is coming while binding . still not displayed only. I have written it outside !Ispostback() condition still not working in page load event following code is written : DataSet ds_longtermRentals=new DataSet(); SHG_DAL.Longterm_rentals obj_longtermrentals=new Longterm_rentals(); ds_longtermRentals=obj_longtermrentals.LoadFirstLontermRentals(int.Parse(Session["LanguageID"].ToString())); if(ds_longtermRentals.Tables[1].Rows.Count>0) { DataTable dt= new DataTable(); dt=ds_longtermRentals.Tables[1]; if(dt.Rows.Count>0) { RadGrid1.DataSource = dt; RadGrid1.DataBind(); } } plz help. its urgent. regards,max