Author: msfit | Posted on: 7/25/2009 11:53:40 PM | Views : 965

I have a bug with HyperLink control:
In my page: www.mysite.com/catalogue/goods/misc/product1/ I want to make a link to www.mysite.com/catalogue/goods/misc/product2/
If I used only HTML I would write: <a href="../product2/">product2</a>
So, I write:
Controls.Add(new HyperLink() { ""../product2/", Text = "product2"});
But this makes an error: System.Web.HttpException.
Why?
Certainly, I can make an absolute link: /catalogue/goods/misc/product2/ but I d ...

Go to the complete details ...