Hi infragistics team
I use a webscriptmanager in all pages, with webtabs and webdatagrids principally
When I issue an async postback for something like WebDataGrid CRUD, everything works as expected, but if I click some object (add row button, tab, select line, etc..) during the request, all further async postbacks seem unresponsive and the framework is stalled
I tried to debug all my user code which is pretty dense already, but there seems to be no interaction which could prevent async postbacks to work under these circumstances
What could be the cause?
Test scenario is the following:
Add a new row to a WebDataGrid, click a webtab tab or an add row button during async postback (while rotating symbol is displayed) then everyting is stalled and async postbacks don't work anymore... refreshing the page cures the problem
Thanks for your investigation
Hello Antoine ,
Thank you for posting in our forum.
In this test scenario is the WebGrid nested inside the WebTab?
In general there could be a problem only if the two ajaqx requests are attempting to update the same section of the page.
Since they’re asynchronous there’s no guarantee which one will return first and update that part of the page .
Could you also let me know which version of the asp.net controls you’re using and which Service release version? It would also be helpful to know if the issue is specific to any browser and it’s version.
I’m looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://es.infragistics.com/support
Hi Maya
The grid is nested into a webtab with multiple tabs
The scenario is identical with any combination of actions, there is no postback conflict, it is just the face that when you click in a page element which modifies DOM (displaying or hiding elements I guess) when the control expects some async return, it somewhat stalls the ajax engine
This is browser independent and version is 12.2
Hello Antoine,
We're still following your case. Have you been able to resolve the issue? If you have any further questions, please feel free to contact us.
Sincerely,
Tsanna
I’ve tested this on my side. To simulate a delay on the server I’ve tried setting
protected void WebDataGrid1_RowAdding(object sender, Infragistics.Web.UI.GridControls.RowAddingEventArgs e)
{
Thread.Sleep(3000);
}
In the 3 seconds in which the grid inside the tab waits for a response after adding a new row to it I’ve tried changing the active tab and didn’t encounter any issues.
I’ve tested this with the latest service release of 12.2.20122.2075.
Could you let me know if I’m missing anything from your scenario? I’m attaching the sample I tested on for your reference.