Unplanned
Last Updated: 09 Mar 2022 16:59 by ADMIN

QueryableExtensions.ToDataSourceResult throws IndexOutOfRangeException if a DataTable contains deleted rows.


using System.Data;
using Telerik.DataSource;
using Telerik.DataSource.Extensions;

var dt = GetData();

var res = dt.ToDataSourceResult(new DataSourceRequest());

DataTable GetData()
{
    DataTable table = new DataTable();

    // Make sure you specify the correct types
    // If you have any nulls in your (database) Column, you should use nullable type (int?, DateTime?,...)
    table.Columns.Add("ProductId", typeof(int));
    table.Columns.Add("ProductName", typeof(string));
    table.Columns.Add("UnitPrice", typeof(decimal));
    table.Columns.Add("UnitsInStock", typeof(short));

    // You should set default values to the columns that could be skipped in Create/Edit.
    // The alternative approach is to set the default values in the UpdateHandler and/or CreateHandler.

    // Having a default value in this case will prevent having DBNull values in your DataTable, because
    // DBNull is not parsable to any other primitive type and if you pass it to the grid, some of the operations could be broken
    table.Columns["ProductName"].DefaultValue = default(string);
    table.Columns["UnitPrice"].DefaultValue = default(decimal);
    table.Columns["UnitsInStock"].DefaultValue = default(short);

    for (int i = 1; i < 50; i++)
    {
        table.Rows.Add(i, $"Product{i}", i * 5.2, i * 2);
    }

    table.AcceptChanges();

    var lastRow = table.Rows[table.Rows.Count - 1];

    lastRow.Delete();

    return table;
}

Declined
Last Updated: 08 Mar 2022 13:09 by Lou
Created by: qw
Comments: 14
Category: UI for Blazor
Type: Feature Request
40

It would be great if the controls supported arbitrary attributes. Similar to how it is done in the native form editing controls in Blazor framework.

ASP.NET Core Blazor forms and validation

"All of the input components, including EditForm, support arbitrary attributes. Any attribute that doesn't match a component parameter is added to the rendered HTML element."
Unplanned
Last Updated: 08 Mar 2022 07:00 by Mike
Created by: Mike
Comments: 0
Category: UI for Blazor
Type: Feature Request
2
Expose a parameter to control the title attribute of all input-based components - textboxes, selects, pickers.
Duplicated
Last Updated: 06 Mar 2022 18:18 by Tim Romano
Created by: Chris
Comments: 3
Category: UI for Blazor
Type: Feature Request
3

This feature is requesting a Blazor version of the RadPropertyGrid, or a more modern Material Design(ish) equivalent.

https://docs.telerik.com/devtools/wpf/controls/radpropertygrid/overview

As  more customers are adopting Blazor, we're porting our rich design time tooling to the web in SaaS type offers.  No Blazor control vendor has this type of control today, and it's sorely needed.  Even finding a Web/Angular version of this type of control is practically impossible.

Having this control combined with the existing Telerik Blazor property editors (combo boxes, edit fields, boolean controls, color pickers, font pickers, etc.) would give you a strong leg up on your competitors.

 

Note: Our company is already licensing your Blazor controls and I speak to Maria every few months on the roadmap.

 

Unplanned
Last Updated: 06 Mar 2022 16:44 by ADMIN

I would like a Blazor PropertyGrid with

 

-- that could be bound to an instance of a custom Type that implemented INotifyPropertyChanged

-- with expandable/collapsible sections with the ability to prevent a  user from expanding a collapsed section (e.g. the user lacks privileges to see that section's data)

-- would keep track of its UI state including collapsed sections (similar to the excellent implementation in Telerik's  Blazor Grid)

-- that would allow the use of all Telerik Blazor editors as cell-value editors

I am interested in using this component primarily as a data-entry UX in a data-entry-intensive line-of-business application.  Such a grid offers standard navigation on all data-entry screens in the application, eliminating tab-order, thereby greatly simplifying the end-user experience. The expanding/collapsing sections make it very economical in its use of screen real-estate. I have used such a component (from a competitor of Telerik) in a WinForms application with excellent results. 

 

 

Duplicated
Last Updated: 03 Mar 2022 18:32 by ADMIN
Created by: Tom
Comments: 0
Category: UI for Blazor
Type: Feature Request
1
Similar to how you can move around columns in the datagrid, I`d like to request a similar feature to the tabstrip control.
Completed
Last Updated: 02 Mar 2022 15:08 by ADMIN
Have a need to change the position of buttons in confirm dialog box of Dialog Factory. Any chance todo so?
Completed
Last Updated: 01 Mar 2022 19:45 by ADMIN
Release 3.1.0
Created by: Sylvain
Comments: 10
Category: UI for Blazor
Type: Feature Request
48

Hi,

The idea is to use the new way to present information to user (without specific label) but using the label of the components.

InTelerikTextBox, no matter, I have a Label property.

Is it possible to have the same properties for the other controls ?

Declined
Last Updated: 01 Mar 2022 08:48 by ADMIN
Created by: Nick
Comments: 7
Category: UI for Blazor
Type: Feature Request
10
Standard input controls support a readonly attribute. The read only state can be applied in Blazor like this:
    <input class="form-control" readonly="@(!EditMode)" type="text" @bind="@FormField.TextValue"/>

As far as I can tell none of the Telerik input controls support a read only mode. Putting the same attribute on TelerikDropDownList for instance (not surprisingly) results in this:

WASM: System.InvalidOperationException: Object of type 'Telerik.Blazor.Components.DropDownList.TelerikDropDownList`2[[FolioMetrics.Core.Types.Model.PicklistValue, FolioMetrics.Core.Types, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b4aae723ff25d84],[System.Int32, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' does not have a property matching the name 'readonly'.

Can we have all the controls sort a read-only state please?

Unplanned
Last Updated: 28 Feb 2022 11:55 by ADMIN
Created by: Kurt
Comments: 3
Category: UI for Blazor
Type: Feature Request
3

Have been pouring through all your release videos, (Great Job Sam, Ed Et Al...) to be better informed as to what project type to select for a new Enterprise Admin App. The FilterView control stood out as a means of potentially saving me more than a week of work, but I just can't see making a new forms app going forward. Blazor and Maui seem like the only logical choices going forward, please add if convenient...

Thanks.

Declined
Last Updated: 24 Feb 2022 17:59 by ADMIN
Created by: Tavi
Comments: 3
Category: UI for Blazor
Type: Feature Request
0
With Blazor Server we need a Site Map as we have with the ASP.NET controls. This will help with SEO and Semantic processing of websites.
Declined
Last Updated: 23 Feb 2022 14:58 by improwise

When you have a TelerikNumericTextBox bound to a non nullable field (like int test) it will display a 0 like this which is correct

But when you start changing the value, that initial 0 will still remain like (1234 entered)

 

 

It will however sort itself out once you leave the field

 

image

But it is still confusing to users and also makes then try to remove the initial 0.

The initial 0 should not be displayed when user has switched focus to a field and started entering text. This problem does not seem to happen if you have already entered a value and revisit the textbox. 

Ideally formatting (in this case currency) should also be displayed when in Edit but that is perhaps another topic. 

Thanks. 

Declined
Last Updated: 23 Feb 2022 10:33 by ADMIN

We are based in the US; but want to display values in a numeric text box based on the culture of the place where the data was entered.

So if the data was entered in the UK, we want the number to be formatted according to UK culture, etc.  That way, it's easy to tell that number is representing pounds vs dollars, etc.

Can we please get the ability to set culture to specific controls?  We don't want to change the current thread culture for everything on the page, just for one control.

thanks!

Duplicated
Last Updated: 22 Feb 2022 12:48 by ADMIN

<GridCommandButton Command="Save" Icon="save" ShowInEdit="true" Title="Some text here">Some text here</GridCommandButton>

Update and Cancel GridCommandButtons do not honor Caption when using PopUp edit forms.

The "Some text here" will show up as name of button in Inline editing but not in Popup form editing where the default Save button will instead be shown.

Completed
Last Updated: 20 Feb 2022 20:11 by ADMIN
Created by: David
Comments: 1
Category: UI for Blazor
Type: Feature Request
1

Create a general purpose component to allow dragging and dropping of other components or files from the filesystem. Expose events that let us get access to the files that were dropped so that we can access the contents of those files or send them off to be uploaded.

Currently in Blazor we can do this with the InputFile component. But I would like the ability to create a droppable UI and have any kind of child content in it. And also get at the file content of files dropped.

Completed
Last Updated: 18 Feb 2022 16:42 by ADMIN
Release 3.0.0
Created by: David
Comments: 0
Category: UI for Blazor
Type: Feature Request
1
I would like to have the .nupkg files provided by Telerik signed so they can be verified with dotnet nuget verify
Duplicated
Last Updated: 11 Feb 2022 10:20 by ADMIN
Created by: Shannon
Comments: 1
Category: UI for Blazor
Type: Feature Request
0
I am using a grid with onRead loading data one page at a time.  Of course, that means the SelectAll in the Checkbox column is useless because it only selects the current page, which is infuriatingly confusing to end-users.  So, I would like to put a button in the header of the Checkbox column which would allow me to create my own SelectAll or Clear Selected.  Can you please allow for a Column Header for the Checkbox column? 
Duplicated
Last Updated: 11 Feb 2022 09:08 by ADMIN
Created by: Brad
Comments: 2
Category: UI for Blazor
Type: Bug Report
3
We have a Blazor app that is scheduled for production release shortly and unfortunately we were not able to upgrade to 3.0 due to ToolBarButtons not supporting the ThemeColor option, even though they were impacted by the addition of the new appearance functionality. They effectively accept "Base" as the ThemeColor, which is light and stands out very significantly against our dark theme. 
Declined
Last Updated: 09 Feb 2022 09:48 by ADMIN
Created by: Bert
Comments: 1
Category: UI for Blazor
Type: Bug Report
0

Maybe I'm doing it wrong...

I have a Telerik Window that is modal=true

Within the Telerik Window, I have a component... and within that component, other components.

I want to post a TelerikDialog.  "Do you want to save changes?"

If I add it to the component, it appears behind the main modal.

If I add it to the main Telerik Window, it doesn't appear at all.

How do you show a TelerikDialog on a TelerikWindow that is modal?

-Bert

Completed
Last Updated: 07 Feb 2022 16:10 by ADMIN

Hello,

first of all, thank you for relelasing Dialog, it is what we are "simulating" by modal Window on any kind of heavy data editing app,again and again and again :) .

The problem is,
- when you put DropDownList in Dialog, using OnRead async task event, the UI is still "empty". => Iam fiddled with reassigning datasource, changing order of assigning source, nothing helped.
- same dropdownlist scenario inside window, working/displayed as expected.

Steps to reproduce:
1) click on then button to show window by -> async task
2) event OnRead of the dropdownlist is correctly called, data to the IEnumerable<model> is loaded
3) window appear, but DropDownList is empty
4) when you filter by typeing inside DropDownList, OnRead is called and model populated, but GUI is still empty

What doesnt worked:
- statechaned, reassign datasource, clear datasource, task delay

What partially worked:
- OnRead=> async Task changed to just: OnRead=> Task

Thanks for info what should be made done else.

Stripped sample:
<TelerikButton @onclick="@(() => ParamEd(4444, null))">open window or dialog</TelerikButton>
<TelerikWindow Modal="true" @bind-Visible="@ShowEditWindow" Draggable="true">
<WindowTitle>
<strong>@ShowEditWindowCaption</strong>
</WindowTitle>
<WindowContent>

<TelerikDropDownList @bind-Value="@CurrentEdit.ValTxt"
ScrollMode="@DropDownScrollMode.Virtual"
Data="@CurrentEdit.ComboSource"
OnRead="@ReadComboData"
ItemHeight="30"
TotalCount="@Paging.CNT"
PageSize="14"
PopupHeight="400px"
TextField="Nazev1"
ValueField="KeyVal"
Filterable="true"
FilterOperator="StringFilterOperator.Contains">
</TelerikDropDownList>
....
vs
<TelerikDialog @bind -Visible="@ShowEditWindow" Title="@ShowEditWindowCaption" CloseOnOverlayClick="false">
<DialogContent>
<TelerikDropDownList @bind-Value="@CurrentEdit.ValTxt"
ScrollMode="@DropDownScrollMode.Virtual"
Data="@CurrentEdit.ComboSource"
OnRead="@ReadComboData"
ItemHeight="30"
TotalCount="@Paging.CNT"
PageSize="14"
PopupHeight="400px"
TextField="Nazev1"
ValueField="KeyVal"
Filterable="true"
FilterOperator="StringFilterOperator.Contains">
</TelerikDropDownList>
....
@code{

[CascadingParameter]
public NotificationBase Notification { get; set; }
[CascadingParameter]
public DialogFactory Dialogs { get; set; }


//clicked on the button to show window/dialog:
async Task ParamEd(int xtyp, object it)
{
await Task.Delay(500);//await load captions... and THEN open window:
ShowEditWindowCaption = "window title";
ShowEditWindow = true;
}

async Task ReadComboData(DropDownListReadEventArgs e)
{
try
{
var r = await readDBDATA...
//CurrentEdit.ComboSource = new List<EdBase>();
//CurrentEdit.ComboSource = null;
//CurrentEdit.ComboSource = new IEnumerable<EdBase>(r);
//CurrentEdit.ComboSource = await ReadDBDATA
CurrentEdit.ComboSource = r;
Paging.CNT = p.Get<int>("CNT");

/*
//!! HOTFIX FROM ANOTHER BUG(show selected data) - ReAssign data(but id doesnt impact result):
string v = CurrentEdit.ValTxt;
int? i= CurrentEdit.ValInt;
CurrentEdit.ValTxt = string.Empty;
CurrentEdit.ValInt = null;
StateHasChanged();
//await InvokeAsync(() => StateHasChanged());
CurrentEdit.ValTxt = v;
CurrentEdit.ValInt = i;

//CurrentEdit.ValTxt = CurrentEdit.ValTxt;
//StateHasChanged();
*/
}
catch (Exception ex)
{
Notification.ShowSQLErr(ex.Message);
}
}

//PARTIALLY WORKING, but not filtering:
Task ReadComboData(DropDownListReadEventArgs e)
{
try
{
var r = readDBDATA...
CurrentEdit.ComboSource = r;
Paging.CNT = p.Get<int>("CNT");
}
catch (Exception ex)
{
Notification.ShowSQLErr(ex.Message);
}
}
}