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

Thanks for the reply.
I can see how removing the reference would help, but doesn't the reference get added again when a control is added to a form? It seems like a pain to have to remember to remove it each time, just to avoid mass confusion.

Maybe this will get fixed in the new version.

Terry Carroll





>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform