This is a migrated thread and some comments may be shown as answers.

RadGrid updates on one server, but not on another

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason Fisher
Top achievements
Rank 1
Jason Fisher asked on 25 Jan 2011, 09:15 PM
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.

1 Answer, 1 is accepted

Sort by
0
Jason Fisher
Top achievements
Rank 1
answered on 25 Jan 2011, 09:43 PM
Please disregard. I determined the cause of the behavior, and it was not an issue with the Telerik controls. Sorry for the distraction. Please feel free to delete this entire thread.
Tags
Grid
Asked by
Jason Fisher
Top achievements
Rank 1
Answers by
Jason Fisher
Top achievements
Rank 1
Share this question
or