Duplicated
Last Updated: 21 Aug 2021 11:37 by ADMIN

I cannot find an option of grid.SaveAsExcel() with blazor. 

I can export the grid using the grid toolbar but I want to export it without using the toolbar. I have a button group which has a row of buttons and I want to export the grid within the OnClick() event of the button group button. 

Could you please see if that is possible? Using .net core hosted blazor wasm

Thanks

Declined
Last Updated: 16 Aug 2021 15:51 by ADMIN
Keyboard users can't use the remove all selected options button. Users can over come this by removing each selected option one by one. 
Declined
Last Updated: 11 Aug 2021 14:42 by ADMIN
Created by: Baires
Comments: 3
Category: UI for Blazor
Type: Bug Report
1

There are some random bugs occurring after the latest version update (2.26.0)

- Styles evolving some buttons are broken
- Radio buttons are not working

 

Also, we're restoring the package on our automated CI/CD and the telerik nuget server does not have the previous versions available, we're are obligated to use the latest one, that's the main problem, you should have the previous version available, right now everything here is broken because of the latest version and we're creating a manual release to have the previous version in place

Duplicated
Last Updated: 10 Aug 2021 10:13 by René
Created by: Philip
Comments: 5
Category: UI for Blazor
Type: Bug Report
2

Hello

 

I have just received some feedback from a client re. the DateInput -Blazor control whereby they are describing the default behaviour as "strange" - and on having a closer look I tend to agree / believe there to be bugs with this.

 

Please see video and below notes - let me know if there are any workarounds to these things.
I do see there is an existing bug report which may partially cover these issues (DatePicker loses focus when used as data editor in the Grid and the input date starts with 0 (telerik.com)) , however, it seems this is "unplanned" ?

 

QA Telerik DateInput:

  • Try entering in M =  1 then 1 SLOW = works ok

  • Try entering in M =  1 then 1 FAST = focus moves to the end of the date

  • Try entering 0 in the month or day  = Whole date disappears 
    (Data loss - for in-cell edit mode this is a big deal)

  • Try entering DD = 11 then its ok for 1st edit, but 2nd edit of the DD, 
    then the focus moves to the end????

  • Try entering M = 1, D = 8, Y=2021 without using the mouse 
    (its not possible as 01 would move focus to end of date).... 
    and if you choose to type 01 and its not fast enough, the whole date will disappear on entry of 0

 

Entering a date without using the mouse to move focus is quite important for big data-entry in grids where you are tabbing or clicking over from field to field in large quantities.

 

Cheers
Phil

Completed
Last Updated: 03 Aug 2021 09:41 by ADMIN
Release 2.26.0
Created by: Kay
Comments: 6
Category: UI for Blazor
Type: Feature Request
57

A Gantt Chart is one big thing missing that is always high on my blazor UI wish list.

 

Kind regards,

Kay

---

ADMIN EDIT

For the time being, a workaround could be to wrap a JS widget, an example is available in this sample project, see the MyKendoGantt.razor component.

---

Declined
Last Updated: 01 Aug 2021 04:12 by Kasim
Created by: Kasim
Comments: 2
Category: UI for Blazor
Type: Feature Request
1

Blazor SSRS Report Viewer Component

There are third party SSRS reports that we are using in our application. There is no built in SSRS report viewer available for Blazor as it is available for ASP.Net Ajax. If Telerik can provide this important feature it would be a big deal.

There are SSRS Report Viewer's for blazor available from third party like

  1. https://www.radzen.com/
  2. https://www.boldreports.com/

Please note, we are not the one creating the reports, Reports are created by third party for another application. This web application is just displaying those reports. So, creating new Telerik Reports or migrating to Telerik Reports is not an option.

 

Completed
Last Updated: 19 Jul 2021 10:34 by ADMIN
Created by: Alberto
Comments: 3
Category: UI for Blazor
Type: Bug Report
1

Hi!

Im using a Grid component InCell Editing the OnDelete, OnUpdate handlers are working fine but OnCreate handler its not working. By the way im using a service to manage the CRUD operations as follows

 

Page Component

@page "/districts"
@using MVC.Services
@using MVC.Models
@using System.ComponentModel.DataAnnotations
@inject IDistrictService DistrictService
<h3>Districts</h3>
<TelerikGrid Data="@district" Sortable="true" EditMode="@GridEditMode.Incell"
             Height="500px"
             Pageable="true" PageSize=@PageSize
             OnUpdate=@UpdateItem OnDelete=@DeleteItem OnCreate=@CreateItem OnCancel="@OnCancelHandler">
    <GridToolBar>
        <GridCommandButton Command="Add" Icon="add">Add District</GridCommandButton>
    </GridToolBar>
    <GridColumns>
        <GridColumn Field="@(nameof(District.Id))" Editable="false" />
        <GridColumn Field="@(nameof(District.Description))" Title="Description" />
        <GridColumn Field="@(nameof(District.EnableApprovalWorkflow))" Title="Enable Approval Workflow" />
        <GridCommandColumn>
            <GridCommandButton Command="Delete" Icon="delete">Delete</GridCommandButton>
        </GridCommandColumn>
    </GridColumns>
</TelerikGrid>
@code {
    int PageSize = 15;
    IEnumerable<District> district;

    protected override async Task OnInitializedAsync()
    {
        await GetGridData();
    }
    async Task GetGridData()
    {
        district = await DistrictService.DistrictList();
    }
    async Task CreateItem(GridCommandEventArgs args)
    {
        District item = (District)args.Item;
        await DistrictService.DistrictInsert(item);
        await GetGridData();
    }

    void OnCancelHandler(GridCommandEventArgs args)
    {
        District item = (District)args.Item;
    }

    async Task DeleteItem(GridCommandEventArgs args)
    {
        District item = (District)args.Item;
        await DistrictService.DistrictDelete(item.Id);
        await GetGridData();
    }

    async Task UpdateItem(GridCommandEventArgs args)
    {
        District item = (District)args.Item;
        await DistrictService.DistrictUpdate(item);
        await GetGridData();
    }
}

Service Logic


using Dapper;
using Microsoft.Data.SqlClient;
using MVC.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MVC.Services
{
    public class DistrictService : IDistrictService
    {
        private readonly SqlConnectionConfiguration _configuration;
        public DistrictService(SqlConnectionConfiguration configuration)
        {
            _configuration = configuration;
        }
        public async Task<bool> DistrictInsert(District district)
        {
            using (var conn = new SqlConnection(_configuration.Value))
            {
                var parameters = new DynamicParameters();
                parameters.Add("Description", district.Description, DbType.String);
                parameters.Add("EnableApprovalWorkflow", district.EnableApprovalWorkflow, DbType.Boolean);
                await conn.ExecuteAsync("spLookupDistrict_Insert", parameters, commandType: CommandType.StoredProcedure);
            }
            return true;
        }
        public async Task<IEnumerable<District>> DistrictList()
        {
            IEnumerable<District> districts;
            using (var conn = new SqlConnection(_configuration.Value))
            {
                districts = await conn.QueryAsync<District>("spLookupDistrict_List", commandType: CommandType.StoredProcedure);
            }
            return districts;
        }
        public async Task<IEnumerable<District>> DistrictSearch(string @Param)
        {
            var parameters = new DynamicParameters();
            parameters.Add("@Param", Param, DbType.String);
            IEnumerable<District> districts;
            using (var conn = new SqlConnection(_configuration.Value))
            {
                districts = await conn.QueryAsync<District>("spLookupDistrict_Search", parameters, commandType: CommandType.StoredProcedure);
            }
            return districts;
        }
        public async Task<District> District_GetOne(int @Id)
        {
            District district = new District();
            var parameters = new DynamicParameters();
            parameters.Add("@Id", Id, DbType.Int32);
            using (var conn = new SqlConnection(_configuration.Value))
            {
                district = await conn.QueryFirstOrDefaultAsync<District>("spLookupDistrict_GetOne", parameters, commandType: CommandType.StoredProcedure);
            }
            return district;
        }
        public async Task<bool> DistrictUpdate(District district)
        {
            using (var conn = new SqlConnection(_configuration.Value))
            {
                var parameters = new DynamicParameters();
                parameters.Add("Id", district.Id, DbType.Int32);

                parameters.Add("Description", district.Description, DbType.String);
                parameters.Add("EnableApprovalWorkflow", district.EnableApprovalWorkflow, DbType.Boolean);

                await conn.ExecuteAsync("spLookupDistrict_Update", parameters, commandType: CommandType.StoredProcedure);
            }
            return true;
        }
        public async Task<bool> DistrictDelete(int Id)
        {
            var parameters = new DynamicParameters();
            parameters.Add("@Id", Id, DbType.Int32);
            using (var conn = new SqlConnection(_configuration.Value))
            {
                await conn.ExecuteAsync("spLookupDistrict_Delete", parameters, commandType: CommandType.StoredProcedure);
            }
            return true;
        }
    }
}

Declined
Last Updated: 17 Jul 2021 14:24 by ADMIN

Hi !,

 

I just installed and started to use Telerik Blazor , all controls are working fine but when trying to use the Dialog Component, after adding the cascading parameter in the code section i getting the following error :

Dialog compoentn error

 

https://ibb.co/48wNznW

Thank you for your support.

 

Regards,

Alberto

 

Declined
Last Updated: 17 Jul 2021 10:29 by ADMIN
Created by: Matt
Comments: 6
Category: UI for Blazor
Type: Feature Request
0

I wasn't sure if I should report this as a bug or not. With a modal window, you can tab beyond the modal window into the URL, and then continue on into the page behind the modal window itself. I was able to recreate this on the Modal demo, and fire a search, even though I couldn't click to get there. As I saw in another post that it is essentially a viewport modal (https://feedback.telerik.com/blazor/1510450-prevent-the-user-from-dragging-a-window-out-of-the-viewport), would it be possible to force modal to be system modal, as was available back in the ancient Winforms days?

---

ADMIN EDIT

That's how a web page behaves. Code in a web page cannot and should not prevent the user from using their OS. The browser chrome (address bar, buttons and so on) are part of the OS, and as such are beyond the sandbox of the web app. The web app is limited to the viewport, it cannot go out of it, or interact or control elements outside of it. Anything else would be a severe security issue.

A system-wide modal dialog is only possible though a native application, but not in a web application.

---

Unplanned
Last Updated: 12 Jul 2021 15:05 by ADMIN

Hi.  Still in the trial phase, and I was curious about this.

I'm trying to develop two apps, one in ASP.NET Core and the other in Blazor WASM.

I found the ASP.NET Core Bottom Navigation which is perfect for the ASP.NET Core project.  Shown here.

However, I'd like to be able to show continuity as users transition to the Blazor project and I don't see a BottomNavigation component listed for Blazor.

Is this something that can be added to the Blazor UI tools, or is there an example someplace I can use to get started?

Thanks in advance.

Completed
Last Updated: 29 Jun 2021 20:06 by ADMIN
Created by: Steffen
Comments: 1
Category: UI for Blazor
Type: Feature Request
0

Hi,

we are having a hard time to come up with a general application layout (menu/navigation).

We found PanelBar, Menu and Drawer... are there any other controls related to menu & navigation?

A more UX oriented documentation (and not only for the technical components individually) would be nice e.g. like they do it here: Overview | Clarity Design System

 

Kind regards

Steffen

Duplicated
Last Updated: 26 Jun 2021 16:01 by ADMIN
Created by: Aleksandr
Comments: 1
Category: UI for Blazor
Type: Feature Request
1
everything is in subject
Completed
Last Updated: 22 Jun 2021 19:27 by ADMIN
Release 2.25.0
Created by: Marin Bratanov
Comments: 0
Category: UI for Blazor
Type: Feature Request
2

A stack panel component that creates a layout of items that are vertically positioned.

tpf-layout-predefined-layout-panels-stacklayoutpanel 001

It could also have a wrap layout to make the items horizontal with wrapping

tpf-layout-predefined-layout-panels-wraplayoutpanel 001

or horizontal without wrapping

Completed
Last Updated: 22 Jun 2021 19:26 by ADMIN
Release 2.25.0
Created by: Emanuel
Comments: 0
Category: UI for Blazor
Type: Feature Request
4

Hi

I would like a "Steper" as the one you have in your MVC product.

Unplanned
Last Updated: 22 Jun 2021 12:34 by ADMIN
Created by: Zachariah
Comments: 2
Category: UI for Blazor
Type: Feature Request
3
I use a 3D Cartesian Chart in my WPF applications. Id like to make a blazor server side version of these applications. Is a 3d cartesian chart in the works?
Duplicated
Last Updated: 21 Jun 2021 13:13 by ADMIN
Created by: Fairoz
Comments: 3
Category: UI for Blazor
Type: Feature Request
0

Hi,

Would be great if there could be a Timeline component for Blazor. Just like the Timeline component for WPF at "https://docs.telerik.com/devtools/wpf/controls/radtimeline/overview".

I need that component or something similar to show time based instances of activity on a particular item. A lack of such visualisation feature is making us hold on to the WPF one. 

Thanks.

Completed
Last Updated: 15 Jun 2021 20:49 by ADMIN
Release 2.25.0
Created by: Adrian
Comments: 0
Category: UI for Blazor
Type: Feature Request
18

Like the grouping in the Kendo combo box https://demos.telerik.com/kendo-ui/combobox/grouping

<AdminEdit>

This Feature Request would be an umbrella for implementing items grouping for select components (ComboBox, DropDownList, MultiSelect, and others).

</AdminEdit>

Completed
Last Updated: 14 Jun 2021 13:01 by ADMIN
Created by: Chris
Comments: 1
Category: UI for Blazor
Type: Feature Request
0

It would be nice to switch the color schemes used by the telerik Blazor components on-the-fly in an application (i.e. switch from light mode to dark mode). I realize you have a JS approach to this problem, however that requires maintaining multiple stylesheets and custom javascript, which we are trying to avoid in a Blazor project. I like the approach used by MudBlazor where basically all css colors are variables that can be easily switched at runtime without any javascript:

https://mudblazor.com/wasm/customization/theming/overview

Duplicated
Last Updated: 12 Jun 2021 06:28 by ADMIN
Created by: Don
Comments: 1
Category: UI for Blazor
Type: Feature Request
0
Allow pre-canned major cities, custom pins, and custom lat/long with label name.

Example live daylight map: https://www.flightradar24.com/

Completed
Last Updated: 10 Jun 2021 09:23 by ADMIN
Release 2.25.0
Created by: Graham
Comments: 6
Category: UI for Blazor
Type: Feature Request
36

I would like components like the TextBox, NumericTextBox, TextArea, Button to have a method in their reference similar to the FocusAsync() which Microsoft included to the ElementReference in .NET5.

---

ADMIN EDIT

For the time being, you can use JS interop and prepare a suitable selector. Here is a basic example for the button:

@inject IJSRuntime _js

Notes:<br />
- Move this script to a proper place, it is hacked into the component to make this snippet short
- Make sure the ID is unique if you use IDs. THere are other selectors you can use (such as classes, or you can even cascade your selectors to make them more specific)
<br /><br />

<script suppress-error="BL9992">
    function focusElement(selector) {
        var elem = document.querySelector(selector);
        if (elem && elem.focus) {
            setTimeout(function () {
                elem.focus();
            }, 30);
        }
    }
</script>

<TelerikButton OnClick="@FocusBtn">Focus the other button</TelerikButton>

<br /><br />

<TelerikButton Id="@btnId" OnClick="@SpecialBtnAction">I will be focused programmatically</TelerikButton>

@code{
    string btnId = "my-special-btn";

    async Task FocusBtn()
    {
        await _js.InvokeVoidAsync("focusElement", $"#{btnId}");
    }

    async Task SpecialBtnAction()
    {
        Console.WriteLine("special button clicked");
    }
}

---