BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<div class="imgframe">
@Html.EJ().Menu("syncfusionProducts").Items(menu =>
{
menu.Add().Text("Books").Children(child =>
{
child.Add().ContentTemplate(@<div>
@(Html.Partial("Documentcontent"));
</div>);
});
}).Width("612")
</div> |
Thanks for your reply
Your solution is working for HTML.Partial but it is not working for
Html.Action or Html.RenderAction
If you could provide the working solution for the above helpers
<h3>Html.RenderAction</h3>
<div class="imgframe">
@Html.EJ().Menu("syncfusionProducts").Items(menu =>
{
menu.Add().Text("Books").Children(child =>
{
child.Add().ContentTemplate(@<div>
@{Html.RenderAction("Documentcontent");}
</div>);
});
}).Width("612").ClientSideEvents(e=>e.Create("oncreate"))
</div>
<script>
function oncreate(args) {
$(this.element.find("ul li div")[0]).append($("div.temp.temp1"));
}
</script> |
<h3>Html.Action</h3>
<div class="imgframe">
@Html.EJ().Menu("syncfusionProducts2").Items(menu =>
{
menu.Add().Text("Books").Children(child =>
{
child.Add().ContentTemplate(@<div>
@(Html.Action("Documentcontent2"));
</div>);
});
}).Width("612")
</div> |