Reputation: 26971
I have a custom ASCX control that is not visible in design mode in VS2008. It used to be, I changed nothing and now when I switch back to design mode, it is not visible. Has anyone ever face this situation?
Upvotes: 0
Views: 726
Reputation: 21178
Usually this will occur if you have bad tags in your ASCX file. Do this, open the ASCX (not the code-behind file) and hit CTRL+K then CTRL+D. That will reformat the tags cleanly. If you get an error, find it and fix it and it should resolve your problem.
Upvotes: 1
Reputation: 20086
Is that possible to post the code for the control?
Have you tried restarting Visual Studio?
What else is on the page where you are dropping the user control?
Upvotes: 0