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

Actually I found that if I overrdoe the Render method and executed the Render methods of the encapsulated controls, the custom control will render in the designer.

Thanks again

Rex

>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" />
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform