Telerik Forums
UI for Blazor Forum
7 answers
1.1K+ views

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.

Marin Bratanov
Telerik team
 answered on 09 May 2019
2 answers
391 views
I'm trying to bind a TelerikDatePicker component to a nullable DateTime property, but I'm getting a compile time warning of "cannot convert from System.DateTime? to System.DateTime".  Does the TelerikDatePicker support binding to nullable values and if not, could it be changed to do so?
Tom
Top achievements
Rank 1
 answered on 07 May 2019
3 answers
416 views

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

 

Marin Bratanov
Telerik team
 answered on 07 May 2019
1 answer
622 views

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

 

 

Marin Bratanov
Telerik team
 answered on 06 May 2019
1 answer
649 views

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

Marin Bratanov
Telerik team
 answered on 06 May 2019
3 answers
262 views

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.

https://docs.telerik.com/devtools/wpf/controls/radgridview/populating-with-data/populating-datavirtualization.

 

Is this something that may be considered?

Thanks

Ross

Joana
Telerik team
 answered on 29 Apr 2019
2 answers
588 views

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

 

Joana
Telerik team
 answered on 26 Apr 2019
4 answers
142 views

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

burrows@uw.edu
Top achievements
Rank 1
 answered on 18 Apr 2019
1 answer
786 views

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.

 

 

Carl
Telerik team
 answered on 09 Apr 2019
1 answer
191 views

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

Pavlina
Telerik team
 answered on 08 Apr 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?