Reputation: 597
I am using a Radgrid in my page. There is a Refresh button in the page to refresh the page to see changes done by other users. I have so many functional buttons in the page (e.g.: mail sending, assigning a row etc…).During other processes if I click refresh button, will it affect the current processes? Is there any chance of data mix up?
Upvotes: 1
Views: 26
Reputation: 34846
If you are doing asynchronous calls, then you will have a very good chance of not mixing up data. The issue that might arise is that if you do this client-side via jQuery, then the async call might not make it back to the success/completed handler of the jQuery .ajax()
function, especially if you navigate away from the page, but the server-side operation will continue its work.
You should send emails asynchronously when possible, using SmtpClient.SendAsync Method (MailMessage, Object).
Upvotes: 1
Reputation: 3740
It depends on your code.You have to handle each and every process safely,so that it may not mix up with other process.
Upvotes: 1