(Mike Moore [MS])
1/4/2003 3:10:00 AM
Hi Al,
I'm looking into your question. I'm not sure that we can solve this within
the scope of newsgroup support, but we will try. Since this is a complex
question, I may not have any additional news for you until Tuesday.
Thank you, Mike Moore
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
>From: "Al" <al@nospam.nospam>
>Subject: Dynamically creating HTML text on the aspx page at design time
>Date: Tue, 31 Dec 2002 16:07:22 -0600
>Lines: 26
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Message-ID: <O6nePdRsCHA.856@TK2MSFTNGP12>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
>NNTP-Posting-Host: tconl16903.tconl.com 63.224.169.3
>Path: cpmsftngxa09!TK2MSFTNGP08!TK2MSFTNGP12
>Xref: cpmsftngxa09
microsoft.public.dotnet.framework.aspnet.webcontrols:8135
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
>
>I'd like to create a custom web control that when I drag it from the
toolbox
>onto the web form designer, it will add more code than just the <%@
Register
>tag.
>
>Similar to what the ToolBoxData attribute does, but more extensive. I've
>tried doing this using ToolBoxData, but it doesn't work like I need it to.
>
>
>I've looked at the Control Designer and template controls, but the methods
>like Render() all generate design time HTML for display on the design
>pallette.
>
>I want to dynamically create HTML and possibly some ECMA script at design
>time that is written on to the aspx page, similar to how a Visual Studio
>macro would work, except by using a server control, the programmer would
>have the ability to set properties, etc.
>
>Any suggestions on an approach?
>
>
>
>
>
>
>
>
>