modal.showURL isn't firing the Page_Load so dropdownlist doesn't fill
Asked by Evan Fitzgerald
8 years ago.
This is from the Annual Leave Booking demo.
Everything seems fine except when
modal.showUrl("scheduler_new.aspx?start=" + start.toStringSortable() + "&end=" + end.toStringSortable() + "&r=" + resource ));
When this opens the new.aspx page - the page_load never processes so the dropdownlist is empty.
The same problem when edit.aspx is opened the details do not populate the modal either.
Answer posted by Evan Fitzgerald
8 years ago.
Arghhh...
In the Page markup at the top of the edit and new aspx markup...
AutoEventWireup="true" needs to be set (as it is in the demo).
Creating a new webform in visual studio by default sets that to "false"
Comment posted by Dan Letecky [DayPilot]
8 years ago.
Thanks for posting the solution, Evan!
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.