ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
PopupFormActionLink on an image | open popupform on click on an image
Title:
B
I
{code}
?
Hi, I'd like to use this exact line somewhere else in my project, but the link has to be an image instead of a text. How is this achievable? @Html.Awe().PopupFormActionLink().Url(Url.Action("StartWizard", "TakeAppointment")).LinkText("Take an appointment").Success("wizardFinish").Height(440).UseDefaultButtons(false).Modal(true) Thank you!
Save Changes
Cancel
pacificdave1
asked at 08 Jul 2014
Answers
B
I
{code}
?
like this: <a href="@Url.Awe().PopupFormAction().Url(Url.Action("StartWizard", "TakeAppointment")).Success("wizardFinish").Height(440).UseDefaultButtons(false).Modal(true)"> <img src="smiley.gif" alt="Take an appointment"> </a> or using the new InitPopupForm helper ( v 4.0 ) @Html.Awe().InitPopupForm().Name("pwiz").Url(Url.Action("StartWizard", "TakeAppointment")).Success("wizardFinish").Height(440).UseDefaultButtons(false).Modal(true) <img src="smiley.gif" alt="Take an appointment" onclick="awe.open('pwiz')">
Save Changes
Cancel
Omu
answered at 08 Jul 2014
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK