在 Web Developer Express 中选择母版页

发布于 2024-07-30 08:20:46 字数 150 浏览 4 评论 0原文

用于将 Web 表单添加到 Visual Studio 中的 Web 项目的对话框有一个“选择母版页”复选框。 Web Developer Express Edition 中不存在此复选框。 在 Express 版本中添加新的 Web 表单时是否有一种简单的替代方法可以附加母版页?

The dialog box for adding a web form to a web project in Visual Studio has a checkbox to 'Select Master Page'. This checkbox doesn't exist in the Web Developer Express Edition. Is there a simple alternative to attach a Master Page while adding a new web form in the Express Version?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝影如岚 2024-08-06 08:20:46

您很可能正在构建 Web 应用程序项目而不是网站项目。

网站项目具有“选择母版页”复选框选项。 Web 应用程序项目则不然; 相反,您应该:

  1. 添加新项目
  2. 选择“Web 内容表单”模板(而不是 Web 表单模板)
  3. 选择要使用的母版页

You are most likely building a web application project instead of a website project.

Website projects have the "select master page" checkbox option. Web application projects do not; instead you should:

  1. Add new item
  2. Select the "Web Content Form" template (instead of the Web Form template)
  3. Select the master page to use
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文