[CLOSED] Hyperlink's HrefTarget doesn't work

  1. #1

    [CLOSED] Hyperlink's HrefTarget doesn't work

    Hyperlink's HrefTarget is not honored.
    <!DOCTYPE html>
    <html>
    <head runat="server">
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:Hyperlink Text="Ext.NET" NavigateUrl="http://www.ext.net" HrefTarget="_blank" runat="server" />
    </body>
    </html>
    Thanks in advance.
    Last edited by Daniil; Mar 20, 2015 at 1:18 PM. Reason: [CLOSED]
  2. #2
    Hi Raphael,

    Please use the Target property instead of HrefTarget.
  3. #3
    Please use the Target property instead of HrefTarget.
    Yes, it works.

    But, in my opinion, there is a discrepancy between Hyperlink and HyperLinkbutton. On the first we have to use Target property, on the second we have to use HrefTarget. What is your opinion about that?
  4. #4
    Agree, there is an inconsistency. Though, personally I am reluctant either:

    - To introduce a new property and have two properties for the same thing

    or

    - Remove/rename the existing ones and have a breaking change.
  5. #5
    Agree, there is an inconsistency. Though, personally I am reluctant either:

    - To introduce a new property and have two properties for the same thing

    or

    - Remove/rename the existing ones and have a breaking change.
    I agree. Leave it as is. If anyone report any trouble we can point to this thread or implement one of the solutions provided above.

    Please mark this thread as closed.

Similar Threads

  1. Replies: 3
    Last Post: Feb 02, 2015, 5:32 AM
  2. [CLOSED] hyperlink on GridPanel
    By cobiscorp in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 14, 2012, 11:22 AM
  3. [CLOSED] Hyperlink Client API?
    By jwf in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 22, 2012, 9:11 PM
  4. [CLOSED] Hyperlink Example
    By trezv in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 20, 2012, 2:41 PM
  5. [CLOSED] Hyperlink Bug
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 23, 2011, 8:28 AM

Posting Permissions