I'm creating a procedure that will create an appointment in the Scheduler based upon a link from an address. So, when the user clicks on the scheduler to create the new appointment, I'd like the Location Field (it is enabled) pre-filled with the address. The address itself is contained in an asp.net hiddenfield which I can access, but I cannot seem to populate the Location field (or any other field I've tried, such as the Subject field). I have tested using an alert - the value from the hiddenfield is being picked up correctly. What am I doing wrong?
function onAppointmentOpen(args) {
//var loc = document.getElementById('<%= hiddenAddressID.ClientID%>').value;
this._appointmentAddWindow.find(".location").val(loc );
// OR //
$("#location").val(loc);
}