Call Custom Data Adaptor from code behind

Hi,

  I am using a Custom Data Adaptor with a Timeline Schedule in my SSB app which is working OK when calling the scheduler for the first time. Navigating away from the sceduler page and going back will not call the ReadAsync() method of the adaptor - so the data will not be displayed. In the debugger everything looks OK - all events and methods are called except ReadAsync after rendering the scheduler, which is done automatically at first time. Can you tell me what I have to do to invoke the adapter manually from code behind ? StateHasChanged() or SchedObj.Refresh() / ShedObj.RefreshEvents() did not help.

   Thanks

      regards

          Uwe

4 Replies

AK Alagumeena Kalaiselvan Syncfusion Team June 1, 2020 12:20 PM UTC

Hi Uwe, 

Thanks for contacting Syncfusion support. 

We have checked your reported issue “ReadAsync() is not invoked when navigating and back to scheduler page” and we regret to inform you that issue could not be replicated at our end. Also, we have prepared a sample based on your requirement which can be get by the below link. 

Kindly check with shared sample which have scheduler with custom adaptor try to share below details and it may more helpful to assist you earlier 
  • Share the issue reproducing sample code/  Reproduce the issue shared sample
  • Check whether you have used any other properties as like Offline inside the DataManager component in your sample

Regards 
Alagumeena.K 



UH Uwe Hein June 1, 2020 05:47 PM UTC

Hi Alagumeena,

  thank you for your fast answer !! 
I will take a closer look at your sample, but our app has to be working by wednesday. (10 Buildings, 250 rooms, 100 teachers and 3000 students) So I ditched CustomDataAdaptor and turned to OnActionCompleted instead, which is working.I will try to build a complete sample with local db and all the data I need to demonstrate some issues I have with the scheduler. There seems to be one issue saving an event having a recurrence rule. Saving without a rule is no problem, but as soon a rule is involved, saving is not working any more. It might have something to do with the German date format and the German locale I am using.

One last question: Is there a way to change the date format to 24 hours when exporting a schedule to excel ?

   Please give me some time to prepare my sample

       regards

          Uwe


AK Alagumeena Kalaiselvan Syncfusion Team June 2, 2020 10:46 AM UTC

Hi Uwe, 

Thanks for your update. 

Query 1: Getting issue while saving an event with recurrence rule. 

We have checked your query but we could not replicate the above issue  with Scheduler at our end. As per your update we will wait for your sample which will demonstrate the Scheduler issues. 

Query 2: Is there a way to change the date format to 24 hours when exporting a schedule to excel ? 

Currently the above requirement is not feasible with the Scheduler. so, we consider this as an improvement and logged the below feature report. We will implement and include in any of our upcoming releases. 

Kindly let us know, If you need further assistance. 

Regards 
Alagumeena.K 



VM Vengatesh Maniraj Syncfusion Team October 7, 2020 09:22 AM UTC

Hi Uwe,

 

We are glad to announce that our Essential Studio 2020 Volume 3 Release v18.3.0.35  is rolled out and in that release, We've provided the option to specify date format in excel export. So please update your package to this version to include the feature.

 

NuGet Link: https://www.nuget.org/packages/Syncfusion.Blazor/18.3.0.35

Release notes: https://blazor.syncfusion.com/documentation/release-notes/18.3.35/?type=all#accordion

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

Regards,

Vengatesh 


Loader.
Up arrow icon