.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Composite control in Visual Studio Toolbox

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :.NET Framework

Hi Friends,

I have developed a composite control in framework 2.0. I want when I add reference assembly(.dll) of composite control in any other project, it should automatically be added into visual studio toolbox so that I can drag-n-drop it any time. Currently I need to manually add control from Visual Studio > Toolbox > Choose Items.

Any solution?


View Complete Post

More Related Resource Links

Toolbox: Database and OR/M Tools, Oren Eini and Custom Visual Studio Tabs


This month we look at tools for enhancing the LINQ to SQL and Entity Framework designers, Oren Eini's .NET development blog, Visual Studio tab customization, and more.

Scott Mitchell

MSDN Magazine December 2009

Toolbox: Easy File Backup, Exploring Files And Folders Inside Visual Studio, Multiple Monitor Softwa


If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.

Scott Mitchell

MSDN Magazine May 2009

Toolbox: Microsoft Chart Controls, Visual Studio Automatic Code Snippets, And More


In this installment we look at the Microsoft Chart Controls; Snippet Designer, a free, add-in for Visual Studio 2008 for creating and editing Code Snippets; refactoring SQL applications; and this month's favorite blog.

Scott Mitchell

MSDN Magazine April 2009

Where is the Visual Studio 2008 Web Control Library Template


Does a project exist for grouping user controls? Visual Studio 2005 had this template but it does not appear to exist in 2008.

We will be creating several User Controls and would like them grouped accordingly.


Thanks in advance for any responses.

DataGrid is missing from Visual Studio 2010 Toolbox

My machine is a Windows Server 2008 Standard Edition. I am trying to convert an existing project to .NET 4 with Visual Studio 2010 Professional. All updates and service packs are applied. My project is a WPF Forms Application. In the application properites, the Target framework is set to .NET Framework 4 Problem:  I am trying to add a DataGrid, but the DataGrid is missing from the Toolbox!   1.  Open Toolbox   2.  Notice that under "All WPF Controls" DataGrid is missing.   3.  Right-click title bar of "All WPF Controls".   4.  Select "Choose Items" from menu.   5.  "Choose Toolbox Items" Dialog box appears.       Put a check in the DataGrid box.   6.  Hit OK At this point the Dialog Box disappears, but the ToolBox menu is not updated. There is no DataGrid item under "All WPF Controls", and I cannot add it. Any help or suggestions will be greatly appreciated. Charles

Visual Studio crashes when I try to add a new control

After installation of Microsoft Ribbon for WPF, Visual Studio crashes everytime I try to add a new control to the toolbox What can I do? Solution desperately needed.

AJAX Control Toolkit in Visual Studio

Hello everybody.I want to include AJAX Control Toolkit in my project currently designing of Visual Studio 2008. I found a link Installing AJAX Control Toolkit in Visual Studio 2008 . It is helpful. I want to know anything else shall I have to do for enabling AJAX Control. Is there anything should I write in web.config file or in that .aspx file? I have to submit my project in college so can enabling AJAX Control in that project by including files, create any problem on execution of the project on AJAX Control not enabled machine of my college? Or the reference files will going to be saved in bin folder?Any information will be very helpful to me.Also there is a paragraph in last section of the instruction, here it is :Now we are able to add any of these controls to our web applications. However, we must still remember the ScriptManager, as all of these controls are AJAX-enabled. I don't understand this line "However, we must still remember the ScriptManager, as all of these controls are AJAX-enabled."Thank you.

Getting Content Control on Content Page in Visual Studio


Visual Studio 2010

Working on a content page (.aspx page with associated master page)

Not all of the content place holders from the master page are represented on the content page (have been deleted)

Can go to the master page, find the place holder I want, return to content page and type out the "content" tag.

Is there an easier way? Can I drag a content tag in from a toolbox somewhere? Can I "re-apply" a master page to a content page and have it restore missing place holders? Looking for the lazy way out.

ObjectDataSource Control Disabled/not appearing in Toobox for Visual Studio 2010 SharePoint Project

  1. I've created a SharePoint Project in Visual Studio 2010.
  2. Added Visual webPart .
  3. In the usercontrol of the webpart in trying to add ObjectDataSource control, but this control is not availble in Tool box under Data tab. it appears only if i right click on datatab and select "Show All", but still the ObjectDataSource Control is Disabled and even i cannot drag and drop it on the Webpart.
  4. Also i've created a sample Business Class, with all the mandatory attribute like





Visual Studio WebBrowser control's PrintPreviewDialog generates "VSHost32.exe has stopped working"


I'm getting a problem with a VS 2008 application when I use the WebBrowser control's .ShowPrintPreviewDialog method and either print or close the dialog box.  I'm working on a 64-bit Windows 7 computer and using Visual Studio's default Debug option settings.  The problem happens both when running from the IDE in debug mode and after compiling in x86 mode as a stand-alone.

The control is central to as an otherwise effective report management system, so on btnPrint_Click I assign HTML code to .DocumentText and then call .ShowPrintPreviewDialog, which works fine, other than it does need 2 clicks so it seems both stages have to happen as separate events? 

Although when I go to print, the document prints okay, the print preview dialog form closes itself and whole program crashes with the above message.  I've also tried separating those stages to avoid the 2-click issue, but I still get the crash.

If I turn Project>Properties>Debug>"Enable unmanaged code debugging" ON, I get this message instead "Unhandled exception at 0x752c77df (urlmon.dll) in PMPos.exe: 0xC0000005: Access violation reading location 0x00000001."

The control's other print dialog methods work fine.   Is there a solution that I can rely on when distributing the application or am I best abondoning this particular

Visual Studio 2010 - Design Mode Error - "Error Creating Control"



I am using Visual Studio 2010.  I was debugging a web application and an exception happened and VS 2010 froze.  I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:


Error Creating Control -

Error HRESULT E_FAIL has been returned from a call to a COM component.


Also I am unable to edit  the form or add anything from the toolbox.


Any help on this matter will be appreciated.





No combobox ajax control visible in Visual Studio 2008 web project


Greetings -

New user to Visual Studio 2008 - one of the reasons for upgrading from 2005 was because I wanted to use the AJAX Toolbox Control for combobox in my web forms. 

Have started a new project, have told it to use .net 3.5 for the project, but when I go to the ajax tooklkit in the toolbox panel there is no combobox.  Could someone please tell me why it isn't there?

Environment - Visual Studio 2008 SP1

Many thanks - OfficeWonk


Error creating control contentplaceholder1 Visual Studio 2010 design mode


After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages. Can anybody help me with this? Thanks in advance.

How to customize toolbox content of workflow designer in Visual Studio 2010?

Hi all,

I am working on customizing the Workflow Design Experience in VS2010 Extensibility. Now I want to control VS built-in ToolBox display information(Categories, contained activities when my Workflow file is open.
You can see one example which is implemented in out of VS IDE to image my requirement in VS. 

Please give me some hints on this issue. Thanks for your help in advance.

visual studio 2010 toolbox reset shows excel and word tabs


Where does a toolbox reset get it's information? 

I installed Office 2010 Primary Interop Assemblies redistributable on windows 7 using visual studio 2010 professional.  Not 100% sure if it's the culprit but now my visual studio 2010 toolbox reset only shows the tabs for "Excel Controls", "Word Controls", "Ribbon Editor", "Dialog Editor", etc....

Things tried:

  •  reset the toolbox and view all and it still only shows these.
  • I can create a new tab and manually add in the tab with items like DataSet so they are there.
  • command line reset
    •      devenv /setup
    •      devenv /resetsettings
  • I've reset the all settings in "Import and Export Settings Wizard".
  • There's visual studio 2005 on the box and the toolbox is fine and exporting settings from there and importing into vs2010 does nothing.
  • Tried repairing vs2010 to no effect.
  • Logged out of the box as my id and logged in as a different id hoping it was something inmy profile, to no effect.
  • Uninstalled o2010pia.msi via add-remove-programs but the readme says it doesn't remove from the GAC (which is verified).

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend