OnClientSelectedIndexChanging
="AllowSelectionChange"
In the AllowSelectionChange() javascript method....
text = eventArgs.get_item().get_text();
appears to get the newly selected value...
How can I get the previously selected value?
var
$findByBaseId =
function
(baseId) {
return
$find($(
'[id$='
+ baseId +
']'
).attr(
'id'
));
};
Using the Telerik demo Scheduler / Resource Availability on http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourceavailability/defaultcs.aspx, I am trying to figure out how to detect the group in which an appointment is a member. This demo has 2 groups:
If I take the existing appointment labeled Security overview meeting and drag it from group 201 and drop it into group 101, how do I programmatically detect that this appointment is now in group 101? I would like to be able to detect this within the scheduler's AppointmentUpdate event, I am currently trying to use e.Appointment.Resources[0].Key to extract the new group value, but this always returns the old group value (201), instead of the new group value (101).
How do I accomplish this?
Thank you,
Steven