Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, my umbraco version is 7.4.1
I am having problems getting a contact form to render properly in both the rte and also on the content page.
I have the following partial view set up:
From there I created a Partial View Macro File:
Which created the following macro:
Here is where the problems begin. When I create a new contact page, I then add the macro in the rte and and it is rendered as follows in the rte:
Issue: This is what it looks like on the content page:
and here is the html that was rendered:
Here we can see that no mvc controls are rendered.
Note: not sure if it makes a difference, but I am rendering the Grid by calling: @CurrentPage.GetGridHtml("content", "AweSamNet")
@CurrentPage.GetGridHtml("content", "AweSamNet")
What the heck am I doing wrong?
Unfortunately it is not possible to use a macro in the rich text editor in the grid at the moment ( http://issues.umbraco.org/issue/U4-6206 ). You will need to insert a macro in the grid under your rich text editor, so not IN the rich text editor.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Partial View Macro not rendering properly
Hello, my umbraco version is 7.4.1
I am having problems getting a contact form to render properly in both the rte and also on the content page.
I have the following partial view set up:
From there I created a Partial View Macro File:
Which created the following macro:
Here is where the problems begin. When I create a new contact page, I then add the macro in the rte and and it is rendered as follows in the rte:
Issue: This is what it looks like on the content page:
and here is the html that was rendered:
Here we can see that no mvc controls are rendered.
Note: not sure if it makes a difference, but I am rendering the Grid by calling:
@CurrentPage.GetGridHtml("content", "AweSamNet")
What the heck am I doing wrong?
Unfortunately it is not possible to use a macro in the rich text editor in the grid at the moment ( http://issues.umbraco.org/issue/U4-6206 ). You will need to insert a macro in the grid under your rich text editor, so not IN the rich text editor.
is working on a reply...