Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sohail 5 posts 75 karma points
    Aug 01, 2017 @ 06:47
    sohail
    0

    How to get Umbraco form markup from code behind

    Hello Guys, I am working on Umbraco forms everything goes smooth until i have attached a form picker in FAQ accordion items which is render from ajax request and i have also used angular to bind data in a container.

    Now, I have form id and i want to render the form markup (rendermacro) from the backend. In razor view we can use the following code to bind the umbraco form:

    @Umbraco.Web.RenderMacro("renderUmbracoForm", new { FormGuid = "b34f969e-4beb-47ad-b387-711101abb9ba", FormTheme = "", ExcludeScripts = "0" })
    

    how can i bind it from the code behind.

    please help.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft