找不到项目网页项(错误) [英] Can not find project web item (ERROR)

查看:53
本文介绍了找不到项目网页项(错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SmartPart (http://www.codeplex.com/smartpart) 添加Web 部件到 SharePoint.当我用 Visual Studio 打开 *.ascx 文件时,它不会显示显示错误的控件的设计,但是当它被添加到共享点时它运行良好.但是我需要看到设计才能通过工具箱直观地添加控件,而不是代码.

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.

推荐答案

这是打开它所需的方法.创建一个普通的 ASP.NET Web 应用程序.将用户控件(您在 SmartPart 中用于显示的控件)放入其中.添加它可能需要的所有参考.然后您将能够打开用户控件并进行编辑.稍后您需要从 Web 应用程序复制该用户控件并根据需要使用它.

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 .

这篇关于找不到项目网页项(错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆