I'm working on a project in asp Webforms, but I am stuck and don't really know how to keep going. I have read and tried lot of things without any result, so I hope you can help me.
I have created my own Hyperlink class extended from "System.Web.UI.WebControls.HyperLink" with some new methods, witch will became a new asp tag <asp:***> . I would like to substitute my own tag for the original one using the same asp prefix: <asp:Hyperlink>.
Once I have added my namespace and the prefix to the web.config file and run my app I get the next error:
"The server tag 'asp:HyperLink' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix."
Don't know how to fix it, how can I change asp's own tag with mine? Does someone knows where asp's own tags namespace is? I hope I have explained myself and someone can help me.
Thanks in Advance.
Asier
Aucun commentaire:
Enregistrer un commentaire