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): 56458/ 76

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-2014 ASPAlliance.com  |  Page Processed at 4/18/2014 7:15:00 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search