Telerik Forums
UI for Blazor Forum
0 answers
809 views

Hi, 

I am using Kendo blazor component and getting below warning while using all the components.  Please see attached screenshot for snippet.

Warning Message : "Found markup element with unexpected name "TelerikGrid". If this is intended to be a component, add a using directive for its namespace"

Can you tell what namespace should I add in razor file to resolve this issue?


--

Thanks, 

Yash

Yash
Top achievements
Rank 1
 asked on 04 Aug 2023
1 answer
142 views

HI,

the DragClueField when using Drag&Drop only exists for the Grid right now. Why is this attribute not setable for the TreeView also?

Georgi
Telerik team
 answered on 03 Aug 2023
1 answer
235 views

Inside the Themebuilder is an AppBar-Component but I can not find any documentation about it !?

I would like to use it but I do not know how !

Yanislav
Telerik team
 answered on 02 Aug 2023
2 answers
940 views
I have code that updates the data source for my grid.  However I would like the grid to go into edit mode for the new row of data that got added.  Is there a way to do this programmatically with out the user having to click the row edit button?
Kevin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 01 Aug 2023
1 answer
102 views

Hi, how can I display an age column based on birthdate. I have this code that displays no data in the age column

        <GridColumn Field="LasName Title="Lase name" />

       @Age = DateTime.Now.Year - Person.BirthDateYear

       <GridColumn Field="Age" Title="Age" />

 

Age is defined in the @Code section:
public int Age;

 

Thanks

Hristian Stefanov
Telerik team
 answered on 01 Aug 2023
1 answer
275 views

I am encountering a strange issue and wanted to check with the community on what might be going on. When using a NumericTextBox in a blazor client-side (WebAssembly) app, and switching between en-US and es-US locales, we are seeing the textbox use commas as the decimal separator for es-US, but are expecting it to use period (consistent with .NET's behavior when formatting for the es-US culture and with other sources).

The demo here (Blazor NumericTextBox Demos - Globalization | Telerik UI for Blazor) formats numbers the same way when selecting Spanish, and based on the currency symbol it seems clear the formatting is using the es-ES locale (.NET behavior is also consistent with this).

Is there a known issue where the NumericTextBox for Telerik Blazor uses commas as the decimal separator for the es-US locale, or is this possibly a new issue for which we should just create a bug report? Or, perhaps most likely, does this point to us doing something wrong, like maybe setting the culture to just es or something?

If it matters - when the user switches the language in the UI, we are reloading the site and setting CultureInfo.DefaultThreadCurrentCulture and CultureInfo.DefaultThreadCurrentUICulture to a new CultureInfo instance created with name "en-US" or "es-US".

Tsvetomir
Telerik team
 answered on 01 Aug 2023
1 answer
518 views

In the documentation on the SVG Icon component here, one icon is defined in the following code:


    public class Moon : SvgIconBase
    {
        public Moon()
        {
            Name = "moon";
            Content = "<path d=\"M8.85028 16.5C11.3178 16.5 13.5715 15.3773 15.0646 13.5378C15.2854 13.2656 15.0446 12.8681 14.7032 12.9331C10.8219 13.6723 7.25756 10.6963 7.25756 6.77825C7.25756 4.52131 8.46575 2.44591 10.4294 1.32844C10.7321 1.15619 10.6559 0.697281 10.312 0.63375C9.82984 0.544842 9.34057 0.500073 8.85028 0.5C4.43437 0.5 0.850281 4.07847 0.850281 8.5C0.850281 12.9159 4.42875 16.5 8.85028 16.5Z\" fill=\"rgb(31, 31, 31)\" />";
            ViewBox = "0 0 16 17";
        }
    }

    public static class MySvgIcons
    {
        public static ISvgIcon Moon => new Moon();
        //public static ISvgIcon AnotherIcon => new AnotherIcon();
    }


 

In this snippet, an example is provided to add another icon to the MySvgIcons class, but where should that icon be defined? It seems impractical to replicate the entire first class structure for each and every icon. Is there a more efficient way of loading SVGs into my custom class of icons?

Radko
Telerik team
 answered on 28 Jul 2023
0 answers
290 views

How to upload a document to sharepoint library (using CSharp and not javascript) in a Telerik/Blazor UI..  For various reasons we can no longer use the older Telerik / Javascript interface to Sharepoint to do this

After research think the only way to do this is to interface to MicrosoftGraph using CSharp, Telerik/Blazor widgets but I cannot find a good working example.

Does anyone have a link to a good working example.

Thanks in advance for your help!

Scott

scott
Top achievements
Rank 1
 asked on 27 Jul 2023
0 answers
172 views

Hi,

 

I'm trying to create a combobox which can select multiple values or a multiselect with tagging functionality like the one in the Angular suite of controls (https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/custom-values/). We are migrating our codebase at the moment and there is no adequate substitute to replicate the same behavior. I did come across the proposed solution (https://github.com/telerik/blazor-ui/tree/master/multiselect/add-new-item/MultiSelectAndAddButton) but its implementation feels very inorganic. Is there some way this can be incorporated into the control and have a cleaner implementation from a consuming-developer's point of view?

Alan
Top achievements
Rank 1
 asked on 27 Jul 2023
2 answers
264 views
I tried several suggestions, but I don't succeed in this task.
I don't need a multi-lingual approach, just simple dutch labels and datetime formatting.
Andre
Top achievements
Rank 1
Iron
 answered on 27 Jul 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?