Without seeing the rest of your code try adding runat="server" after 
Target="_blank" and make sure you have <form>....</form> tags around it.
----- Original Message ----- 
From: "sas0riza" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 09, 2005 10:14 AM
Subject: [AspNetAnyQuestionIsOk] hyperlink control vs. <a href>


> Hello,
>
> I would like to change the following line:
>
> <a class="SiteLink" href="<%= Global.GetApplicationPath(Request) %
>>/Docs/Docs.htm" target="_blank">Documentation</a>
>
> -TO-
>
> <asp:HyperLink id="Documentation" runat="server" cssclass="SiteLink"
> NavigateUrl="<%= Global.GetApplicationPath(Request) %
>>/Docs/Docs.htm" Target="_blank">Documentation</asp:HyperLink>
>
> Are these lines the same?
>
> For some reason, the second line gives me an error when I click on
> the link:
>
> Server Error in '/' Application.
> ---------------------------------------------------------------------
> -----------
>
> HTTP Error 400 - Bad Request.
>
> ---------------------------------------------------------------------
> -----------
> Version Information: Microsoft ASP.NET Web Matrix Server 0.6.0.0
>
>
> Any advice is greatly appreciated.
>
> Thanks.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to