Hi Jeevakanth,I solved the trouble.changing the code:public IQueryable<Items> GetItems(){return _context.Items.OrderByDescending(x => x.Id).AsNoTracking();}with:public Task<List<Items>> GetItems(){List<Items> list = new List<Items>();list = _context.Items.OrderByDescending(x => x.Id).AsNoTracking().ToList();return Task.FromResult(list);}Many thanks, attached is the solved solution.Best Regards,
Attachment: blazortest_d44c179d.zip
I try to complete the SyncfusionHelpDesk described in book "Blazor succintly" source code following the steps in and i have this error.
After a lot of search and finallly replacing files one by one with the one published in github, i finally resolve this error about the second operation with access to dbcontext, by downgrading the latest by now syncfusion.blazor 19.2.0.48 to the one using the github published 18.1.0.42
I am new to syncfusion blazor so i don't know if the were so many changes to made this error happen with latest version
The latest working Syncfusion.Blazor package version that working according to book path for SyncfusionHelpDesk is 18.2.0.48
Hi Jeevakanth ,
I am running into the same error like maimoy completing the SyncfusionHelpDesk sample.
I run into the error when selecting the "Edit" action with syncfusion.blazor 19.2.0.48
BR
Jutta
Hi,
to fix the SyncfusionHelpDesk sample.
public IQueryable<HelpDeskTickets> GetHelpDeskTickets ()
public Task<List<HelpDeskTickets>> GetHelpDeskTickets() { List<HelpDeskTickets> list = new List<HelpDeskTickets>(); list = _context.HelpDeskTickets.AsNoTracking().ToList(); return Task.FromResult(list); } |
2. In Administrator.Razor comment out OnInitialized and overrride OnInitializedAsync
protected override async Task OnInitializedAsync() { isLoading = true; colHelpDeskTickets = await @Service.GetHelpDeskTickets(); } |
BR
Jutta