Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag Drop Sub-Classed Web Controls
Message
De
24/09/2004 18:42:26
 
 
À
24/09/2004 15:24:29
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00945853
Message ID:
00945925
Vues:
18
Terry,

>I have tried to add the controls by the same method as I do a library dll, but VS goes nuts. I have all kind of problems because the designer seems to get confused with the references.

I've had the designer get confused with references when doing this sometimes also ... when that happens I simply remove the errant reference in the project and all is well.

~~Bonnie



>I use class libraries of sub-classed web controls and add these to my designer tool bar. However, I have not been successful in sub-classing a control in the project where I’m using it and drag and droping it onto a web form. I have tried to add the controls by the same method as I do a library dll, but VS goes nuts. I have all kind of problems because the designer seems to get confused with the references. If I hack the html of a page and manually add a reference to my application project then if works. (Register TagPrefix="cc1" Namespace="mywebproject" Assembly="mywebproject")
>
>Is there a way to implement drag and drop for a control sub-classed in my web application or a safe way to add it to a tool bar?
>
>Thanks in Advance.
>
>Terry Carroll
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform