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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only