Re: Derived BulletedList



Hi Andrew,

Regarding on the custom BulledList control that need an additional <div>
wrapper tag, I think your current implementation is reasonable. As for the
design-time error, it is actually due to the schema validation. Since your
custom BulletedList control's control tag hasn't been in the built-in aspx
control schema, when you add <asp:ListItem> tags into your custom
<cc1:MyBulletedList> tag, the IDE will report such design-time validation
error. This is an expected behavior for most custom controls which will
include other built-in control's inner tag as its own child tag element.
Anyway, I think you can simply ignore it as the runtime control since it
doesn't affect any of the runtime control lifecycle or processing.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: Menu control Databinding problem using StaticItemTemplate
    ... When I pass a Container.DataItem it's always a MenuItem object. ... As for adding custom attributes to ASP.NET 2.0 Menu control, ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: info
    ... Regarding on the creating a custom control contains GridView(with ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Custom content control
    ... I thought that there could be a way to register your content control, which renders as normal content control with arrow like Date Picker or Combo Box. ... also mapping between values and the xml file would have to be defined with the custom content control. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.office.developer.vba)
  • RE: Menu control Databinding problem using StaticItemTemplate
    ... As for adding custom attributes to ASP.NET 2.0 Menu control, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: FormView & object
    ... As for the ASP.NET FormView control, it is the same as normal databound ... you can supply a custom class instance as Datasource through its ... The difference here is that when you manually supply the custom data object ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)