Iron
Should i use C# for this idea??
I should mention that the reason i am asking is i have been doing work in PHP lately and i did not touch C# in awhile, i was going to do this all in PHP/Javascript but thats when i was starting to think should i maybe consider like Blazor for this?
13 replies
❔ save checkbox value after refresh
Not sure, first i would prob let telrik know the isPlannable property is bindable by adding a Bindable tag to it( if one still does that ) `
That tells Telerik grid component to treat this property as bindable. Then it can be bound to a checkbox
Im not so used to Telerik tho i might be wrong as i said.
Then maybe use this:
`
This will create a checkbox in the grid that is bound to the IsPlannable of each employee.
Then modify the SaveData method to update the plannableEmployees list instead of updating allEmployees
But as i said, if you have a DB, you prob need to make a API call to that DB to read/write, in my case, i usually create the database write/read stuff in my controllers, then i can access data or change using calls to the API.
If you are using entity framework core you can do something like this:
`
Dont listen to everything i say tho because i am not 100%, prob others in this discord who know way more about this. Im just giving you examples
16 replies
❔ Avoid "Authorizing..." in Blazor Page (Identity)
This app.razor is from the template i started the project with. Could you give me an example or a link ? Thanks for your answer thats good to know, im just unsure what to do should i remove cascading from app.razor and wrap it around pages that i need it on or ?
7 replies