简体   繁体   English

EWL中是否可以根据我的位置动态设置页面标题?

[英]Is there a way in EWL to dynamically set the title of the page based on my location?

The title (in this case I care about the text showing up on the Tab of Firefox) of my page is always the long name of the system, and then my location tacked onto the end of it. 页面的标题(在这种情况下,我关心的是Firefox的选项卡上显示的文本)始终是系统的长名称,然后将我的位置附加到系统的末尾。 I'm in a situation where I want to kind of have two sites under the same umbrella and I'd like to show a different base title when appropriate. 我当时想在同一个伞下拥有两个网站,并且希望在适当的时候显示一个不同的基本标题。 How do I do this? 我该怎么做呢?

覆盖Global.asax类中的EwfApp.AppDisplayName

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM