I Preferred this method for adding delay to highligh effect. When user onmouseouting of gridview highlight delayin 1000ms.
Can you help me for this ?
When page loading everything is working fine. But when checking row (postback) highlight dont work!
I tried to register script but did not help.
<script>
function load() {
//register the handler
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
}
//this handler will execute after a partial postback
function EndRequestHandler(){
//...arbitrary code...
}
window.onload = load;
</script>
omerdemir
Member
271 Points
528 Posts
Re: JavaScript Function Dont Work After PostBack!
Apr 30, 2012 07:14 AM|LINK
Thank you for reply Nilsan!
I Preferred this method for adding delay to highligh effect. When user onmouseouting of gridview highlight delayin 1000ms.
Can you help me for this ?
When page loading everything is working fine. But when checking row (postback) highlight dont work!
I tried to register script but did not help.
<script> function load() { //register the handler Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); } //this handler will execute after a partial postback function EndRequestHandler(){ //...arbitrary code... } window.onload = load; </script>