Custom Control in Toolbox
-
Hi everyone, i've been facing this problem for some time now, hope someone could answer.. I have a user control A i wish to supply others, which wraps another Control B. i want users to be able to put my control in the toolbox and use it. to compile it they don't need assembly B, only for runtime. but... if i want to add A, i have to add B first for some reason, and when i drag A to the canvas, a reference to B is added automatically (!?) of course - when manually removing reference to B everything is working, but i don't want this kind of behavior. Is there anything i can do? Thanks a lot Yanai
-
Hi everyone, i've been facing this problem for some time now, hope someone could answer.. I have a user control A i wish to supply others, which wraps another Control B. i want users to be able to put my control in the toolbox and use it. to compile it they don't need assembly B, only for runtime. but... if i want to add A, i have to add B first for some reason, and when i drag A to the canvas, a reference to B is added automatically (!?) of course - when manually removing reference to B everything is working, but i don't want this kind of behavior. Is there anything i can do? Thanks a lot Yanai
yanairon wrote:
I have a user control A i wish to supply others, which wraps another Control B.
Is this control B written by you or part of .Net SDK or you have the source code of it?
-
yanairon wrote:
I have a user control A i wish to supply others, which wraps another Control B.
Is this control B written by you or part of .Net SDK or you have the source code of it?