High-level question about ASP.NET web controls..

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: RCS (rseder_at_gmail.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 16:21:01 GMT

I'm a bit of a noob when it comes to web controls... What I want to do, is
create web control that appears in the toolbox, that one could drag onto a
web page - and you'd see the actual control (e.g. what it will look like on
the resultant web page - much like how the datagrid looks).

If I use a "user control", it puts that grey box describing the control, and
you need to imagine what it will look like (yipee!)!

If I create a seperate "web control" project, and it creates the default
"WebCustomControl1.cs" - that adds to the toolbox, but just displays text.
And after scouring the net, looks like you'd need to manually create your
controls in text, which doesn't sound right.

Shouldn't I be able to WYSIWYG a control (and add my code behind it) and
make that available via the toolbox? The main thing I want is to see it in
design-time, and be able to manipulate the public properties...

What am I missing? Thanks!



Relevant Pages