Hi,
I wonder if this has been discussed before but after going through all the threads I still have this below mentioned issue unresolved
Scenario:
I have 4 Combo boxes and 2 datapicker controls on the page.
There are Submit and cancel buttons right below the above mentioned controls.
Functionality of the Page:
All the combo boxes are intially loaded with data. the 3rd combo box has 6000 records in it.
When the first combo is selected, it reloads the 2nd conbo and when a value from 2nd combo is selected then the 3rd combo is reloaded based on the values selected from the previous combos.
The 4th combo is independent and loaded when the page loads.
Problem:
When I run this page without adding ajax to the combo boxes, the page runs fast and as know it refresh and appears again with the selected data.
When I add ajax to these combo boxes as in the sequence they update, selecting the first combo updates the 2nd combo in 3 sec and selecting the 2nd combo updates the 3rd combo in 20 sec.
Question:
Why is this happening on adding ajax to the page? Is it happenign because of the record size of the third combo box? But still it should not be taking 20sec to do it.
Attime I see that it only happens when the combo boxes are seletc for the first time. Later when the are selected for 2nd or 3rd time then the workign is fast.
Few Details about the page:
> The page uses a master page
> I'm using RadAjaxManger and RadLoadingPanel (I used RagAjaxProxyManger but no use. The page reloads again and its not what I'm looking for)
> All the controls are put in a table and this table is in a Panel and the RadAjax controls are outside the panel
> The widths and heights are given in terms of pixels
> No layout is chosen for the table
> There are 2 image buttons on the page which on clicking opens a dialogue box using javascript
> All the datasources are loaded at the codebehind
With this information can you please tell why this is happening. There are other scenarios too where in updating date fields on a button click is also slowed by adding the ajax to the button and the datapicker fields to be updated.
I have problem understanding why adding ajax slows my page so badly
Please let me know and please do ask if you need any more information.
Thanks in Advance
Sowji
I wonder if this has been discussed before but after going through all the threads I still have this below mentioned issue unresolved
Scenario:
I have 4 Combo boxes and 2 datapicker controls on the page.
There are Submit and cancel buttons right below the above mentioned controls.
Functionality of the Page:
All the combo boxes are intially loaded with data. the 3rd combo box has 6000 records in it.
When the first combo is selected, it reloads the 2nd conbo and when a value from 2nd combo is selected then the 3rd combo is reloaded based on the values selected from the previous combos.
The 4th combo is independent and loaded when the page loads.
Problem:
When I run this page without adding ajax to the combo boxes, the page runs fast and as know it refresh and appears again with the selected data.
When I add ajax to these combo boxes as in the sequence they update, selecting the first combo updates the 2nd combo in 3 sec and selecting the 2nd combo updates the 3rd combo in 20 sec.
Question:
Why is this happening on adding ajax to the page? Is it happenign because of the record size of the third combo box? But still it should not be taking 20sec to do it.
Attime I see that it only happens when the combo boxes are seletc for the first time. Later when the are selected for 2nd or 3rd time then the workign is fast.
Few Details about the page:
> The page uses a master page
> I'm using RadAjaxManger and RadLoadingPanel (I used RagAjaxProxyManger but no use. The page reloads again and its not what I'm looking for)
> All the controls are put in a table and this table is in a Panel and the RadAjax controls are outside the panel
> The widths and heights are given in terms of pixels
> No layout is chosen for the table
> There are 2 image buttons on the page which on clicking opens a dialogue box using javascript
> All the datasources are loaded at the codebehind
With this information can you please tell why this is happening. There are other scenarios too where in updating date fields on a button click is also slowed by adding the ajax to the button and the datapicker fields to be updated.
I have problem understanding why adding ajax slows my page so badly
Please let me know and please do ask if you need any more information.
Thanks in Advance
Sowji