简体   繁体   English

使用管理面板如何在站点限制中创建aspx页面?

[英]Using Admin Panel How we can create a aspx page in sitefinity?

how we can create the dynamic page ex. 我们如何创建动态页面ex。 help.aspx and write the code in sitefinity. help.aspx并在sitefinity中编写代码。 Because i facing a problem I create a page but i unable to know in which directory the page is lived. 因为我遇到问题,所以我创建了一个页面,但是我不知道该页面位于哪个目录中。 If any one help me Suggest. 如果有人帮助我建议。

http://abc.com/sitefinity/admin/pages.aspx http://abc.com/sitefinity/admin/pages.aspx

I'm not exactly sure I understand your question correctly. 我不确定我是否正确理解您的问题。 When you create a page in Sitefinity, it doesn't create an ASPX file. 当您在Sitefinity中创建页面时,它不会创建ASPX文件。 The data for the page is kept in the database and served from there. 该页面的数据保存在数据库中,并从那里提供服务。 There are no physical files involved. 没有任何物理文件。

If you want to write some code that executes when a page loads, you have two options: 如果要编写一些在页面加载时执行的代码,则有两个选择:

  1. Put the code into a control and drop the control on a page created from within Sitefinity 将代码放入控件中,并将控件放在从Sitefinity中创建的页面上
  2. Create a regular ASPX page from Visual Studio and include it as an external page in Sitefinity. 从Visual Studio创建常规的ASPX页面,并将其作为外部页面包含在Sitefinity中。

I would recommend the first option, as this would provide you with all the Sitefinity goodness that all pages use - templates, editing through the browser, etc. 我建议您选择第一种方法,因为这将为您提供所有页面使用的所有Sitefinity功能-模板,通过浏览器进行编辑等。

If you wanted something else and I misunderstood, please be more specific. 如果您想要其他东西,但我误会了,请更加具体。

Slavo, The Sitefinity Team Slavo,The Sitefinity团队

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

相关问题 我们如何将值从ASP页面传递到ASPX页面 - how we can pass value to aspx page from asp page 我们可以使用简单aspx创建Angular js应用程序吗 - can we create angular js application using Simple aspx 如何在面板/视图中显示aspx页面? - How to display aspx page inside a Panel/View? 如何将HTML页面的选定文本发送到同一个ASPX页面,而不是另一个面板? - how to send selected text of an HTML page which is inside an aspx panel to the same aspx page but another panel? 如何在运行时中创建.aspx页? - How to create .aspx page in Runtime? 如何通过 API 在内容中创建指向 Sitefinity 页面的链接? - How do I create a link to a Sitefinity page in content via API? 如何像我们在aspx:DropDown中那样用SqlDataSource填充aspx:TextBox? - How to populate aspx:TextBox with SqlDataSource as we can in aspx:DropDown? 如何在我的aspx页面的面板内显示视频 - how to show a video inside the panel of my aspx page 如何制作一个弹出式面板,在.aspx页面中为调查加载网页? - How to make a popup panel that loads a webpage for like a survey in a .aspx page? 无法使用更新面板从 aspx 页面触发代码隐藏 (aspx.cs) 方法 - Unable to trigger the code-behind (aspx.cs) method from aspx page using update panel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM