4 Answers, 1 is accepted
Hi Djole,
You have two options:
- Use the built-in Grid edit command and the built-in Grid popup edit container. In this case, see Grid popup form template.
- Use a completely custom approach that does not use anything built-in from the Grid. In this case, see Grid editing in a custom form. You can still render the custom form in a Window if you like.
As you see, in both cases you won't be using the built-in Grid events like OnCreate and OnUpdate.
Regards,
Dimo
Progress Telerik
It is very outdated from the year 2020 built with Telerik 3.x. Many of the features are now different and need a lot of polish, even though I did not make it work. Documentation on site is less than sufficient so it looks that this very needed option for any data processing application is pretty neglected.
The mentioned app requires three things to run with a newer .NET version and the latest Telerik components:
- Rename GridToolBar to GridToolBarTemplate
- Migrate a few string icons to SVG or FontIcons
- Add https in Properties/launchSettings.json
We have literally thousands of runnable samples in our demos, documentation, knowledge base, and GitHub blazor-ui repo. The examples in GitHub have lower priority in terms of maintenance, except the sample apps that we showcase on the Demos home page with thumbnails.
I understand that an outdated example may look bad, but the primary value of the GitHub apps is to show an idea for achieving a custom scenario. At the same time, we acknowledge that the outdated samples pose a maintenance burden and inconvenience for the customers, so we recently started migrating them to the Knowledge Base.
In addition, the Custom Popup Form sample in GitHub is practically the same as the Grid Editing in a Custom Form online demo, with the addition of a Window. The GitHub sample was created before a Grid popup form template existed. The latter is our primary recommendation for your requirement (unless there is a specific reason not to use this approach).
Finally, if you have specific feedback or suggestions for the content on our documentation site, do let us know.
I have to be completely honest. I have been programming for 30+ years, my first programming language was C. I have been in this business for a long time and run a small but relatively successful company that decided this summer to change its development environment. For several reasons, the choice is Blazor and .NET. My task is to test the existing, available tools and to make a choice with which the company will be guided in the following projects. I tested Syncfusion first, and the tool turned out to be very usable. Considering that during the free and unlimited evaluation of the Syncfusion library I also had to adapt to Blazor (before that we hardly used C#), it took a little more time. We were turned away from this by the very high price with a lot of unnecessary features in case we go beyond the limits they have listed for free use.
Thanks for the detailed insights, Djordje, I appreciate it.
Based on...
>> I just don't see how I can separate the table component from the form component
... I wonder if there is any misunderstanding between us. The previously provided examples should show exactly that. So, can you please explain what exactly are you trying to do and how the following examples don't fit your purpose?
If it works as you stated then your documentation is no good or I am not capable of understanding it.
Hi Djordje,
It looks like you want to use .NET 8. Migration from older .NET versions to 8 requires some steps, and one of the important ones is interactivity. If user actions on a given page have no effect, then chances are that interactivity is not enabled. This applies to all Razor components in general.
I am sending an attached .NET 8 app, which works as expected.
Indid it works. You made substantial changes and now it works.
Thank you Dimo for your commitment to solve problems.
Djordje