I've got a TelerikGrid inside a Blazor EditForm component (abridged code):
<EditForm Model="@_billOfLadingVM" OnValidSubmit="@HandleValidSubmit">other bound components here
<TelerikGrid Data=@_billOfLadingVM.BillOfLadingContainers EditMode="incell" Pageable="true"> <TelerikGridEvents> <EventsManager OnUpdate="@UpdateHandler"></EventsManager> </TelerikGridEvents> <TelerikGridToolBar> <TelerikGridCommandButton Command="Create" Icon="add">Add Container</TelerikGridCommandButton> </TelerikGridToolBar> <TelerikGridColumns> @*<TelerikGridColumn Field=@nameof(HSCodeModel.HSCodeId) Title="ID" Editable="false" />*@ <TelerikGridColumn Field=@nameof(BillOfLadingContainerModel.ContainerCode) Title="Container Code" /> <TelerikGridColumn Field=@nameof(BillOfLadingContainerModel.ContainerSizeId) Title="Container Size" /> <TelerikGridColumn Field=@nameof(BillOfLadingContainerModel.IsLCL) Title="LCL" /> <TelerikGridCommandColumn> <TelerikGridCommandButton Command="Update" Icon="save" ShowInEdit="true">Update</TelerikGridCommandButton> <TelerikGridCommandButton Command="Edit" Icon="edit">Edit</TelerikGridCommandButton> <TelerikGridCommandButton Command="Delete" Icon="delete">Delete</TelerikGridCommandButton> <TelerikGridCommandButton Command="Cancel" Icon="cancel" ShowInEdit="true">Cancel</TelerikGridCommandButton> </TelerikGridCommandColumn> </TelerikGridColumns> </TelerikGrid></EditForm>
When I press the Create command button (i.e. add new row in grid) in the grid's toolbar it seems like it causes the form to be submitted as the OnValidSubmit method is called. Is that the expected behaviour and is there any way to stop that happening?
My grid is updating child data of my `_billOfLadingVM` model class, so I don't want the grid to submit the whole form as the user may still have other data to enter in the other components.
The obvious solution is to move the grid outside of edit form component tags, but that's tricky to do with this particular form's layout.
Dear Telerik,
I have deployed our server-side Blazor app to our IIS Server.
Everything works except , the Telerik Controls have no Visuals (CSS) ?
De Grid has no gridlines, the command buttons haven no icon, the tab-headers are rendered vertically, all fonts are black .
I have attached a screenshot.
Is there something I have missed or should do ?
regards,
Gert
Dear Telerik;
The Window-Component is really awesome.
I have a small issue opening a new Window from within a opened Window.
Both Windows are marked as Modal .
The second Window displays on top of the first Window, which is perfect, but is not modal.
I still can changes Controls in the first Window.
Is it possible to correct this ?
Regards,
Gert
Dear Telerik,
Is it possible to select a row ? Visually and logically ?
I need a modal choose-dialog -> Window with a grid where I can select an item and pass the selected object to the main Page.
Is it already possible ?
Regards,
Gert
Hi i am die hard WPF developer taking a peek at the grid component of Blazor.
I use data and UI virtualisation features of radgridview heavily in my existing WPF apps, and it would be great to have these features available in Blazor.
A couple of references here.
https://docs.telerik.com/devtools/wpf/controls/radgridview/features/ui-virtualization.
Is this something that may be considered?
Thanks
Ross
It would be great to have a Modal Window example added to the docs
https://docs.telerik.com/blazor/components/window/overview
I use modal user controls in WPF quite a bit for submitting lengthy forms. sometime the modal has check boxes so it is a bit more complex than a browser alert.
Cheers
Ross
I am following the instructions on the doc "First Steps with UI for Blazor" (https://docs.telerik.com/blazor/getting-started/first-steps.html#add-to-existing-project). In the section titled "Add to Existing Project", the first instruction states:
Activate a trial by visiting the following link: https://www.telerik.com/download-trial-file/v2-b/ui-for-blazor
When I do this, a file named "Telerik.UI.for.Blazor.0.4.0" is downloaded to my machine. What do I do with this file?
William Burrows
Hello, I have an open-source project in mind for which I want to use telerik blazor components for the UI part.
Is it allowed to publish my project in github with references to kendo-blazor? now everyone will be able to download the kendo blazor nuget package but once it is GA what will happen? will you have some kind of license for open-source projects?
Thanks.
Hi
I'm using version 03.0 of the Telerik.UI.for.Blazor component with .NET Core 3.0.100-preview3-010431 and get the following:
WarningNU1603: Telerik.UI.for.Blazor 0.3.0 depends on Microsoft.Extensions.DependencyInjection (>= 3.0.0-preview3-19153-02) but Microsoft.Extensions.DependencyInjection 3.0.0-preview3-19153-02 was not found. An approximate best match of Microsoft.Extensions.DependencyInjection 3.0.0-preview4.19121.1 was resolved.
and
ErrorNU1605: Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview4.19120.16 to 3.0.0-preview3.19128.7. Reference the package directly from the project to select a different version.
Please Advise
Arthur