Creating Multi-Language Custom Control
page 6 of 8
by Abdulla Hussein AbdelHaq
Average Rating: 
Views (Total / Last 10 Days): 36420/ 66

Supporting HTML Design-Time

Listing 10

Public Class MultiLangDesginTime Inherits ControlDesigner
  Public Overloads Overrides Function GetDesignTimeHtml() As String
  Return "<span style='font-family:Verdana;font-size:10pt'>[ MultiLang Design-Time
  End Function
End Class

Multi-language custom control has as Design-Time class as you see in Figure 6. So nothing will be visible at design-time, which makes designing the page much easier. As you saw in Listing 1, we are assigning the Design-Time class by Designer(GetType(Class Name)) attribute typically over the CustomMultiLang class.

Figure 6

View Entire Article

User Comments

Title: Good Article   
Name: Vagueraz
Date: 2008-07-04 5:03:31 AM
Very Good and Strong Article , and it's not only useful for devlopers also for end-users ....
Title: Outstanding Work   
Name: Jean-Pierre Jamous
Date: 2008-07-02 10:01:11 PM
Extremely nice. It comes handy for developers. You've done a tremendous job at it. Keep up the great work.
Title: Very good article   
Name: Anas al-qudah
Date: 2008-07-02 4:03:52 AM
It's realy Very good article and help me.
Thanks thanks alot.

Product Spotlight
Product Spotlight 

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

©Copyright 1998-2023  |  Page Processed at 2023-03-22 3:18:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search