Share via


custom control not showing in toolbox

Question

Friday, October 9, 2015 8:07 AM

I am using Visual studio 2012 and using Vb.net Language. But I am getting problem that when I am creating any new usercontrol it does not showing in my toolbox.  

Thanks

Shafiqul Alam 

Shafiqul Alam

All replies (1)

Thursday, October 29, 2015 6:09 AM âś…Answered

Hi Sumanfbc,

Thank you for posting in MSDN forum.

For your issue, please check the following:

(1)Go to Tools > Options > Windows Forms Designer > General

At the bottom of the list you'll find Toolbox > AutoToolboxPopulate which on a fresh install defaults to False. Set it true and then rebuild your solution. The user controls in you solution should be automatically added to the toolbox. You might have to reload the solution as well.

(2) If your User Control is in a library you can add this to you Toolbox using

Toolbox -> right click -> Choose Items -> Browse

Select your assembly with the User Control.

Hope this information is helpful.

Best Regards,

Jiayi Li

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.