PostBackUrl to a new window problem!

Discussion in 'C#' started by binici, Jan 8, 2007.

  1. #1
    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?
     
    binici, Jan 8, 2007 IP
  2. intothemiddle

    intothemiddle Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could try something like:

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

    And see if that helps.
     
    intothemiddle, Jan 23, 2007 IP