search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

modal.showURL isn't firing the Page_Load so dropdownlist doesn't fill

Asked by Evan Fitzgerald
10 months 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
10 months ago.


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]
10 months ago.

Thanks for posting the solution, Evan!

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.