Controls in my ASP.Net (3.5) pages to simulate popups (Visual-Studio 2008).
The problem is that all these popups are positioned over the normal controls in the page in design mode.
So my Question is: How can I hide User-Controls in Design-Mode.
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.
From googling around a bit I don’t think you can with an ascx. I think you should turn it into a custom control if you need this.
http://www.west-wind.com/WebLog/posts/189.aspx might help
edit:
http://ajdotnet.wordpress.com/2006/08/28/do-you-value-design-time-support/you might be able to do this if you create a custom control that holds an instance of your user control, and uses the method linked to above to hide all its content.