Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi, 

I have a problem with the control, it doesn't show quotes when they come from a database query.

I have put the same names, both to the class and to the fields, but nothing appears, however, when I put them by hand on the page, the information does appear.

@page "/Agenda"
@using Syncfusion.Blazor.Schedule
@using MC_GestionInterna.Data

SfSchedule TValue="AppointmentData" Height="650px" @bind-SelectedDate="@CurrentDate"
ScheduleEventSettings DataSource="@DataSource">
/SfSchedule

@code{
    DateTime CurrentDate = DateTime.Now;
    List DataSource = Data.WorkDataApuntes.GetAll().ToList();
}


In another file along with the query to the SQL database


 public class AppointmentData
 {
  public long Id { get; set; }
  public string? Subject { get; set; }
  public string? Location { get; set; }
  public string? Description { get; set; }
  public DateTime StartTime { get; set; }
  public DateTime EndTime { get; set; }
  public string? CategoryColor { get; set; }
  public bool IsAllDay { get; set; }
  public string? RecurrenceRule { get; set; }
  public int RecurrenceID { get; set; }
  public string? RecurrenceException { get; set; }
  public string? StartTimezone { get; set; }
  public string? EndTimezone { get; set; }
  public string? WorkGroup { get; set; }
  public string? User { get; set; }
}

I don't understand how it doesn't work, the data have the same types and put it by hand it works and using a query doesn't.


NOTE: 

I removed the < and > because I couldn't paste the control part.