Ask a Question related to ASP.NET General, Design and Development.
-
Antonio Maciel #1
ToolboxData attribute
Hi.
I have a custom control that inherits from an imagebutton and I am trying to
define some designer support for the control. I want to change the default
tag generated for the control from cc1: to idj: but my code seems not to
work. I set the Toolbox attribute before the class:
<ToolboxData("<{0}:idj runat='server'></{0}:idj>")> _
Public Class ImageDJ
Inherits ImageButton
......
......
End Class
I recompile the code but when I drop the control on a form it still appears
as cc1:ImageDJ. I have the two projects inside the same solution for testing
purposes. What am I doing wrong? Also, what exactly is the meaning of the
{0} element on the attribute?
Thanks,
Antonio Maciel
Antonio Maciel Guest
-
Add attribute to tag
What files do i look for to modify to add attributes to a tag? I want it to suggest more attributes when i open specific tags. I've been trying to... -
Retrive data from attribute spaced attribute.
Hi. I'm retrieving data from an excel sheet. But one of the attributes is name "Phone private". This is a problem when I want to write out the... -
ToolboxData Issue
Hi guys, I have problem about the ToolboxData attribute. I created a custom web control and attached this attribute to a class, however, it did... -
Retrieving XML attribute using XML::XPath::Node::Attribute
Hi I am trying to retrieve an attribute of a particular node from my XML using "XML::XPath::Node::Attribute", but couldn't come across on how to... -
Add Attribute to <TD>
Does anybody know how to add the html 'nowrap' attribute to a particular column in a datagrid? This doesn't work, because I suspect the...



Reply With Quote

