Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
UPDATE A LABEL WHEN USING ULTRAWEBGRID WITH LOADONDEMAND=XML
posted

Hi,

I have a ultrawebgrid, which is set as 

ContractsGrid.Browser = BrowserLevel.Xml;
ContractsGrid.DisplayLayout.LoadOnDemand = LoadOnDemand.Xml;

for paging large number of rows.

My requirement is that when user changes the values in a row,

1.the changes are  saved to the database from the OnRowUpdate event on serverside. This works fine.

2.Display a label message saying the update was successful. Even though I update the label.Text inside the RowUpdate Event, it does not reflect on the front end. I believe this is because of the ajax callback within the grid, that is not really doing a complete postback.

If I change the loadondemand to NotSet, then it shows the label, but the grid load becomes extremely slow.

How I can update the label text, keeping the LoadOnDemand as xml itself?

I tried wrapping everything in WebAsyncRefreshPanel, leaving the LoadOnDemand as is, but it still did not help.

Please let me know soon what is a solution for this.

Parents Reply Children
No Data