1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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