Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Controls (i.e. mytextbox)
Message
De
23/01/2008 13:18:46
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01284487
Message ID:
01284605
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Viv,
>
>Thank you again. I get an error: "There are no components no file..." - I've created user controls, not customcontrols, does that make a difference?

Shouldn't matter. Quick test here with a 'Windows Control Library' templated project:
namespace MyLibrary
{
    public partial class MyUserControl : UserControl
    {
        public MyUserControl()
        {
            InitializeComponent();
        }
    }

    public class MyTextBox : TextBox
    {
    }
}
If I select the DLL then both controls can be added to the Toolbox.


>
>The documentation is just awful on this! I have a $50 book that has a few paragraphs on this subject that don't show how to do any of this. Thanks for your help.

This:http://msdn2.microsoft.com/en-us/library/dyca0t6t.aspx and the associated links should help.
Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform