I have an asp:table in a webpartzone that contains a textbox and button and an asp:gridview in another webpartzone. When the user inputs data in the textbox and clicks the button, it inserts into an sql table. The gridview displays data in the sql table. The gridview is using an sqldatasource.
I've added gridview.databind() to the buttons click event to refresh the gridview in the webpartzone once data is inserted. This works fine in debug mode, but once I publish the site the gridview will not refresh. If I reopen the browser the data is displayed in the gridview so I know the data is getting inserted. It just won't refresh.
Any ideas why this works in debug mode but not live. Thanks
I've added gridview.databind() to the buttons click event to refresh the gridview in the webpartzone once data is inserted. This works fine in debug mode, but once I publish the site the gridview will not refresh. If I reopen the browser the data is displayed in the gridview so I know the data is getting inserted. It just won't refresh.
Any ideas why this works in debug mode but not live. Thanks