-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: praveendotnet123
Message 2 in Discussion


 The event fired when back button of browser 
clicked is onunload(), you can handle this...  a silly sample code 

 
can chanage the curloc to your wish.. to redirect 
the user
 
 
</head>
<script 
language="javascript">
 
function dont_go_back()
 
{
alert("i will not go back")
var 
curloc= location.pathname
alert (curloc)
window.location= 
curloc
 
}
 
</script>
</head>
 
<body onunload="dont_go_back()" 
>
 
<form>
<input type=text 
>
 
</form>
 

</body>
 
 Asp.net runtime will store all the events in 
webUIvalidation.js at client side you can check that.
 
when you use validations controls .. the properties 
for error message you set is send to the browser in form of javascript code 
which you can use it without going to server to display the error
 
 

  ----- Original Message ----- 
  From: 
  priyanka_dotnet 
  To: BDOTNET 
  Sent: Wednesday, June 23, 2004 11:18 
  AM
  Subject: Validation control event
  

  
    
      
      New Message on BDOTNET
    
      

  Validation control event


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: priyanka_dotnet 
            
              

                Hi 
                 
                Please tell me 
                1. which clientside event is fired when we use validation 
                control . 
                 
                2. I don't want to use Validation summary control. I 
                want to display all the error message on label control. How can 
                i display those error message on label without posting page to 
                the erver. 
                 
                3. If press browser back button which event is fired 
                for last page. 
                 
                Thanks in advance 
                Priyanka
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to