Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Custom page for admin side in composite

$
0
0
Hi napernik,

I had go through with your posted link, and I created new test.aspx page in root directory and try to add minimal markup code inside the .aspx page.
Unfortunately i'm getting Error "Unknown server tag 'control:httpheaders'.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mytext.aspx.cs" Inherits="mytest" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://www.w3.org/1999/xhtml" xmlns:control="http://www.composite.net/ns/uicontrol">
<control:httpheaders runat="server" />
   <head id="Head1" runat="server">
      <title>Page title</title>
         <control:scriptloader type="sub" runat="server" />
   </head>
   <body>
      <ui:page>
       
      </ui:page>
   </body>
</html>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class mytest : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
did i missed any reference ?

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>