Telerik Forums
UI for Blazor Forum
5 answers
273 views

Both of these events take a collections of items (IEnumerable<IFormFile> for Save and string[] for Remove).

My question is why?? It appears that these methods are called for each file uploaded (or removed).  

It appears it is this way regardless of whether I auto upload or not? 

Why can't I just send the method 1 item instead of a collection of items???

Marin Bratanov
Telerik team
 answered on 11 Sep 2020
3 answers
422 views

When using multiple selection in the TreeList... i have the checkbox column as one of the columns and SelectChildren is set to true. The checkbox works great to select its children... but when clicking the row... it only selects the row you click on... and breaks the checkbox select children behavior... i am using 2 way binding for the selected items to preselect certain rows as well..

 

How can I get the row selection to adhere to the same select children rule of the checkbox column?

Marin Bratanov
Telerik team
 answered on 11 Sep 2020
1 answer
399 views

 

I have these two variables

public DateTime? StartDate { get; set; }
public string StartDateShortDate => StartDate?.ToShortDateString();

 

If I filter on StartDate the sorting start with 2016 then 2017 then 2018 ... like expected.

If I filter on StartDateShortDate the sorting is at "random".

Maurice

Marin Bratanov
Telerik team
 answered on 11 Sep 2020
1 answer
178 views

Is it possible to use something like ClientFooterTemplate in blazor?

Like it was possible in the MVC grid? Or do we haven to wait for this a little bit longer.

 

Maurice

Marin Bratanov
Telerik team
 answered on 11 Sep 2020
2 answers
218 views

Hey everyone,

I'm not sure it a ticket is already open about this or if it was already adressed but i'm having Null referenced exception on the OnInitializedAsync when i have FilterMode.FilterRow and there are no records yet. 

 

Works fine when i change for FilterMode.None. 

 

 

Svetoslav Dimitrov
Telerik team
 answered on 11 Sep 2020
1 answer
1.8K+ views
TRy to use the TelerikTreeList in one blazor application and it is showing as Found markup element with unexpected name 'TelerikTreeList'. Why it is not supporting. Am I missing some libraries?
 
Svetoslav Dimitrov
Telerik team
 answered on 11 Sep 2020
5 answers
1.5K+ views

Hi, my goal is obtain a layout with a left menu (Push) and a right menu (Overlay) and in the middle the page content.

 

I tried nesting 2 TelerikDrawer objects without success:

<TelerikDrawer Data="LeftItems" Mode="DrawerMode.Push" MiniMode="true">
   <Content>

      <TelerikDrawer Data="RightItems" Mode="DrawerMode.Overlay" Position="DrawerPosition.Right">

         <Content>

...

         </Content>

      </TelerikDrawer>

   </Content>
</TelerikDrawer>

 

The right drawer is not visualized..

 

How to obtain the desired layout?

 

Thanks

Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
 answered on 09 Sep 2020
2 answers
128 views

Unsure if this is related to uploading large files considering the issue is not seen when uploading <500mb files but when attempting to upload a 600mb file, the POST method is firing before the file even reaches 50% upload resulting in a null IEnumerable<IFormFile>. When the file does finish its upload, the completion handler fires immediately.

 

Thanks,

Minh

Minh
Top achievements
Rank 1
 answered on 08 Sep 2020
2 answers
1.0K+ views

Hi replicate your demo in my project but adding pageable=true result in nullreferenceexception

 

<TelerikGrid Data="@MyData" Height="400px" 
             Pageable="true" PageSize="10" Page="1" Sortable="true" Groupable="true"
             FilterMode="Telerik.Blazor.GridFilterMode.FilterRow"
             Resizable="true" Reorderable="true">
    <GridColumns>
        <GridColumn Field="@(nameof(SampleData.Id))" Width="120px" />
        <GridColumn Field="@(nameof(SampleData.Name))" Title="Employee Name" Groupable="false" />
        <GridColumn Field="@(nameof(SampleData.Team))" Title="Team" />
        <GridColumn Field="@(nameof(SampleData.HireDate))" Title="Hire Date" />
    </GridColumns>
</TelerikGrid>

@code {
    public IEnumerable<SampleData> MyData = Enumerable.Range(1, 30).Select(x => new SampleData
    {
        Id = x,
        Name = "name " + x,
        Team = "team " + x % 5,
        HireDate = DateTime.Now.AddDays(-x).Date
    });

    public class SampleData
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Team { get; set; }
        public DateTime HireDate { get; set; }
    }


}

 

System.ArgumentNullException: Value cannot be null. (Parameter 'format')
   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.Format(String format, Object arg0, Object arg1, Object arg2)
   at Telerik.Blazor.Components.TelerikPager.<BuildRenderTree>b__104_0(RenderTreeBuilder __builder2)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
   at Microsoft.AspNetCore.Components.CascadingValue`1.Render(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()

Aldo
Top achievements
Rank 2
 answered on 07 Sep 2020
1 answer
136 views

See the attached image. The flag images are only 21px wide, but the PopupWidth is 69px.

So I seem to have 48px of margins and/or paddding.
Since the dropdown collapses when it no longer has the focus, i cannot see the styles in Chrome Devtools.

I am using <ItemTemplate> and <ValueTemplate> to format the <select> and <option> elements.

Marin Bratanov
Telerik team
 answered on 07 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?