Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server controls creation
Message
From
20/05/2004 12:24:13
 
 
To
19/05/2004 09:53:41
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00905261
Message ID:
00905679
Views:
18
Rex,

>All,
>
>I have created a Web server control, but when I drop it on a form, the contained controls do now show in the designer. Is this by design or is there some property/method I need to set/override to alllow the contained ASP.Net control to show in the designer?
>

AFAIK, the IDE can not display user controls at design time, only run time. But, if you create composite custom controls, they can be displayed at design time. Because composite controls use their base class's 'render' method they will be displayed.

To make custom controls display in the IDE, change a property of the control in code.
<Custom:mycompositecontrol id="mycontrol" runat="server" Text="0" />
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform