PostBackUrl to a new window?

binici

Active member
Joined
Sep 11, 2006
Messages
26
Programming Experience
Beginner
I am having some difficulties with this. I read somewhere to use this:

OnClientClick="window.document.forms[0].target='_blank';" PostBackUrl = "/_MembersOnly/MemberProfile/EditProfileRedirect.asp"

which works great, but when I close EditProfileRedirect.asp and then click on another link on the posting page, it opens the link clicked plus EditProfileRedirect.asp within a new window?

Any ideas?
 
Within EditProfileRedirect.asp you have to put this javascript code to be executed on closing browser window.function fun(){ window.opener.document.forms[0].target=""; window.opener.document.forms[0].action="someotherurl"}
 
Back
Top