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

New Message on BDOTNET

-----------------------------------------------------------
From: Mahesh_Naik
Message 3 in Discussion

Hi Taki,
After doing everything u need to do in the onclick event of the server side button 
click, Write the same code which you have mentioned in the window_onload event of the 
form.
I think that shld solve the prob.

Let me know if it works out.
Thanks
Mahesh

Hi Mahesh,
        Thanks for suggestion, and your code is working perfectly fine when i am 
putting an html button on the form and writing the code in the HTML , but my case is i 
have to write the code on the server side onclick event of webserver control of type 
button, because lot of other code has to be executed before going back on the last 
page.
 
so what would i do now , i have tried to put the following code on the click event of 
button:
 
Response.Write(" language='Javascript'>")

Response.Write("window.history.go(-1);")

Response.Write("</Script>")

 

but its not working. so please suggest me the way.

Regards

Taki


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

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