System.Web.UI.WebControls.HyperLink

Discussion in 'ASP .Net Web Controls' started by Sal, Jun 9, 2004.

  1. Sal

    Sal Guest

    Hello All,
    In using a Hyperlink web control, by specifying the target to be '_blank',
    NavigateURL property will open the link in a new page. Is there a way to
    specify the dimensions on the new browser window in code? I am using VB.NET.

    I'd appreciate any help.

    Sal
    Sal, Jun 9, 2004
    #1
    1. Advertising

  2. Yes there is. You should manually create javascript to open a new window
    with a normal A tag and not with a hyperlink server control, because you
    don't have to handle server events. And you'll save some server resources
    because of that too.

    --
    RobertK
    { Clever? No just smart. }


    "Sal" <> wrote in message
    news:...
    > Hello All,
    > In using a Hyperlink web control, by specifying the target to be '_blank',
    > NavigateURL property will open the link in a new page. Is there a way to
    > specify the dimensions on the new browser window in code? I am using

    VB.NET.
    >
    > I'd appreciate any help.
    >
    > Sal
    >
    >
    Robert Koritnik, Jun 10, 2004
    #2
    1. Advertising

  3. Sal

    Sal Guest

    Thanks.

    "Robert Koritnik" <> wrote in message
    news:...
    > Yes there is. You should manually create javascript to open a new window
    > with a normal A tag and not with a hyperlink server control, because you
    > don't have to handle server events. And you'll save some server resources
    > because of that too.
    >
    > --
    > RobertK
    > { Clever? No just smart. }
    >
    >
    > "Sal" <> wrote in message
    > news:...
    > > Hello All,
    > > In using a Hyperlink web control, by specifying the target to be

    '_blank',
    > > NavigateURL property will open the link in a new page. Is there a way to
    > > specify the dimensions on the new browser window in code? I am using

    > VB.NET.
    > >
    > > I'd appreciate any help.
    > >
    > > Sal
    > >
    > >

    >
    >
    Sal, Jun 12, 2004
    #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. Matt
    Replies:
    2
    Views:
    826
    Matt Getting
    Jul 24, 2003
  2. =?Utf-8?B?U0FM?=

    Need Help with System.Web.UI.WebControls.HyperLink

    =?Utf-8?B?U0FM?=, Feb 1, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    512
    Nathan Sokalski
    Feb 3, 2006
  3. byrd48
    Replies:
    0
    Views:
    3,547
    byrd48
    Jul 6, 2006
  4. Chris
    Replies:
    1
    Views:
    947
    Teemu Keiski
    Feb 12, 2007
  5. Andy B
    Replies:
    2
    Views:
    3,132
    Andy B
    Apr 23, 2008
Loading...

Share This Page