I'm looking for any suggestions as to what might be going on here. I have a LinkButton that causes data to be inserted into a SQL Server database (via stored procedure), then calls Rebind and DataBind on a RadGrid, which should now show a new row. This page works perfectly on my local computer, but when I promote the code to our production server, the RadGrid does not automatically update -- even though the code is identical. The row is being inserted into the databases, and if I reload the page, the new row shows up in the RadGrid. It's just not showing up immediately and automatically as it should. Again, the identical code is working perfectly on another machine. All the things I can think of checking, and have checked (e.g., that the LinkButton was ajaxified to cause the RadGrid to update), would cause it to fail in both places. But it's working on one server, just not on another.
Any thoughts? I wondered whether the calls the Rebind and DataBind were occurring too quickly, before the row was fully committed into the database, and one server was faster than the other. But I don't see how this could be the case. I'm not doing the database call on a separate asynchronous thread or anything. Plus, this is a page we upgraded from an old version of the Telerik controls (pre ASP.NET AJAX), and it was working fine in the old version too with the old RadGrid and the same stored procedure.
Any ideas? Since I cannot reproduce the behavior locally, I'm totally at a loss for what might be going on.
Any thoughts? I wondered whether the calls the Rebind and DataBind were occurring too quickly, before the row was fully committed into the database, and one server was faster than the other. But I don't see how this could be the case. I'm not doing the database call on a separate asynchronous thread or anything. Plus, this is a page we upgraded from an old version of the Telerik controls (pre ASP.NET AJAX), and it was working fine in the old version too with the old RadGrid and the same stored procedure.
Any ideas? Since I cannot reproduce the behavior locally, I'm totally at a loss for what might be going on.