@lukas-xavergmail-com
@lukas-xavergmail-com
Forum Replies Created
-
AuthorPosts
-
Lukas XaverParticipant
Hej markov,
Thanks for the tutorial!
Could you provide me the link to this tutorial?
Maybe there is more I could use / search in the future 🙂Best regards,
LukasLukas XaverParticipantHi Ivan,
Is there any chance to get an example for blazor?
I tried to copy over your custom window but I won’t get it to work.Best Regards,
LukasNovember 22, 2023 at 9:30 pm in reply to: [Blazor Scheduler]How to add an item to a scheduler datasource from an event #109203Lukas XaverParticipantHej Peter,
I tried your suggestion today and it did not work.
I changed your event to
new SchedulerDataSource()
{
Id = “1”,
Label = “Google AdWords Strategy NEW”,
DateStart = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 9, 0, 0),
DateEnd = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 11, 30, 0),
}when I call AddEvent nothing seems to happen.
I added the event to the DataSource list and nothing happened.The only thing that helped was to call
calendar.Refresh(true);
calendar.Render();after some time through a button click.
When I refresh and render in SchedulerReady(Scheduler scheduler) it doesn’t work too.
Do you have any suggestions what I could try?
Best regards,
LukasLukas XaverParticipantHi Markov,
thanks!
That worked like a charm 🙂Best Regards,
LukasLukas XaverParticipantHi Markov,
I simply added
public void OnOpening(Event e)
{
KanbanOpeningEventDetail ed = e[“Detail”];
}on your SmartUI.Demos (KanbanEditablePage.razor).
On Line 27 append
OnOpening=”OnOpening”
to the <Kanban> tag.Place a breakpoint on “ed” and in “Item” you’ll see its empty, regardless which kanbanitem your editing.
Best regards,
Lukas -
AuthorPosts