all groups > asp.net building controls > september 2006 >
You're in the

asp.net building controls

group:

How do you deploy custom server controls?



How do you deploy custom server controls? Brennan Stehling
9/26/2006 9:24:37 AM
asp.net building controls: I have built custom server controls and as long as the library with
those controls is directly referenced by the web application in the
same Solution I can automatically see the controls in the toolbox.

How can I deploy controls so that Visual Studio will display them in
the toolbox without manually adding them?

Is there an installer I can use to deploy custom controls to Visual
Studio?

Brennan Stehling
http://brennan.offwhite.net/blog/
Re: How do you deploy custom server controls? Gaurav Vaish (www.EduJiniOnline.com)
9/26/2006 11:20:51 PM
[quoted text, click to view]

Right click on the toolbar and select 'Add Items...'. Select the items (you
may need to browse to the assemblies, if need be) that you want to show on
the toolbars.


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

Re: How do you deploy custom server controls? Brennan Stehling
9/27/2006 10:29:17 PM
That is a manual process. I am talking about automatic discovery. How can
I get Visual Studio to scan the referenced assembly and add the found
controls to the toolbox? It works when you have the source solution for the
server control, but it should work without the source project.

In the AssemblyInfo I can set the TagPrefix attribute and then add
references to it in the Web.config in the controls and assemblies elements,
but doing not automatically add the controls to the toolbox. How can that
be done?

Brennan Stehling
http://brennan.offwhite.net/blog/


"Gaurav Vaish (www.EduJiniOnline.com)"
[quoted text, click to view]

Re: How do you deploy custom server controls? Brennan Stehling
9/28/2006 3:31:51 PM
I agree.

It seems that Visual Studio has partial support for it but never fully
implemented it.

Brennan Stehling
http://brennan.offwhite.net/blog/

[quoted text, click to view]
Re: How do you deploy custom server controls? Gaurav Vaish (www.EduJiniOnline.com)
9/28/2006 7:12:56 PM
[quoted text, click to view]

AFAIK, there's none.

I would probably be happier if somebody proves me wrong.


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

AddThis Social Bookmark Button