Telerik Forums
UI for ASP.NET Core Forum
1 answer
1.1K+ views

Hello

We use ASP.NET Core Grid to display a list of objects, from the list, only one object can be selected (or any) and I know the selected object ID.

Is there a way to make a row selected by using that id? Also, a button should alow to change the selection.

Also, is there a way to add custom buttons with icons? say, "edit" button to link to the "id/edit" page(not popup), as well as delete and "view", for each row... 

 

I have the question on SO for several days: https://stackoverflow.com/questions/69404558/add-custom-button-to-the-telerik-grid

Stoyan
Telerik team
 answered on 06 Oct 2021
1 answer
1.0K+ views
I don't want to have to round trip for two items? How do I do that in TagHelpers?
Aleksandar
Telerik team
 updated answer on 06 Oct 2021
0 answers
159 views

I have copied over the demo: Chunk Upload in ASP.NET Core Upload Component Demo | Telerik UI for ASP.NET Core

Web project: netcoreapp3.1

We're using Telerik.UI.for.AspNet.Core Version="2020.2.617"

So far I have not been able to get the drop zone to show up, and I am also missing the hint text of "Drop files here to upload".

I tried adding it manually:

.Messages(
   builder =>
   {
      builder.DropFilesHere("Drop files here to upload");
   }
)

Clint
Top achievements
Rank 1
 asked on 05 Oct 2021
1 answer
137 views
How do I have the .Tools read in as a template stored externally to the page?  In short our code scanner does not like files over 100 lines, if you define .tools you easily get over 100 lines.  Code formatting breaks lines into items for readability, thus adversely impacting the scanner.
Aleksandar
Telerik team
 answered on 04 Oct 2021
1 answer
137 views

Hi,

 

We just upgraded kendo to the latest release and noticed that the Multiselect TagHelper for Asp.Net Core does not work as expected, it renders as a DropDownList not a MultiSelect.

 

Aleksandar
Telerik team
 answered on 01 Oct 2021
1 answer
243 views

hi,

I am trying to setup a data query server side from kendo react but I am facing an issue on .net side.

the setup is very simple. A controller that returns a list of objects.

I am using .Net core 5.0

I included Kendo.Mvc.Extensions and Kendo.Mvc.UI

I added the nuget package Kendo.for.AspNet.Core version 2019.1.115

 

And I get this error :

 

System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ModelBinding.Internal.ModelBindingHelper' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=5.0.0.0,

 I have the same error with sdk 3.1

 

Any idea ?

Thank you

Aleksandar
Telerik team
 answered on 01 Oct 2021
1 answer
798 views

Hi,

 

I have a partial example in Fluent for a Grid with a toolbar that has a (partially funcitoning) "Create" button.

I would like to duplicate this in taghelpers. Here is a Figma rendering using the Telerik Figma controls with some slight customizations:

 

Can you please provide the taghelpers for a toolbar such as this (with a "Create" button with custom CSS)? I don't need the CSS or anything, I just need the taghelpers to achieve this?

This is what I have so far:

   <div>
        <kendo-datasource name="dataSource2" type="DataSourceTagHelperType.Ajax" server-operation="false" page-size="10">
            <transport>
                <read url="@Url.Action("List_Employees", "Company1", new {clinicID = @Model?.ClinicID })" />
                <create url="@Url.Action("Add_Employee", "Company1")" />
            </transport>
        </kendo-datasource>
        <toolbar-items>
            <create/>
        </toolbar-items>
        <kendo-grid name="ClinicUsersGrid" datasource-id="dataSource2">
            <columns>
                <column field="EmployeeName" title="Name"/>
                <column field="EmployeePhone" title="Phone Number"/>
                <column field="Role" title="Role"/>
                <column field="EmployeeEmail" title="Email"/>
            </columns>
            <editable mode="@GridEditMode.PopUp"/>
        </kendo-grid>
    </div>
   

My toolbar isn't showing up. I tried inserting toolbar tags but it just complained? Any insight would be really helpful.

It's interesting to note that in the "Tags" for this Question, I cannot add TagHelpers as a subject.

 

Thanks!

Aleksandar
Telerik team
 answered on 30 Sep 2021
1 answer
147 views

Hey guys,

we're using the panelbar as navigation on our website. Every item has a link behind which you can simply access by clicking on the item.

Since we have to check for accessibility we're in trouble with the panelbar because toggling the item with keyboard doesn't toggle the link/action behind it. 

Do you have a best practice how to implement such a function?


@(Html.Kendo().PanelBar()
                        .Name("panelbar")
                        .ExpandMode(PanelBarExpandMode.Multiple)
                        .Items(panelbar =>
                        {
                            panelbar.Add().Text("Angebote")
                                .Items(angebot =>
                                {
                                    angebot.Add().Text("Anlegen").Action("Create", "Offer");
                                    angebot.Add().Text("Bearbeiten").Action("Update", "Offer");
                                    angebot.Add().Text("Löschen");
                                });
                        })
                    )

Tsvetomir
Telerik team
 answered on 27 Sep 2021
1 answer
404 views
In grid we have some checkbox columns that are used to indicate different things (this row has x type of detail data, for example) to help save time for users. However I can't help but wonder if there are better alternatives. Anybody have any ideas? 
Stoyan
Telerik team
 answered on 24 Sep 2021
1 answer
377 views

Please go to demo https://demos.telerik.com/aspnet-core/tilelayout/resizing and decrease width and height of all 3 items to 1 row and 1 column

-> the height of the TileLayout container decreases to the height of 1 row.

How can I increase it again or keep a specified height?

I can set a minimum height in pixels by HtmlAttributes, but no percentual or calculated value.

Tsvetomir
Telerik team
 answered on 24 Sep 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?