Completed
Last Updated: 10 Feb 2023 06:57 by ADMIN
Created by: Ben
Comments: 1
Category: UI for Blazor
Type: Bug Report
0
Just came across this while looking at source code...
Unplanned
Last Updated: 27 Jan 2023 09:18 by ADMIN
Created by: Buddhi
Comments: 1
Category: UI for Blazor
Type: Bug Report
5
I am using Telerik blazor grid and it is groupable and can be edited cell itself. i have used a button to group the grid.but after grouping when i am going to edit a cell ,entire grid is getting loaded.
following you can see a my code sample .how we can edit cell without loading grid .


@using System.ComponentModel.DataAnnotations 

<TelerikButton ThemeColor="primary" OnClick="@SetGridGroup">Group</TelerikButton>


<TelerikGrid Data=@MyData EditMode="@GridEditMode.Incell" Pageable="true" Height="500px"
            OnUpdate="@UpdateHandler" 
            OnEdit="@EditHandler" 
            OnDelete="@DeleteHandler"
            OnCreate="@CreateHandler" 
            OnCancel="@OnCancelHandler"
            Groupable="true">
    <GridToolBarTemplate>
        <GridCommandButton Command="Add" Icon="@FontIcon.Plus">Add Employee</GridCommandButton>
    </GridToolBarTemplate>
    <GridColumns>
        <GridColumn Field=@nameof(SampleData.ID) Title="ID" Editable="false" />
        <GridColumn Field=@nameof(SampleData.FirstName) Title="Name" />
        <GridColumn Field=@nameof(SampleData.LastName) Title="Last Name" />

        <GridColumn Field=@nameof(SampleData.Team ) Title="Team" />
        <GridCommandColumn>
            <GridCommandButton Command="Delete" Icon="@FontIcon.Trash">Delete</GridCommandButton>
        </GridCommandColumn>
    </GridColumns>
</TelerikGrid>
@code {
    async Task SetGridGroup()
    {
        GridState<SampleData> desiredState = new GridState<SampleData>()
        {
            GroupDescriptors = new List<GroupDescriptor>()
            {
                new GroupDescriptor()
                {
                    Member = "Team",
                    MemberType = typeof(string)
                },
                
            },
            // choose indexes of groups to be collapsed (they are all expanded by default)
            CollapsedGroups = new List<int>() { 0 },
        };
        await Grid.SetStateAsync(desiredState);
    }
    void EditHandler(GridCommandEventArgs args)
    {
        SampleData item = (SampleData)args.Item;
        // prevent opening for edit based on conditionif (item.ID < 3)
        {
            args.IsCancelled = true;// the general approach for cancelling an event
        }
        Console.WriteLine("Edit event is fired.");
    }
    async Task UpdateHandler(GridCommandEventArgs args)
    {
        SampleData item = (SampleData)args.Item;
        await MyService.Update(item);
        await GetGridData();
        Console.WriteLine("Update event is fired.");
    }
    async Task DeleteHandler(GridCommandEventArgs args)
    {
        SampleData item = (SampleData)args.Item;
        await MyService.Delete(item);
        await GetGridData();
        Console.WriteLine("Delete event is fired.");
    }
    async Task CreateHandler(GridCommandEventArgs args)
    {
        SampleData item = (SampleData)args.Item;
        await MyService.Create(item);
        await GetGridData();
        Console.WriteLine("Create event is fired.");
    }
    void OnCancelHandler(GridCommandEventArgs args)
    {
        SampleData item = (SampleData)args.Item;
        Console.WriteLine("Cancel event is fired. Can be useful when people decide to not satisfy validation");
    }
    public class SampleData
    {
        publicint ID { get; set; }
        [Required]
        public string FirstName { get; set; }
        public string LastName { get; set; }

        public string Team {get;set;}
    }
    public List<SampleData> MyData { get; set; }
    async Task GetGridData()
    {
        MyData = await MyService.Read();
    }
    protected override async Task OnInitializedAsync()
    {
        await GetGridData();
    }
   publicstaticclassMyService
    {
        private static List<SampleData> _data { get; set; } = new List<SampleData>();
        public static async Task Create(SampleData itemToInsert)
        {
            itemToInsert.ID = _data.Count + 1;
            _data.Insert(0, itemToInsert);
        }
        publicstaticasync Task<List<SampleData>> Read()
        {
            if (_data.Count < 1)
            {
                for (int i = 1; i < 50; i++)
                {
                    _data.Add(new SampleData()
                    {
                        ID = i,
                        FirstName = "Name " + i.ToString(),
                        LastName = "Last Name " + i.ToString(),

                        Team="Team" +(i%5).ToString()
                    });
                }
            }
            returnawait Task.FromResult(_data);
        }
        public static async Task Update(SampleData itemToUpdate)
        {
            var index = _data.FindIndex(i => i.ID == itemToUpdate.ID);
            if (index != -1)
            {
                _data[index] = itemToUpdate;
            }
        }
        public static async Task Delete(SampleData itemToDelete)
        {
            _data.Remove(itemToDelete);
        }
    }
}


Duplicated
Last Updated: 26 Jan 2023 16:56 by ADMIN
Created by: ManojKumar
Comments: 3
Category: UI for Blazor
Type: Bug Report
1

Changing page size triggers multiple read requests.

Demo

Unplanned
Last Updated: 26 Jan 2023 12:57 by ADMIN

When edit is initiated from code with virtual scroll, a duplicate OnRead request is also triggered.

But this is not the case when built-in edit command button is used.

Demo

Declined
Last Updated: 25 Jan 2023 16:08 by Peter
Created by: Peter
Comments: 2
Category: UI for Blazor
Type: Feature Request
0

In the TelerikForm component, you have "FormItem" with a string parameter of Field and from the string, you somehow bind the data to that field.

For other components, we must use the @bind-Value to get this 2-way binding.

I would like to request the "Field" parameter for more controls like TelerikTextBox where we can bind using the string name of the field like we do in FormItem.

So instead of:

<TelerikTextBox @bind-Value="@customer.CustomerName" />

we would be able to do this:

<TelerikTextBox Field="CustomerName" />

or this:

<TelerikTextBox Field="customer.CustomerName" />

I would suspect that this would only work inside an EditContext.

Peter

Unplanned
Last Updated: 25 Jan 2023 10:43 by ADMIN
Created by: Roman
Comments: 1
Category: UI for Blazor
Type: Feature Request
2

Hi

I'm using the month view for the Telerik Blazor scheduler which works so great and is really easy to use. But I'm missing a feature where I can control how many weeks of the month are visible at once to the user. For example, I don't want to show the entire month, but only two weeks of the month.

I know there is the MultiDay view, but this shows everything in one horizontal row. It would be great to have a feature where the user sees the month with a custom number of weeks.

My suggestion is to add a property to the SchedulerMonthView component called e.g. "WeekCount".

<SchedulerMonthView WeekCount="2"></SchedulerMonthView>

Something like this also exists in Telerik UI for WinForms.

Best Regards,
Roman

Completed
Last Updated: 21 Jan 2023 07:24 by ADMIN
Created by: Peter
Comments: 1
Category: UI for Blazor
Type: Bug Report
0

https://docs.telerik.com/blazor-ui/common-features/icons#fonticon-component

in the SvgIcon Component section, there is this sample code, needs to be updated.

<TelerikSvgIcon Icon="@SvgIcon.Calendar" />

<TelerikSvgIcon Icon="@SvgIcon.Audio"
                Size="@ThemeConstants.Icon.Size.Large"
                ThemeColor="@ThemeConstants.Icon.ThemeColor.Primary" />

Should be

ThemeConstants.SvgIcon or ThemeConstants.FontIcon
Peter
Duplicated
Last Updated: 30 Dec 2022 14:29 by ADMIN
Created by: Kasim
Comments: 2
Category: UI for Blazor
Type: Feature Request
3

The Image Thumbnail Viewer Component should have features like:

  • Face detection-based image cropping
  • Overlay an image over detected faces [To hide faces]
  • Blur or pixelate faces
  • Thumbnail masking within different shapes like:
    • Circle
    • Square
    • Rectangle
    • Hexagon
    • Star etc.
  • Content Aware Padding of images to fix the container size
  • Set transparent background
  • Text overlay
  • Image watermark overlays
  • Recolor a picture
  • Antic Effect

This Thumbnail Viewer can then be used within Data Grid, File Manager/Explorer, Card View, Drop down lists, List Views, Tiles etc.

Completed
Last Updated: 30 Dec 2022 09:44 by Bart
Release 2.22.0
Created by: khashayar
Comments: 4
Category: UI for Blazor
Type: Feature Request
18
I would like to have the TabIndex property to all input components, like ComboBox, NumericTextBox, all date inputs and pickers and so on.
Declined
Last Updated: 22 Dec 2022 11:47 by ADMIN
Created by: Heiko
Comments: 3
Category: UI for Blazor
Type: Bug Report
3
The german translation of "TelerikMessages.resx" resource file have gotten incredibly bad over the last few updates.  For example "Cancel" has 4 different translations and most of them are simply wrong! "Absagen" or "Stornieren" are possible german translations for "Cancel", but not in the context of a simple "OK/Cancel" dialog. Aren't there any people who can control this? I can't possibly present these texts to my customers! 
Unplanned
Last Updated: 16 Dec 2022 15:17 by ZwapSharp
Created by: BENAISSA
Comments: 1
Category: UI for Blazor
Type: Feature Request
72
I would like to be able to customize the keyboard shortcuts in all applicable components in the Telerik UI for Blazor
Completed
Last Updated: 13 Dec 2022 18:24 by ADMIN

I couldn't find a way to change the default AnimationDuration of the combobox's popup. Personally, I find the default AnimationDuration set at 300ms way too high.

I'd like a way to change it either per-component, by setting animation properties on them when appropriate, or globally, by configuring it in Startup.cs or on TelerikRootComponent perhaps. I've no idea how this should work.

---

ADMIN EDIT

Here is a way to change the animation of the dropdown per component - through the PopupClass (note that the popup class may move to the topmost element of the popup in a future version, if this stops working, inspect the rendering to see where the custom class is and how to cascade through it):

<style>
    .fast-animation.k-popup.k-reset {
        transition-duration: 100ms !important;
    }

    .slow-animation.k-popup.k-reset {
        transition-duration: 1000ms !important;
    }

    .no-animation.k-popup.k-reset {
        transition: none !important;
    }
</style>



<TelerikComboBox PopupClass="fast-animation"
                 Data="@myComboData"
                 TextField="MyTextField"
                 ValueField="MyValueField"
                 @bind-Value="selectedValue"
                 Placeholder="Fast animation"
                 ClearButton="true" Filterable="true">
</TelerikComboBox>

<TelerikDropDownList PopupClass="no-animation"
                     Data="@myComboData"
                     TextField="MyTextField"
                     ValueField="MyValueField"
                     @bind-Value="selectedValue"
                     DefaultText="No Animation">
</TelerikDropDownList>

<TelerikDatePicker PopupClass="slow-animation" @bind-Value="@SelectedDate"></TelerikDatePicker>

@code {

    IEnumerable<MyDdlModel> myComboData = Enumerable.Range(1, 20).Select(x => new MyDdlModel { MyTextField = "item " + x, MyValueField = x });
    DateTime SelectedDate { get; set; } = DateTime.Now;
    int selectedValue { get; set; } 
    public class MyDdlModel
    {
        public int MyValueField { get; set; }
        public string MyTextField { get; set; }
    }
}

Unplanned
Last Updated: 09 Dec 2022 10:12 by Steven
Created by: Steven
Comments: 0
Category: UI for Blazor
Type: Feature Request
1

I would like to disable the browser autocomplete. 

Applicable components:

ComboBox, AutoComplete, MultiSelect

Declined
Last Updated: 08 Dec 2022 08:51 by ADMIN
Created by: Buddhi
Comments: 1
Category: UI for Blazor
Type: Bug Report
2

In my blazor application, I have to use a numeric box component . In order to do that, I have created a custom numeric box component like below.  my issue is while I am typing something on the numeric box, time to  time some characters are automatically getting cleared. I have to type those again and again .i don't know what is the issue behind this.




<span @onfocusin="@FocusComponentAsync" @ref="@InputWrapperRef">

                <TelerikNumericTextBox Value="Amount"
                                       ValueChanged="(decimal val)=>OnBlNumercChanged(val)"
                                       Arrows=false>

                </TelerikNumericTextBox>
</span>



@code{

    private ElementReference InputWrapperRef { get; set; }

    private decimal Amount;

                        
    protected override void OnParametersSet()
    {
            this.StateHasChanged();
           
            base.OnParametersSet();
    }    

    private async void OnBlNumercChanged(decimal value)
    {

       //code   
    }

    public async void OnNumericBoxKeyUp(KeyboardEventArgs e){

       //code

    }

    public async Task FocusComponentAsync()
    {
       await _jsRuntime.InvokeVoidAsync("highlightInput", InputWrapperRef);
    }

}


window.highlightInput = (inputWrapper) => {
    var input = inputWrapper.querySelector("input");
    if (!input) return;
    input.select();
}

Declined
Last Updated: 25 Nov 2022 15:09 by ADMIN

The demo for onseriesclicked does not work.  I get the error: An unhandled error has occurred. Reload.  Reload is a link, when I select it, I still get the error.  I can just rip out the demo code and try it myself, but I thought you might want to know, it doesn't work for me:

 

Widows Edge Browser

Windows 10 OS

Completed
Last Updated: 24 Nov 2022 15:11 by ADMIN

Hello,

I am using the TelerikSkeleton component for Blazor and noticed the pulse and wave animations are not working. It seems animation also does not work in your examples here, while it works in Telerik REPL (that's where I could identify the issue)

For my application, I made my custom theme with ThemeBuilder and then imported it into my project as instructed. Going through the css file, I found where the bug is:

How it was:

.k-skeleton-pulse .k-skeleton {
    animation:k-skeleton-pulse 1.5s ease-in-out .5s infinite
}

After my changes:

.k-skeleton-pulse.k-skeleton {
     animation:k-skeleton-pulse 1.5s ease-in-out .5s infinite
}

The only thing I did was I removed the space between the two classes and now it works.

 

Note: I selected "WebAssembly" as application type, but I am actually using it for both a Razor class library and a .NET MAUI Blazor application.

Duplicated
Last Updated: 23 Nov 2022 06:16 by ADMIN
Created by: Lennert
Comments: 0
Category: UI for Blazor
Type: Feature Request
1

Hi,

I'm looking to implement the Filter component (https://demos.telerik.com/blazor-ui/filter/overview ), but I would like to specify a custom editor for the value input field (e.g. for a custom dropdown or other input component for a complex value type).

Is it possible to provide a custom editor template for the value field of the Filter component?

 

Kind Regards,

Duplicated
Last Updated: 22 Nov 2022 19:31 by ADMIN
Created by: Ben Hayat
Comments: 3
Category: UI for Blazor
Type: Feature Request
7

I'd like to request a native Blazor Image Component that allows to provide different parameters to control the image.

This could also help to connect it to the upload component, for user to see the image while still in browser and make some changes, i.e resizing, cropping, Black/White, before sending it to server to be stored.

Thanks!
..Ben

Declined
Last Updated: 22 Nov 2022 17:20 by Peter

In my @code {

TelerikGrid<ClientViewDto>? MainGrid;

 

Completed
Last Updated: 18 Nov 2022 10:25 by ADMIN
Created by: Datafyer
Comments: 3
Category: UI for Blazor
Type: Feature Request
2

It would be helpful in some cases to specify which grid lines to display with a default of both:

None - No lines

Horizontal - Only horizontal row lines

Vertical - Only vertical column lines.

Both - H/V lines