Unbelievably yet another issue with the Scheduler control !

We have 2 dropdown lists within the Scheduler EditTemplate and it's totally random whether the values are set but usually they aren't.  Is there anything we are missing that we need to set?  The datasource for both Dropdowns is coming from an API so please don't create a sample with hard coded data as it's completely irrelevant.

The scheduler control so far has been incredibly flakey and has really damaged our estimation of the syncfusion controls.  



1 Reply

RV Ravikumar Venkatesan Syncfusion Team December 7, 2020 10:13 AM UTC

Hi Alex, 

Greetings from Syncfusion support. 

We have validated your reported query at our end and suspect that you are not getting the dropdown field values on opening the editor popup. We have resolved this with the help of the code shown below and have modified your shared-sample with the latest version of Syncfusion.Blazor package (v18.3.0.52) at our end which can be available below. 

 
[Timesheets.razor.cs] 
namespace Accord.Web.Pages  
{  
    public partial class Timesheets  
    {  
        public string stageVal;  
        public string bookingTypeVal;  
        public int count = 0;  
  
        public async Task OnPopupOpen(PopupOpenEventArgs<Entry> args)  
        {  
            if (args.Type == PopupType.QuickInfo)  
            {  
                args.Cancel = true;  
            }  
            else  
            {  
                if(count == 1)  
                {  
                    args.Data.Stage = stageVal;  
                    args.Data.BookingType = bookingTypeVal;  
                    stageVal = null;  
                    bookingTypeVal = null;  
                    count = 0;  
                      
                }  
                else  
                {  
                    stageVal = args.Data.Stage;  
                    bookingTypeVal = args.Data.BookingType;  
                    count++;  
                }  
            }  
        }  
 
Kindly check the above sample and if you still facing the same problem please share the below details to serve you better. 

  • Could you please share a video demo that illustrates the problem?
  • Which version of Syncfusion.Blazor package version you have used in your project?
  • If possible share a sample that illustrates the problem with replications steps it helps us to provide the solution ASAP.

Regards, 
Ravikumar Venkatesan 


Loader.
Up arrow icon