Need to keep source window open after Hyperlink is activated

Discussion in 'ASP .Net Web Controls' started by Paul Reed, May 31, 2006.

  1. Paul Reed

    Paul Reed Guest

    Hello,

    I am using VS2003 and VB.NET. I have a hyperlink web control that I
    dynamically build the NavigateURL property for from within my app (set it an
    rtf file based on info in my webconfig file). My problem is, when the user
    selects the hyperlink, they are prompted with the standard file dialog (i.e.,
    open, save, close). If the user selects open, Word is launched and they can
    print their labels...the negative is...when word opens it also closes my aspx
    page that had the hyperlink on it...how can I avoid closing the aspx page?

    Thanks in advance,

    Paul Reed


    ---------------------------------------
    Jackson-Reed, Inc. www.jacksonreed.com
    Paul Reed, May 31, 2006
    #1
    1. Advertising

  2. Paul Reed

    Guest

    The parent window should not be closed if you set the hyperlink's
    Target property to "_blank" which opens the document in a new window.

    Regards,
    Andy

    Paul Reed wrote:
    > Hello,
    >
    > I am using VS2003 and VB.NET. I have a hyperlink web control that I
    > dynamically build the NavigateURL property for from within my app (set it an
    > rtf file based on info in my webconfig file). My problem is, when the user
    > selects the hyperlink, they are prompted with the standard file dialog (i.e.,
    > open, save, close). If the user selects open, Word is launched and they can
    > print their labels...the negative is...when word opens it also closes my aspx
    > page that had the hyperlink on it...how can I avoid closing the aspx page?
    >
    > Thanks in advance,
    >
    > Paul Reed
    >
    >
    > ---------------------------------------
    > Jackson-Reed, Inc. www.jacksonreed.com
    , May 31, 2006
    #2
    1. Advertising

  3. Paul Reed

    Paul Reed Guest

    Andy,

    Thanks...that did the trick!!

    Paul

    ---------------------------------------
    Jackson-Reed, Inc. www.jacksonreed.com


    "" wrote:

    > The parent window should not be closed if you set the hyperlink's
    > Target property to "_blank" which opens the document in a new window.
    >
    > Regards,
    > Andy
    >
    > Paul Reed wrote:
    > > Hello,
    > >
    > > I am using VS2003 and VB.NET. I have a hyperlink web control that I
    > > dynamically build the NavigateURL property for from within my app (set it an
    > > rtf file based on info in my webconfig file). My problem is, when the user
    > > selects the hyperlink, they are prompted with the standard file dialog (i.e.,
    > > open, save, close). If the user selects open, Word is launched and they can
    > > print their labels...the negative is...when word opens it also closes my aspx
    > > page that had the hyperlink on it...how can I avoid closing the aspx page?
    > >
    > > Thanks in advance,
    > >
    > > Paul Reed
    > >
    > >
    > > ---------------------------------------
    > > Jackson-Reed, Inc. www.jacksonreed.com

    >
    >
    Paul Reed, Jun 1, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Max-Ph. Blickenstorfer
    Replies:
    2
    Views:
    2,322
    Max-Ph. Blickenstorfer
    Jan 29, 2004
  2. =?Utf-8?B?U3Rhbg==?=
    Replies:
    1
    Views:
    359
    Steven Cheng[MSFT]
    Feb 27, 2004
  3. Sveta
    Replies:
    1
    Views:
    290
    Darryl L. Pierce
    Apr 21, 2004
  4. Replies:
    0
    Views:
    686
  5. OllieZ

    same menu point is activated

    OllieZ, Aug 25, 2005, in forum: Python
    Replies:
    2
    Views:
    320
    OllieZ
    Aug 26, 2005
Loading...

Share This Page