Suppose 2 users logged in from 2 different locations and seeing the same data
For example 1 user updates the data and close him browser.
Whereas the second user is still in the same page with refreshing it.
How can we alert the user saying that the data you are seeing is already updated.
Loading

Lakshmanan Sethu SankaranarayanPosted Apr 15, 2014, 8:06 AM
JyothiPosted Apr 15, 2014, 6:46 AM
I want to alert the user immediately after the data is updated in the DB.even when user is viewing the form not at the button click event.
Is it related to SqlCacheDependency??
Munesh SharmaPosted Apr 15, 2014, 6:35 AM
OnClientClick="return confirm('Are you sure you want to continue?');"So, added to your button
markup, it would look like this:
<asp:Button ID="Button5" runat="server" Text="Signed" Visible="False" onclick="Button5_Click" OnClientClick="return confirm('Are you sure you want to continue?');" />
JyothiPosted Apr 15, 2014, 6:26 AM
I am asking about a web application
Munesh SharmaPosted Apr 15, 2014, 6:19 AM