English 中文(简体)
Using Admin Panel How we can create a aspx page in sitefinity?
原标题:

how we can create the dynamic page ex. help.aspx and write the code in 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

问题回答

I m not exactly sure I understand your question correctly. When you create a page in Sitefinity, it doesn t create an ASPX file. 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
  2. Create a regular ASPX page from Visual Studio and include it as an external page in 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.

If you wanted something else and I misunderstood, please be more specific.

Slavo, The Sitefinity Team





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签