Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i was using visual studio - 2010 and now i am converting my project in visual studio 2005. when i open this project i am not allowed to move to design view from source view. It shows this error "can not switch to design view because of errors in the page. please correct all errors labeled 'Can not switch:' in the error list and try again". i searched many articles on msdn but i couldn't find it. kindly help me.
Posted
Comments
ZurdoDev 23-Feb-12 8:00am    
You were using 2010 and now are using 2005? Why are you going backwards? I am going to assume you meant the other way around. If you use the OnInit in a web page you need to add
if (DesignMode)
return;

Otherwise, fix the errors it is pointing to. If you actually are going back in versions there is likely newer features you are using that 2005 does not know about.
Member 8589824 24-Feb-12 4:49am    
okay... it would better for me not to downgrade..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900