EW3没有“包括”设计时间中的endpan声明包括 [英] EW3 doesn't "include" the endspan statement in design time includes

查看:71
本文介绍了EW3没有“包括”设计时间中的endpan声明包括的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我总是使用设计时包括我的菜单的无序列表,但最近开始使用包括各种各样的东西,并且很高兴发现Expression Web 3现在有一个"包含页面"。标准工具栏上的按钮。我的包含总是有两个语句,每个语句都包含在尖括号中。但我注意到"包含页面"按钮不插入语句的后半部分,即<! - webbot bot =" include"端跨 - 取代。

I've always used design time includes of unordered lists for my menus but recently started using includes for all kinds of things, and was thrilled to find that Expression Web 3 now has an "include page" button on the standard toolbar. My includes always had two statements, each enclosed in angle brackets. But I've noticed that the "include page" button doesn't insert the second half of the statement, i.e. <!--webbot bot="include" endspan-->.


推荐答案

该语句的后半部分以及所包含文件中的实际内容位于页面上,但不是EW在"代码视图"中显示的内容。 

电子邮件在"代码视图"中显示的是执行包含的单行说明。 电子邮件实际放在页面上的内容,以及发送到浏览器的内容,包括: 启动和停止包含评论及其中包含的实际内容。

打开例如,在记事本中包含设计时间的电子邮件页面,您会看到这实际上在页面上。

EW未在代码视图中显示扩展的包含,因为 - 以及,你不应该在那里碰它。 您可以在包含文件本身中编辑包含。
The second half of the statement, as well as what is actually in the included file, is on the page, but not what EW shows you in Code View. 

What EW shows you in Code View is the single line instruction to do the include.  What EW actually puts on the page, and what gets sent to the browser, is the full include: the starting and stopping include comments with the actual included content inside them.

Open an EW page with a design time incude in Notepad, for example, and you'll see that this is actually on the page.

EW doesn't show the expanded include in Code View because - well, you're not supposed to touch it there.  You edit the include in the include file itself.


这篇关于EW3没有“包括”设计时间中的endpan声明包括的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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