I have a query that takes about 1.5 minutes in my datasource. It's not a large amount of data just an SSAS query that takes a while to process.
I am calling Rebind immediately after assigning datasource.
Rebind throws a timeout error at Rebind:
GridGSRComp_DataSource = new SqlDataSource(GetConnectionString()+";Connect Timeout=3000; pooling='true'; Max Pool Size=200", "GetGSRComparison " + Convert.ToInt32(ddlViewBy.SelectedValue) + ", " + Convert.ToInt32(calFrom.SelectedDate.Value.ToString("yyyyMMdd")) + ", " + Convert.ToInt32(calTo.SelectedDate.Value.ToString("yyyyMMdd")));
grdGSRComp.Rebind();
As you can see I'm setting it in the Connection string, but this does not help.
Can I set a timeout somewhere else in the radgrid or somewhere that rebind references?
Thanks!
I am calling Rebind immediately after assigning datasource.
Rebind throws a timeout error at Rebind:
GridGSRComp_DataSource = new SqlDataSource(GetConnectionString()+";Connect Timeout=3000; pooling='true'; Max Pool Size=200", "GetGSRComparison " + Convert.ToInt32(ddlViewBy.SelectedValue) + ", " + Convert.ToInt32(calFrom.SelectedDate.Value.ToString("yyyyMMdd")) + ", " + Convert.ToInt32(calTo.SelectedDate.Value.ToString("yyyyMMdd")));
grdGSRComp.Rebind();
As you can see I'm setting it in the Connection string, but this does not help.
Can I set a timeout somewhere else in the radgrid or somewhere that rebind references?
Thanks!