Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbox item not available.
Message
De
26/09/2007 15:20:10
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Toolbox item not available.
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01257013
Message ID:
01257013
Vues:
70
I have a set of custom controls in a project.

When I go to my main app and try and add controls to a form some of the controls are available, some are not. If I go show all, all the controls are listed but are grayed out.

Some of the controls that are grayed out are based on the same base class as ones that are showing. This is grayed out for adding to a form:
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CDS3.Controls
  {
  class cdsAutoCompleteTextBox : TextBox 
    {
    public cdsAutoCompleteTextBox() 
      {
      InitializeComponent();
      }
    private void InitializeComponent()
      {
      this.SuspendLayout();
      this.ResumeLayout(false);
      }
    }
  }
The ones that are grayed out in the main project are not grayed out within the controls library.

I have:

Recompiled everything in both debug and release.
Deleted and reinserted the CDS3.Controls project reference.
Reset the toolbox

Any Ideas????
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform