Can not find project web item (ERROR)

旧时模样 提交于 2019-12-11 15:17:36

问题


I am using SmartPart (http://www.codeplex.com/smartpart) to add web parts to SharePoint. When I open the *.ascx file with visual studio it doesn't display the design of the control showing the error however it runs well when it is added to share point. But I need to see the design to be able to add controls through tool box visually not with code.


回答1:


Here is How you need to make it open. Create a Normal ASP.NET Web Application. Place the User Control (the control you are using in the SmartPart to display) in it. Add all the Reference it might need. Then You will be able to Open the User Control and edit. Later you need to copy that user control from Web Application and use it as needed .



来源:https://stackoverflow.com/questions/1158248/can-not-find-project-web-item-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!