Is it possible to isolate an ascx controls in a separate project? I tried to create a project ‘class library’ and I can not add ascx component.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it is.
You can produce all stuff in the other project(web application), but when You are using ascx You have to make reference to Your ascx project and also You need to copy all ascx files into proper place in project where You want use it.
You can also use ClassLibrary, but then You need to create .ascx files and codebehind files manually and when using it You have to also copy ascx files into main project.