Custom Control Designers : Design-time HTML
page 3 of 8
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 34314/ 79

The ControlDesigner

The ControlDesigner

The ControlDesigner class has several functions, which we will be using which I will go over briefly now.
 

  • GetDesignTimeHTML - This function returns a string of HTML,
    This is used by VS.NET (or other host) to render the control at design-time.

  • GetEmptyDesignTimeHTML - This function returns no HTML or HTML
    for an empty control (I will go over this in more depth later.

  • GetErrorDesignTimeHTML - This function returns the HTML to
    render when there is an error in displaying one of the other two. The
    default is the standard error message (which I'm sure you've seen).


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-10-15 11:46:38 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search