views:

4

answers:

0

I want to add a webcontrol to the web form designer in design-time, using Visual Studio 2008. I have the DTE object but I don't know how to get to the web-form-designer from there, and add the control at the end of the active document.

The result should be the same as drag-and-droping a control from the toolbox to the end of the active document, but programmatically, using the DTE object.

How can I accomplish this task?

Thanks!