Fast way to include a Web User Control in a Web Form on Visual Studio
I know this way on Visual Studio 2008 :
write "somethings" when I'll to include the resource, click on Design
, drag and 开发者_如何学Godrop the Web User Control
and return to the Source
.
I'd like to know if I can do it without use the Design
area, maybe some buttons like CTRL and than drag and drop directly on the Source
area.
Is it possible? Or do you know other ways? Thanks
You can/must compile your web user control separately, then it is possible to add it to your toolbox via Choose Items... and locating the dll.
Then you can drag the control directly to source like you would any other control.
精彩评论