Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbox item not available.
Message
From
26/09/2007 15:20:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Toolbox item not available.
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01257013
Message ID:
01257013
Views:
72
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????
Next
Reply
Map
View

Click here to load this message in the networking platform