Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146900 | Aug 24,2019 09:19 PM UTC | Aug 26,2019 11:40 AM UTC | Blazor | 1 |
![]() |
Tags: Scheduler |
<EjsSchedule TValue="object" Height="550px" SelectedDate="new DateTime(2018, 5, 10)">
<ScheduleEvents TValue="object" OnActionFailure="OnActionFailure"></ScheduleEvents>
<ScheduleEventSettings TValue="EjsDataManager">
<EjsDataManager Headers="@HeaderData" Url="http://localhost:25255/odata/EventDatas" Adaptor="Adaptors.ODataV4Adaptor"></EjsDataManager>
</ScheduleEventSettings>
</EjsSchedule>
@code{
public class Data
{
public string Authorization;
};
public void OnActionFailure(ActionEventArgs<object> args)
{
//will trigger when scheduler action gets failed or interrupted and an error information will be returned.
}
private Data[] HeaderData = new Data[] { new Data { Authorization = "Bearer XXX.YYY.ZZZ" } };
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.