ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
'System.Web.Mvc.UrlHelper' does not contain a definition for 'Awe'
Title:
B
I
{code}
?
This is happening on `@Url.Awe().PopupFormAction().Url(...)`, no compiler errors
Save Changes
Cancel
James Trachier
asked at 16 Jan 2019
Answers
B
I
{code}
?
please follow the instructions here: https://www.aspnetawesome.com/learn/mvc/Installation in this case the important part is where you edit `Views\_ViewImports.cshtml` (or Views/web.config for mvc5)
Save Changes
Cancel
Omu
answered at 16 Jan 2019
I should mention that I am upgrading from Awesome version 3. I checked the version 5 full demo and there is no example of Url.Awe included. Has this feature been replaced by another method?
at 17 Jan 2019
James Trachier
yes, you need to use `InitPopupForm` once and call `awe.open` or `Html.Awe().OpenPopup` (which generates `awe.open`) each time you need to open the popup, https://demo.aspnetawesome.com/PopupDemo https://www.aspnetawesome.com/learn/release/Version5#Migrating-from-previous-versions
at 17 Jan 2019
Omu
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