Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<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" } };
} |