Hiya, I am following the External Edit in RadWindow example here and have been trying to figure out whats wrong with my code. When I double click an appointment to edit it, about 50% of the time it calls the RadWindow twice for some reason. Only seems to happen from Day view and Week view modes, but not month view.
After a while I decided to re-check the demo (normally a good way to see where I screwed up :)) and found it exhibits the same behaviour.
this being the output from fiddler from a single click:
GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.31608744380786535 HTTP/1.1
GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.37927669538742825 HTTP/1.1
I installer fiddler on a second env with IE7 and has same result as IE6.
I found this thread suggesting ReloadOnShow could be the issue and indeed setting it to false appears to solve the double load however if the example injects a RadWindow.Close() into a ScriptPlaceholder (as it does upon save), the next time you click the appointment, it reloads the cached one which immediately closes!
how can I solve this? ideally I'd keep the benefit of ReloadOnShow=false which seems to very nicely load cached pages, but then how to close the RadWindow?
totally stumped!
regards
ewart
After a while I decided to re-check the demo (normally a good way to see where I screwed up :)) and found it exhibits the same behaviour.
this being the output from fiddler from a single click:
GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.31608744380786535 HTTP/1.1
GET /demos/aspnet/prometheus-futures/Scheduler/Examples/RadWindow/AdvancedFormCS.aspx?Mode=Edit&AppointmentId=15&rwndrnd=0.37927669538742825 HTTP/1.1
I installer fiddler on a second env with IE7 and has same result as IE6.
I found this thread suggesting ReloadOnShow could be the issue and indeed setting it to false appears to solve the double load however if the example injects a RadWindow.Close() into a ScriptPlaceholder (as it does upon save), the next time you click the appointment, it reloads the cached one which immediately closes!
how can I solve this? ideally I'd keep the benefit of ReloadOnShow=false which seems to very nicely load cached pages, but then how to close the RadWindow?
totally stumped!
regards
ewart