Telerik Forums
UI for Blazor Forum
1 answer
368 views

Hi,

I have a Grid component that is used for editing data in an arbitrary database table. The type of the grid is a class that doesn't have properties for each column, but rather simulates columns and row data based on the selected database table structure. The purpose of this is to enable the user to edit a certain database table without the need to define the exact data structure in the web application.

This works fine when displaying data and editing data. However, I need to implement filtering and things start to get tricky.

I have a snippet that simplifies the issue: https://blazorrepl.telerik.com/weYKFcvq2749nY9L57

Before trying to implement filtering, I had no Field attribute on my GridColumns and that worked fine. But when adding the FilterMode attribute to the TelerikGrid component the filter row isn't rendered at all (also not when using FilterCellTemplate). I've read other forum posts about the necessity of the Field attribute. When I add the Field attribute, the filter row is rendered but I get an exception stating "Value cannot be null. (Parameter 'nullableType')" with this stack trace:

   at System.ArgumentNullException.Throw(String paramName)
   at System.Nullable.GetUnderlyingType(Type nullableType)
   at Telerik.Blazor.Common.Filter.FilterOperatorFactory.GetColumnDefaultFilterOperator(Type propType)

Is the component using reflection to determine the Type of the field? Or can I somehow tell the component dynamically what type to use, in the same way I can return the title or cell content dynamically?

I tried to use the filter template but I get stuck on the Field problem.

Nadezhda Tacheva
Telerik team
 answered on 17 Jun 2024
0 answers
178 views

In the documentation (link) is written that "Configure the integrated Upload through the FileManagerUploadSettings child tag of FileManagerSettings. The FileManager exposes parameter names that are identical to the respective Upload component API members", but the FileManagerUploadSettings expose only a subset of upload properties.

This is a very limitation because we can't customize the upload or support the upload of multiple file.

I think the documentation needs to be correct, or what I would prefer, that all the properties be correctly exposed by FileManagerUploadSettings.

thanks
--
Andrea

Andrea
Top achievements
Rank 1
 asked on 17 Jun 2024
1 answer
292 views
In my grid data the date is showing like this

but in filter menu the date is showing like this (see the below screenshot).


I need the same format in filter menu as the grid column showing format.
How can I achieve this ?
Thankyou.
Tsvetomir
Telerik team
 answered on 14 Jun 2024
0 answers
608 views

Hi,

We have an issue on our site that when you press an enter key on a second custom grid row (not a Telerik Grid, but rather a foreach that makes a new additive row) it will expand the first row when we press enter on any other row.

 

We've boiled it down to it possibly being a Telerik A11Y issue.

Is there a way we can stop a the button from reacting to an enter key press?

 

Kind regards,

Benjamin,

Benjamin
Top achievements
Rank 1
 asked on 14 Jun 2024
3 answers
275 views

Hi,

 

I would like to know if the ability of Telerik Form components have the ability to change based on the passed type also at runtime.

Ideally, I would like to have an editable field inside a Telerik Grid that is declared as object/dynamic and populated at runtime with values of different primitive types. Visually translating bool values into checkboxes, int values into spinboxes and string values into textboxes.

Would that be possible?

 

here the specific piece of code I'm working on: 

<TelerikGrid Data="PGEManagementUtility.GetPGEPropertyValues()" EditMode="GridEditMode.Incell" OnUpdate="OnPropertyValueSet">
    <GridColumns>
        <GridColumn Field="@nameof(PGEPropertyValue.PropertyName)" Title="Name" Editable="false" />
        <GridColumn Field="@nameof(PGEPropertyValue.DataType)" Title="Data Type" Editable="false" />
        <GridColumn Field="@nameof(PGEPropertyValue.Value)" Title="Value" />
    </GridColumns>
</TelerikGrid>

PGEPropertyValue.Value would be declared as object or dynamic based on what works best in this case.

 

Kind Regards,

Lorenzo

Nansi
Telerik team
 answered on 12 Jun 2024
1 answer
253 views

I would like to add a numeric box after several of the radio buttons in a Radio Group.  Similar to how they are displayed in the Scheduler Appointment entry form.  Any suggestions or samples on how to go about doing this using the Telerik Blazor UI tools?

Tsvetomir
Telerik team
 answered on 12 Jun 2024
1 answer
123 views

Is there a way to use the Scheduling editing popup component without having to go thru the scheduling calendar? 

My option is to recreate the functionality in my own component but I would like to use a component that is already developed.

 

Dimo
Telerik team
 answered on 11 Jun 2024
1 answer
251 views

Hello,

In Telerik UI for ASP.Net core, on the dropdownlist component, there is a built in Cascading functionality.

What is the approach for Telerik UI for Blazor?

I use it in a Wizard, using a form.

Kind regards.

 

Tsvetomir
Telerik team
 answered on 11 Jun 2024
1 answer
166 views

I have a need to limit the Scheduler to all day events only.  Is this possible?

 

Tsvetomir
Telerik team
 answered on 11 Jun 2024
1 answer
167 views

How do we create Aggregate rows for the Blazor TreeList?

They are available on the React, JQuery, Vue versions of this component, but not Blazor.

Tsvetomir
Telerik team
 answered on 11 Jun 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?