This is a migrated thread and some comments may be shown as answers.

Webservice bound scheduler doesnot fire "OnClientResourcesPopulating" on colorcoding timeslots

1 Answer 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 27 Mar 2014, 08:52 PM
Hi,

My webservice bound scheduler does not fire "OnClientResourcesPopulating" event after following events:

1. ColorCode scheduer timeslots based on some property.
2. Drag and drop to create an appointment (Appointment is dropped on color coded time slot)
    Then rebind the scheduler using javascript fxn 
3.Use ASP.NET Button's postback event  to refresh scheduler.
  This refreshes resources  (technicians) for scheduler
     Then it throws following error:


BROWSER CONSOLE  LOG

OnClientAppointmentsPopulating Default.aspx:1282
OnClientRequestSuccess Default.aspx:3398
OnAppointmentCreated Default.aspx:1334
OnClientAppointmentsPopulated Default.aspx:1258
onSchedulerDataBound Default.aspx:1125UpdateM4Scheduler with ScheduleUpdateBtn DefaultHelper.js:73
AJAX REQUEST -->onRequestStart GridHelper.js:7
beginRequestHandler

ERROR MESSAGE:

 Default.aspx:785Uncaught TypeError: Cannot call method 'removeChild' of null Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:11458b.RadComboBox._removeDropDownTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:11458b.RadComboBox.disposeTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:10346Sys._Application.disposeElementTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6Sys.WebForms.PageRequestManager._updatePanelTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15Sys.WebForms.PageRequestManager._scriptIncludesLoadCompleteTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15(anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6(anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6Sys._ScriptLoader._loadScriptsInternalTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15Sys._ScriptLoader._nextSessionTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15Sys._ScriptLoader.loadScriptsTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15Sys.WebForms.PageRequestManager._onFormSubmitCompletedTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15(anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6(anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6Sys.Net.WebRequest.completedTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6_onReadyStateChange
Any ideas?
Thanks,
Prava

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 01 Apr 2014, 02:40 PM
Hello,

I would like to clarify that the RadScheduler OnClientResourcePopulating client-side event is fired only if the the ResourcePopulationMode of the web service section is set to "Cleint-Side".
//markup code
<WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ClientSide" />


Regards,
Boyan Dimitrov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Scheduler
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or