ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
problem upgrading from AwesomeMvc 3.0 to 5.0
Title:
B
I
{code}
?
After update from ASP.NET MVC Awesome 3.0 to ASP.NET MVC Awesome 5.0 (latest) I have error Uncaught TypeError: Cannot read property 'open' of undefined- awe.open(...) not work. What happen?
Save Changes
Cancel
yura
asked at 14 Dec 2016
you need to call InitPopup/InitPopupForm.Name("name") before calling `awe.open('name')` both things were not present in 3.0, also as you can see here: http://aspnetawesome.com/learn/release/Version5#Migrating-from-previous-versions helpers that generate awe.open (PopupActionLink) were removed, so it's strange that you're not getting compile errors you can see the full changelog in the download
at 14 Dec 2016
Omu
Sorry, I used awesome version 4.0. Problem resolved after I added `utils.init(...)`. Thank you, o!
at 15 Dec 2016
yura
$(function () { $("#buyPopup").dialog({ width: 500, height: 500 }); }); Is not work, how i can change dimensions by jquery?
at 17 Feb 2017
yura
in version 5 the default popup has been changed from jQueryUi to awesome, so dialog won't work, just have a div inside the popup with the dimensions you need, or change its dimensions
at 17 Feb 2017
Omu
i need wizard with different page sizes, first page -width:500px, height:500px, second page-fullscreen, when i back from second page to first page-width not changed
at 17 Feb 2017
yura
you'll have to call `$(window).resize()` every time you change the popup size, this is the way for now
at 17 Feb 2017
Omu
http://demo.aspnetawesome.com/MultiLookupDemo/Misc in "MultiLookup with Table Layout" Why if i select "Mango" and close select form and open again select form i see "Mango" on first and second tables? I don't need "Mango" on first table if i selected it like on "MultiLookup with custom Items Layout"
at 28 Feb 2017
yura
thnx for noticing, on the server side the `Search` action needs `int[] selected` parameter, and it should be used like this: selected = selected ?? new int[] { }; var list = Db.Meals.Where(o => o.Name.ToLower().Contains(search) && !selected.Contains(o.Id));
at 28 Feb 2017
Omu
Answers
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