Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just to make sure we're on the same page:</p> <p>There are more than one type of control you can build in ASP.Net. Unfortunately, depending on what kind of control you build you can normally only get designer support for a control from Visual Studio at <em>either</em> the time when you are developing the control, <em>or</em> the time you are developing the page where the control will be used, but <em>not both</em>. Controls that are not supported will just show up as grey boxes. </p> <p>IMO this was a major failure of Visual Studio/ASP.Net, but I digress. I have seen this limit overcome by using an <code>ascx</code> control with no code-behind.</p> <p>Now that that's out of the way, let's move on.</p> <p>It sounds like in this case you're working with a <code>Server Control</code>. You're in luck, because Server controls <em>should</em> get designer support from Visual Studio when you're building the page where the control is used. However, you need to make the control available to the project. </p> <p>Server controls are normally compiled down to a dll assembly. You must include a reference for this file in your solution. At this point you should be able to right click in your toolbox and select <code>Choose Items...</code>. This will present you with a dialog box that will allow you to select your assembly. At this point your controls should show up in the toolbox.</p> <p>Unfortunately, Visual Studio can at time be quirky about adding these controls. You may need to restart Visual Studio for them to be available. Note that I still use Visual Studio 2005, so hopefully things have improved in this respect for 2008.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload