Reputation: 1350
In my tab from home page I want to render a partial view returned by an action controller, with custom css. The home page has its own doctype. Using Umbraco v7.
How can I achieve this? I read http://our.umbraco.org/wiki/reference/files-and-folders/dashboardconfig but doesn't specify this.
Upvotes: 0
Views: 771
Reputation: 3437
You can only load a usercontrol (ASCX) in the dashboards.
But that shouldn't stop you from what you want to do.
And you are set.
What you could do is wrap your partial view in a macro and call the macro inside the ascx (<umbraco:Macro alias="theMacroAlias" runat="server" />
)
Update: you can't set a dashboard for a specific content page. The only way to archive something here is to create your down propertyType
Upvotes: 0