NavigateUrl mailto relative URi error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following control in mailtowebmaster.acsx

<%@ Control Language="VB" AutoEventWireup="false"
ClassName="MailtoWebmaster" %>
<%@ Register tagPrefix="Club" Namespace="ClubSite" %>

webmaster</asp:HyperLink>
</div>

When I use it in a page:

<Club:MailtoWebmaster id="MailtoWebmaster1" runat="server"
</Club:MailtoWebmaster>

It does display it correctly in the browser but when I view the page in
VStudio 2005 Design mode an error is displayed:

Error RenderibfControl - Mailto
A relative URI cannot be created because 'uriString' parameter represent an
absolute URI.

If I change the URL from mail to to some absolute web site it does not
display the error.

How can I fix this?


Ron
 
Back
Top