Hi Guys,
In my page whenever the user leaves the page I want to save all the data. So onbeforeunload event I call __dopostback('butUpdate',''). I have written a javascript function
function __dopostback(eventTarget,eventArgument) {
var theform = document.Form1;
theform.__EVENTTARGET.value =...