Hi
I have a web application that contains a web user control in a sub directory.
App Root
--> Administration
--> Toolbars
-->AdminToolbar.ascx
I want to pass this control as a paramter from within a standard .aspx page located in the root directory.
My problem is that my user control is not available in any class that is outside of the Toolbars directory.
I've tried moving my control to the App_Code directory which then makes it available to other classes but the compiler complains that i'm not allowed to placed my user control int hat directory.
Any ideas how I can reference my web user control from other classes?
TIA
Smeat
I have a web application that contains a web user control in a sub directory.
App Root
--> Administration
--> Toolbars
-->AdminToolbar.ascx
I want to pass this control as a paramter from within a standard .aspx page located in the root directory.
My problem is that my user control is not available in any class that is outside of the Toolbars directory.
I've tried moving my control to the App_Code directory which then makes it available to other classes but the compiler complains that i'm not allowed to placed my user control int hat directory.
Any ideas how I can reference my web user control from other classes?
TIA
Smeat