Webservice bound scheduler doesnot fire "OnClientResourcesPopulating" on colorcoding timeslots

2 posts, 0 answers
  1. Prava kafle
    Prava kafle avatar
    212 posts
    Member since:
    Apr 2010

    Posted 27 Mar 2014 Link to this post

    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
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 01 Apr 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top