Telerik Forums
UI for Blazor Forum
1 answer
320 views

Dear Telerik,

I have a question regarding the TelerikDatePicker's Format property.
I have set the format to "dd/MM/yyyy"

<TelerikDatePicker Format="dd/MM/yyyy"  bind-Value="@DatePickerValue" ValueChanged="@OnDateChanged"></TelerikDatePicker>

But the Picker still displays the date as yyyy-MM-dd.

I have tried various ways, including setting the CultureInfo in different ways, but nothing seams to help.

Do you have a solution for this ?

 

Regads,

Gert

 

Marin Bratanov
Telerik team
 answered on 14 May 2019
11 answers
664 views

Hi,

Is there currently a way to run some code when the user chooses a value out of the DropDownList? I couldn't find an event and I couldn't see anything in the help.

Thanks.

 

Marin Bratanov
Telerik team
 answered on 13 May 2019
1 answer
644 views

I would like to style the drop down list in the editor template and maybe the checkbox elements in a grid.  Is this possible at the moment?

 

Thanks,

Kenny

Marin Bratanov
Telerik team
 answered on 13 May 2019
10 answers
1.7K+ views

I have a relation that I am trying to represent in a grid.

 

One object has a Guid that points to another object which has a textual representation of the field.

I want to display the textual value in the grid. 

The editor should display a pick list of values that display the textual values (drop down list), but puts the guid into the referencing object.

 

So to say this another way, I want a guid field in the grid to display as the related textual value.  When you edit the field, it should be a pic list with the textual values from that table.  The selected value from that list should save the related guid into the model object.

 

I imagine this is a common use case.

 

Do you have an example of something like this?

 


Kenny
Top achievements
Rank 2
 answered on 12 May 2019
7 answers
1.0K+ 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
280 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
373 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
585 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
594 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
221 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?