I want to call a function in my Global.asax when the user closes his browser so I can delete a databse entry but how do I have to do this?
View Complete Post
Hi, whenever I load an aspx page in vwde2008, I get the message in the subject of this post. After I click Ok on that, I get a dialog box, Unable to Connect to the ASP.Net development center. What can I do to troubleshoot?
I am using Windows XP SP3, vwde2008 with SP1, on a HP desktop. Also using Office 2003 if that is relevant at all.
I have a button which starts processing.
I want that when ever a button is click from page1.aspx .. a count down timer should start and displayed on page2.aspx.
I am thinking of using iframe to join 2 pages.
Please let me know your suggestions.
VWD 2008 Express. Visual Basic.
I have seen pages on the net that when you try to navigate away, they pop up a message asking whether you really want to navigate away. How can I accomplish this to detect someone hitting the "page back" arrow in a browser or the "x" that closes a browser page or when someone tries to close a browser tab? Thanks for the help.
I want to catch the html button click event on a class file including html text box value..
<p><input name="" type="text" value="Enter Name*"/></p><p><input name="" type="text" value="Enter Email*"/></p>
<p> <input name="Input" type="submit" value="Submit" /></p>
plz tell me how can i do this..
I need some help regarding one issue I am facing. I created a httpmodule for hadling the unhandled errors and I need to log those errors using log 4 net in database.
Everting working fine but I am not getting any error information once the error was hadled and I need that info too. I want to make it as a centralize module which can trap all errors and log those errors.
How call application_error event of httpmodule from catch block...so that I can log that info there and I no need log in every catch block..
The scenario is I have multiple open browser window (IE or Firefox) then I want to close the specific browser individually.
I have tried to lookup the applications running from the task manager but I can't get the running application from the task manager > application > task.
I have added two references below to lookup the task running applications.
using System.Diagnostics;using System.Threading;
Anyone can help me on how to close individually the specific open browser window using c# code event.
I want to perform some session and application related activities on server side, when the close button of browser is clicked.
1. I have handled it using 'OnBeforeUnload' in body tag of master page
2. but it is getting fired for even if the end user navigates to other page.
3. so my requirement is to call the code on server side, only iff, the close button of the browser is clicked.
Thanks in Advance..
This is still unsolved problem. Because according to mudassarkhan, if i apply his solution, then everything is ok.
but when the page is regreshed, the value of clicked variable becomes false and undesired action happens once again.
Please come with some solution..guys..