Hello Max
I'd like to know what's the difference between <a runat="server"
href="tmp.aspx"and <Hyperlink NavigateUrl="tmp.aspx"in
VisualStudio2005. What's the better chice?
That depents on what you are want to do.
A <a ... runat="server" /equals to the HtmlAnchor-Control.
That means in key difference, that you dont have any Styling possibilitys
out-of-the-box,
with properties.
Instead, you need to make use of <Control>.Attributes.Add(.... to accomplish
the same.
The second difference is, that the HtmlAnchor-Control doesnt support
Databinding at all.
If you dont need that both features, use an HtmlAnchor, that is faster that
HyperLink-Control.
--
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET