S
shapper
Hello,
I created an Asp.Net 2.0 which contains a custom control.
I compiled the project and now I am using it in a web site.
The custom control contains a Panel, a Label and an Image.
Here is how the custom control code starts:
' Assembly Tag Prefix
<Assembly: TagPrefix("ByMe.Web.UI.WebControls", "ByMe")>
' -- [Namespace] -------------------------------------------
' WebControls
Namespace WebControls
' -- [Classes] -------------------------------------------
<Themeable(True), DefaultProperty("ID"), ToolboxData("<{0}:Feedback
runat=server></{0}:Feedback>")> _
Public Class Feedback
Inherits WebControl
Implements INamingContainer
...
I tried to add this custom control to my web site skin file:
<ByMe:Feedback runtat="server" />
However, I get the following error when I run the web site:
Parser Error Message: Literal content ('<ByMe:Feedback
runtat="server" />') is not allowed within a 'skin file'.
Does anyone has any idea why is this happening?
Thank You,
Miguel
I created an Asp.Net 2.0 which contains a custom control.
I compiled the project and now I am using it in a web site.
The custom control contains a Panel, a Label and an Image.
Here is how the custom control code starts:
' Assembly Tag Prefix
<Assembly: TagPrefix("ByMe.Web.UI.WebControls", "ByMe")>
' -- [Namespace] -------------------------------------------
' WebControls
Namespace WebControls
' -- [Classes] -------------------------------------------
<Themeable(True), DefaultProperty("ID"), ToolboxData("<{0}:Feedback
runat=server></{0}:Feedback>")> _
Public Class Feedback
Inherits WebControl
Implements INamingContainer
...
I tried to add this custom control to my web site skin file:
<ByMe:Feedback runtat="server" />
However, I get the following error when I run the web site:
Parser Error Message: Literal content ('<ByMe:Feedback
runtat="server" />') is not allowed within a 'skin file'.
Does anyone has any idea why is this happening?
Thank You,
Miguel