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

New Post: Style on page in console

$
0
0
I have just tryied to create a custom url button. With this code in my tree <Element Id="action22" Icon="perspective-datas" Label="Send"> <Actions> <CustomUrlAction ViewLabel="Min test2" Label="Send sms2" Icon="perspective-datas" ViewType="genericview" Url="~/send.aspx" /> </Actions> </Element> </Children> </Element> In my aspx page i have tho following content <?xml version="1.0" encoding="UTF-8"?> <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 runat="server"> <title>Page title</title> <control:scriptloader type="sub" runat="server" /> </head> <body> <ui:page> MIN TEST </ui:page> </body> </html> But it just render an empty page. If i change the viewtype to "documentview" it gives the following error. Unknown server tag 'control:httpheaders'. I have also tryed to just create a empty MVC view. It shows up perfect, but don't include the composite styles.

Viewing all articles
Browse latest Browse all 2540

Trending Articles