Web User Controls(ascx)
-
I divided my application into 2 different web apps. I have created a control in the first web app and i need to reference it in the second application. Is it possible to do so? I am trying to drag and drop the control but when debugging i am getting problems. Thanks for your help.
-
I divided my application into 2 different web apps. I have created a control in the first web app and i need to reference it in the second application. Is it possible to do so? I am trying to drag and drop the control but when debugging i am getting problems. Thanks for your help.
First of all, whether it's a Custom control or a User control? Heading of your query says a usercontrol. Had it been a custom control, you can include that as a reference and drag-drop it on your designer. If it's a user control that too in another project, it would be difficult for you to refer. Either include that user control in your project where you need it or design a similar one.
-
First of all, whether it's a Custom control or a User control? Heading of your query says a usercontrol. Had it been a custom control, you can include that as a reference and drag-drop it on your designer. If it's a user control that too in another project, it would be difficult for you to refer. Either include that user control in your project where you need it or design a similar one.
-
Thanks for your reply. its a user control. The use of itis to have one control which could be used on both apps. Is there any solution for that please?
It's a file that can be found in your folders. Since you don't want to create a copy, design the directory of this file such that you can include it in both of your applications!