how to determine if user left our site

We’re tryin to implement some kind of feedback, which I saw in MSDN web-site. More concrete when user first enters to our site, I want to show a pop-up which will ask user to leave comment rite before he would leave our web-site, and depending on user’s answer( it would be some kind of confirmation box with Yes and No), I want to open a pop-up with TextBox for user to leave a feedback. I’ve searched for this in internet, but all of ’em was about handling window.onload event, the problem is we have more than one page, so I won’t be able to determine if user requests another page in our web-site or redirects to another web-site.
So this is my problem, any suggestions? We’re using asp.net.
Thanx beforehand.

Eval() display custom value if null

<td> <asp:Label ID="TypeOfPaintingLabel" runat="server" Text='<%# Eval("TypeOfPainting") %>' /> </td> Does anyone know how this works? I want to display “NA” if there is no value provided to TypeOfPainting. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat … Read more

How to handle many to many same table (User) in ASP.Net MVC 5 – Fluent API

I am learning ASP.Net MVC 5 and I am stuck with one basic DB Design.
So, I have one User which can refer many person in job
Also, many person can apply to get themselves Referred. I have created two roles and all of that is taken care. Now, I have on class called Referral which will keep track of every instance of Referral that needs to be done.

Connect to Access database remotely

I am trying to connect to my access databse that I have hosted with godaddy. I have ASP 3.5, Php 5.2, and IIS 7. I have gone and set up a virtual directory in my IIS settings for the vb script. I am using Microsoft Visual Web Developer 2008. Could anyone please let me know if they see something wrong with my connection string to the remote database? I really need to use Access for this. Thanks