Telerik Forums
UI for ASP.NET Core Forum
4 answers
552 views

I have a small list of items that i need to present on a form. The user can select multiple items with the help of checkboxes. And after the user is done he needs to save the form.

I have seen a similar example on telerik products but for ajax

https://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/checkboxes/defaultcs.aspx

Is there a way to implement the same functionality in Asp.Net Core?

Dan
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 26 Jun 2018
2 answers
999 views

I'm porting an MVC application that uses Kendo UI to .NET Core.  The existing application has considerable styling created by another team and the ported application needs to look like the old one.  The new application is not picking up the old styles (I've double checked the css files and I'm sure they're all in the right location).  When I look at the source on the old code, I see:

<div class="k-widget k-grid" id="grid">

Wrapping the kendoGrid object.  When I look at the source for the new code, I see:

<div id="grid" name="grid">

Around the grid.  Is there a difference between the MVC and .NET Core products in the way the default styles are specified?  Is there a way to explicitly state what styles are used?  Any idea what I might be missing between the old and new versions? 

Viktor Tachev
Telerik team
 answered on 26 Jun 2018
1 answer
1.2K+ views

I'm porting an MVC application that uses Kendo UI to .NET Core.  The existing application has considerable styling created by another team and the ported application needs to look like the old one.  The new application is not picking up the old styles (I've double checked the css files and I'm sure they're all in the right location).  My source looks like this:

    <div class="col-md-10">
            @(Html.Kendo().Grid<FundViewModel>()
                                    .Name("grid")

                                        ....

When I look at the HTML source on the old code, I see:

<div class="k-widget k-grid" id="grid">

Wrapping the kendoGrid object.  When I look at the HTML source for the new code, I see:

<div id="grid" name="grid">

Around the grid.  Is there a difference between the MVC and .NET Core products in the way the default styles are specified?  Is there any reference reading material that talks about styling in the .NET Core product?  Is there a way to explicitly state what styles are used?

Dimitar
Telerik team
 answered on 26 Jun 2018
1 answer
285 views

Hi,

I have to create a room reservation calendar,

I see this sample https://demos.telerik.com/aspnet-core/scheduler/timeline and have some questions :

1) Is it possible set ".Resources(resource => ..." server side ?

2) I need only MONTH view, so is possible don't have the HOURS row ?

3) When I drag an item from cell to enother or resize an item,  is there a validation system ? (if can't be done, the operation must be canceled)

4) Scheduler can be exported (pdf/excel) like grid ?

 

Thank you

Ianko
Telerik team
 answered on 25 Jun 2018
5 answers
2.1K+ views

Is there a way to replace the text in the grouping header? For example, instead of showing daypart: 20180615AM after grouping by the daypart column I want to display Fri June 15 AM.

 

Tom
Top achievements
Rank 1
 answered on 22 Jun 2018
3 answers
152 views

Hi Team;

I have installed Kendo UI fpr ASP Core into my project. Is there anyway that I can change theme "Visually" like a drop down list of themes Kendo UI offers that would automatically changes inside _Layout or anywhere else related?
Or at least a doc guideline of exact changes to be made manually to ensure we can change to the list of Default themes or Bootstrap themes based on the attached pic?

Thanks

..Ben


Veselin Tsvetanov
Telerik team
 answered on 22 Jun 2018
4 answers
612 views
Hello Team;

For my new project, I'll be using MSFT ASP.Net Core 2.1. Unfortunately MSFT did not upgrade the bootstrap to V4.x and left the V3.x in ASP Core installation.

My first question is, in this latest version of Kendo UI R2 2018 (May), which version of Bootsrap does Kendo UI use?
If it uses V4.x, do you suggest that we upgrade our MVC project to Bootstrap V4.x to stay compatible with Kendo?

Or any other guidelines?

Thank you in advance!
..Ben
Ben Hayat
Top achievements
Rank 2
 answered on 21 Jun 2018
1 answer
211 views

Hello team;

I have just downloaded the Kendo-Bootstrap Integration from Gitub (https://github.com/telerik/core-bootstrap-demo) and loaded into VS2017.
I'm running .Net core2.1 and have the latest Kendo ASP Core version (R2 2018).

When I run it, the form that shows up, tabs don't work, drop downs don't work, many sections don' show up here is a screen shot.
I looked at the index view and everything seems in order. But the one from the website runs properly.

What's the problem?
Note: VS2017 still runs Bootstrap 3.3.7

 

Dimitar
Telerik team
 answered on 21 Jun 2018
2 answers
1.8K+ views

Hi, I'd like some help with displaying multiple values in a single grid cell. Right now the data I'm displaying is coming in as an array of json objects and getting deserialized using the Json.NET library. I have no problem displaying most of the data I want on the grid; however, some of the data is in a nested array of unknown size.

For example:

 @(Html.Kendo().Grid<AnalogModel>()
      .Name("grid")
      .Columns(columns =>
      {
          columns.Bound(p => p.pGasDescDtoObj.ProductDesc).Title("Products");
          columns.Bound(p => p.pGasDescDtoObj.CustomerDesc).Title("Customer");
          columns.Bound(p => p.pGasDescDtoObj.ControllerDesc).Title("Controller");
          columns.Bound(p => p.pGasDescDtoObj.Template).Title("Template");
          columns.Bound(p => p.pGasDescDtoObj.GasNameDesc).Title("Gas");

         //So far, everything works great ^^

         ....

         columns.Bound(p => p.type[0].dataDefId).Title("Type"); //this works fine because I can guarantee that there will be at least one object in the array

        ....

So what I'd really like to do is display all the dataDefId values in the type array, however I don't know how to do this using the options available to the column. I've been trying to create a client template that will display them, but while I can display type[0].dataDefId, so again for example:

         columns.Bound(p => p.type).Title("Type").ClientTemplate("<strong>#: type[0].dataDefId #</strong>");

works fine. I have no idea how to get the size of the array to loop through it. If I start using c# to loop through the array, I one. lose access to the variable "type", and two, the client template doesn't work. Are there any other ways of going about this?

        

 

Catherine
Top achievements
Rank 1
 answered on 20 Jun 2018
8 answers
115 views

Hi I have a problem regarding the dropdownlist (see DropDownList.png). The items of the list is outside of the popup border.

I am using a custom theme generated by someone else and I have no idea where to start.

I have a project but can not attach it. How can I place the project here?

 

Nencho
Telerik team
 answered on 20 Jun 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?