Telerik Forums
UI for Blazor Forum
1 answer
136 views

Hello,

i would like to use this Framewok, but i encountered following roadblock in conjunction with the DI-Framework i am using (SimpleInjector).

As the Input-Components fire NotifyFieldChanged on every keystroke and do not use the "normal" way (onEvent -> triggering the IHandleEvent-Interface) of eventpropagation the DI Container can not apply the correct ServiceScope and thus fails to inject the correct services from Blazor. (NavigationManager, AuthenticationStateProvider)

If i use OnChange it might work, if this was the only event, which was fired. (Which is not, because still NotifyFieldChanged fires)

Please consider to suppress firing NotifyFieldChanged when OnChange is implemented explicitly.

Or perhaps use a property "HandleValidationOn" = "ValidationTrigger.OnBlur/LostFocus | ValidationTrigger.OnInput | ValidationTrigger.Never"

I would take "Never", as i am validating everything in a backend-service which has no knowledge of the UI for better seperation of concerns.

Hristian Stefanov
Telerik team
 answered on 01 Dec 2021
1 answer
454 views

Hi,

I would like to have support for @mentions in your editor, maybe it's already there? 

Any other way i could get this?

Thanks

 

Apostolos
Telerik team
 answered on 01 Dec 2021
1 answer
195 views
The default dialogs are nice. Is there a way to populate the prompted value with a default value in Dialogs.PromptAsync?
Svetoslav Dimitrov
Telerik team
 answered on 01 Dec 2021
0 answers
102 views

After selecting a date from the calendar control, control goes to the field with the date value but doesn't fire the OnChanged event until after an action draws focus away.  Is there a event that I can hook into at this state (after the selection and before the OnChanged event)?  I need update the page when the visible date in the field is different and OnChanged is firing too late because of this preview. 

I've looked into using ValueChanged but haven't been able to pre-set the value.  

 

AztecConsulting
Top achievements
Rank 2
 asked on 30 Nov 2021
1 answer
1.0K+ views

Hello, Excuse the bad English

 

There is telerikgrid, and when I click Row on that grid, I load the razor page in tabstriptab with grid data as a parameter.

I want the contents of the razor page to change based on the parameter value that changed when I clicked row on the grid.

Currently, the parameter value changes, but the razor page does not reload.

What Should I do?

 

Here is the detail code:


<TelerikTabStrip @bind-ActiveTabIndex="@ActiveTabIndex">
    <TabStripTab Title="Drawing">
            <Drawing DCT_NO="@DctNo" ENV_NO="@PartNo" ENV_TYPE="@EnvType" ENV="@ENV" COID="@COID"></Drawing>
    </TabStripTab>
    <TabStripTab Title="Cad">
            <Cad DCT_NO="@DctNo" ENV_NO="@PartNo" ENV_TYPE="@EnvType" ENV="@ENV" COID="@COID"></Cad>
    </TabStripTab>
</TelerikTabStrip>

 

Thank you.

Marin Bratanov
Telerik team
 answered on 29 Nov 2021
1 answer
142 views

Hello,

Is there a way to remove the border around each datapoint?

If I have a column chart, and I set the color of the colorfield to rgba(45, 177, 185, 1) the border around the column is black, is there a way to remove the border?.

I have attached an image of the "issue".

Best Regards,

Emil

Hristian Stefanov
Telerik team
 answered on 29 Nov 2021
2 answers
101 views

Hi,

during the previous update, the style of the indeterminate checkbox changed from a square to a thin line. In practice, this is very hard to distinguish from the empty checkbox. Is there a way to revert this to the old style?

 

Kind regards!

Joana
Telerik team
 answered on 29 Nov 2021
1 answer
1.3K+ views

Hi, I have a list of around 200 items. When you double click on a item you are taken to another page with a list of sub items.

This is a read only app, no updates and I need it to be as fast a possible. Fetching data is fast around 30ms.

I would like the main list (Telerik Grid) to keep it state including selected row, sorting and everything.

This should work with the browsers back button and the blazor navigation manager.

I was thinking of cashing the data, but it's the redraw that's taking time.

Should this has been a server app?

 

Marin Bratanov
Telerik team
 answered on 25 Nov 2021
1 answer
105 views

Hello,

I'm looking into the question which version of the Telerik UI stack would best fit my requirements and am wondering how much feature parity exists between the Blazor UI controls and Kendo UI for Angular.

List of controls? It seems the "standard controls" are available, but I didn't do a deep dive / side by side comparison. I'm just looking for general guidance here.

Availability of the testing framework abstraction layer showcased in this blog article: https://www.telerik.com/blogs/automated-testing-of-kendo-ui-made-easy

Many thanks, Michael
Marin Bratanov
Telerik team
 answered on 25 Nov 2021
1 answer
866 views

Hi,

This might be a bit of a strange question and it is hard for me to explain why I'm trying to achieve this, so please don't ask why, but here's a short summary of what I'm trying to achieve:

- I've created my own GridColumn class which inherits from the Telerik GridColumn class.
- In this class, I want to somehow be able to manually edit the column's cell content through C# code. I found some info on how to manually manipulate components and elements here: https://docs.microsoft.com/en-us/aspnet/core/blazor/advanced-scenarios?view=aspnetcore-6.0
- The thing is, I'm not sure how to use the RenderTreeBuilder to access the column cell and edit its contents, for example with a custom template or a simple string.
- I'm well aware I can simply provide a template to the GridColumn in Razor, but I'm trying to find a programmatic approach where I can do it in C# code.

public class GridColumn : Telerik.Blazor.Components.GridColumn
{
    protected override void BuildRenderTree(RenderTreeBuilder builder)
    {
        base.BuildRenderTree(builder);
        
        //logic goes here
    }
}
Would this be possible? Thank you!
Marin Bratanov
Telerik team
 answered on 25 Nov 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?