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
I have been trying to get an entry form, popup from a button click within a document view. I can get the surface controller instantiated within a template like so:-
@Html.Partial("RenderEventEntry", new EventEntryFormViewModel ())
(COULDN'T GET THIS TO WORK WITH SURFACE CONTROLLER INCLUDED?)
This appears to work fine, but I would like to call this from a button click on an event item page.
need to replace below with HTML.Action to point to surface controller with eventitem id
<a href="#" class="btn btn-warning btn-xs "><i class="fa fa-book"></i> book!</a>
Any ideas would be greatly appreciated!
Where is the box you want to popup placed? Is it placed in an external template? If so you should try to include the markup in the template where you have your link to the popup instead and just make sure it's hidden untill the click event is triggered.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted