Hello,
I am using a RadDataForm to submit to a RadDataServiceDataSource. I have a redirect in order to refresh the page AFTER submit. For some reason when I click on OK to submit changes after an Edit form or New record is added, submit is not happening but redirect happens. Its as if the redirect is faster than the submit and it does not wait for the changes to be applied before redirecting.
I have tried to add this line below but it is not working.
Please help.
Note: If I remove the redirect, submit will work without issue. But I need the redirect as it served to refresh the page with the newly submitted data.
Thanks,
Jorge
I am using a RadDataForm to submit to a RadDataServiceDataSource. I have a redirect in order to refresh the page AFTER submit. For some reason when I click on OK to submit changes after an Edit form or New record is added, submit is not happening but redirect happens. Its as if the redirect is faster than the submit and it does not wait for the changes to be applied before redirecting.
I have tried to add this line below but it is not working.
Dispatcher.BeginInvoke(()=> { if (!dataServiceDataSource.IsBusy) HtmlPage.Window.Navigate(new Uri("site goes here"))});
Please help.
Note: If I remove the redirect, submit will work without issue. But I need the redirect as it served to refresh the page with the newly submitted data.
Thanks,
Jorge