Telerik Forums
UI for ASP.NET Core Forum
2 answers
1.5K+ views
Similar to this demo [https://demos.telerik.com/aspnet-core/grid/events] is it possible to intercept an onEdit event so when the user changes a value in a specific cell it can be tracked?
Catherine
Top achievements
Rank 1
 answered on 19 Jun 2018
4 answers
141 views

Hi I am using on an MVC project the grid autosize functionality successfully (version: R2 2017 2017.2.504.545). Now on another project I have to use the .NET Core (version: R1 2018: 2018.1.117.0) but the autosize functionality does not work anymore. I have investigated the two solutions and it seems that when I use grid.Scrollable(s => s.Height("auto")) it generates "height: auto" instead of the configuration: "scrollable: {  height: auto }"

Is this function as design? What are the alternatives to this issue?

Dan
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 19 Jun 2018
6 answers
599 views

I just start a brand new project and I have already this warning.  See attachment.  And clue?

Thanks a lot.

Ben Hayat
Top achievements
Rank 2
 answered on 19 Jun 2018
2 answers
258 views

Hi,

I have a problem with the kendo map using tag helpers, and I'm getting the error: 

Uncaught TypeError: a.mobile.ui.Scroller is not a constructor
at init._initScroller (kendo.all.js:174114)
at new init (kendo.all.js:174307)
at HTMLDivElement.<anonymous> (kendo.all.js:2435)
at Function.each (jquery.js:360)
at jQuery.fn.init.each (jquery.js:137)
at jQuery.fn.init.e.fn.(anonymous function) [as kendoMap] (http://localhost:50902/lib/kendo/2018.1.221/js/kendo.all.min.js:26:4668)
...


I tried the tag helper implementation and it's not working, neither with razor, nor jquery. Error is the same. I'm using kendo for asp.net core 2018.1.221. Do you have any idea what cause the problem? 

Kind regards,
Asmir

 

Georgi
Telerik team
 answered on 18 Jun 2018
5 answers
116 views

Just starting a major new project, and wondering if the ASP.Net Core UI wrappers are a long-term bet?

 

Seems to me this forum is nearly deserted, and the latest support resources are years out of date. The installation in a new project seems a home-made affair - the product just seems a marketing extension to Kendo UI to try to get more people on board. I like the concept of server side tagging like this - abstracting away as much Javascript has to be a good thing.

 

I'd rather bale out now if this is product is another stinker like Linq to Sql, Webforms, Silverlight or any others on the long list of turkey technologies.

 

Going to assume that if no response by Tuesday, it's died a death.

Dimitar
Telerik team
 answered on 15 Jun 2018
1 answer
842 views

I am using the Telerik Grid on a dashboard-type of web page in ASP.NET Core 2.1 (with Razor pages). I need to have the contents of the Grid updated when the data presented in the Grid changes. In case there are better solutions, I will give a bit more detail.

I have 2 web apps. One, let's call it the child web app, will send a notification via SignalR to the main web app, called the parent. When the parent app receives the notification via SignalR I want to update the Telerik Grid as well as display the message contained in the SignalR notification in a Telerik Notification. 

I know that I can use SignalR directly with the Grid, but I don't see any way to preserve the data that arrives via SignalR.  I need to save the data that arrives in the SignalR message.

So, I need to do this:

1. Force the Grid to re-read and display the data when the web app receives a SignalR notification.

2. At the same time display a Telerik Notification.

Again, this is in an ASP.NET Core web app with Razor pages using .NET Core 2.1

 

Konstantin Dikov
Telerik team
 answered on 15 Jun 2018
3 answers
457 views

I've got a grid, using a pop-up editor. This works, but doesn't pick up the custom edit form in the EditorTemplatesfolder of the view.

The only way I can get it to work is to specify the full path in the TemplateName setting. I'm using version v2018.2.516.

@(Html.Kendo().Grid<PLCV_II.Models.PlcvuserList>()
                                        .Name("grid")
                                         .Events(e => e.Edit("onEdit"))
                                        .Columns(columns =>
                                        {
                                            columns.Bound(p => p.UserName).Title("User Name");
                                            columns.Bound(p => p.FullName).Title("Full Name");
                                            columns.Bound(p => p.SystemUser).Title("User");
                                            columns.Bound(p => p.SystemAdmin).Title("Admin");
 
                                            columns.Bound(p => p.SystemViewer).Title("Viewer");
                                            columns.Bound(p => p.Banned).Title("Banned");
                                            columns.Command(command => { command.Edit(); command.Destroy(); });
 
 
 
                                        })
                                         .ToolBar(toolbar => toolbar.Create())
                                          .Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("~/Views/Users/EditorTemplates/PlcvuserList.cshtml"))
 
 
                                        .Pageable()
                                        .Sortable()
 
                                        .Filterable()
 
                                        .DataSource(dataSource => dataSource
                                            .Ajax()
                                            .Model(m=>m.Id(p=>p.UserName))
                                            .PageSize(15)
                                            .Events(e => e.Error("error"))
                                            .Read(read => read.Action("RD_Users", "Users"))
                                            .Create(a => a.Action("InsertUser", "Users"))
                                            .Update(a => a.Action("UpdateUser", "Users"))
                                            .Destroy(a => a.Action("DeleteUser", "Users"))
 
 
                                            .Sort(s => s.Add(a => a.UserName).Ascending())
                                         )
)

Thanks

Stefan
Telerik team
 answered on 14 Jun 2018
10 answers
3.4K+ views

Hello,

I created a asp.net core mvc solution. I also created a working build on Visual Studio Team Services. Next, I added a reference to Telerik.UI.for.AspNet.Core using the Telerik private Nuget feed. With this addition, the build on VSTS now fails.

I already had a Nuget Installer task in my build. I set the path to a nuget.config file in my repository. I tried with the hashed password and with a clear text password. No matter what I do, the build still fail. The build fails when the next task is executed. The task performs a dotnet restore on the asp.net mvc project.

Can you help ?

Regards,

Patrice

Brad
Top achievements
Rank 1
 answered on 13 Jun 2018
1 answer
190 views

I have a treeview as follow,how to set expand?

<kendo-treeview name="TvTeam"
                    style="height:calc(100vh - 95px);width:100%;border-width:thin;border-color:gainsboro"
                    datatextfield="Name" on-change="TvTeamChange" >
        <hierarchical-datasource>           
                <transport>                   
                    <read url="@Url.Content(MainPath+"?handler=LoadTree")" />
                </transport>
                <schema type="json">
                   
                    <hierarchical-model id="Id" children="Child">
                       
                    </hierarchical-model>
                </schema>
        </hierarchical-datasource>
    </kendo-treeview>


Joana
Telerik team
 answered on 13 Jun 2018
5 answers
972 views

Hello,

the default form-reset behaviour with preloaded inputs in HTML5 is setting the value back to the loaded value. For example: I open the customer-form and the name input is loaded with value = "Hans Müller". When i change the value to "Wilfried" and reset the form, the value is changed back to "Hans Müller".

 

With kendo-controls however, the behaviour is different. Resetting the form clears all fields, the value in the examples becomes empty.

Is it possible to change that behaviour to the "default" behaviour (Back to loaded values)?

 

Any help is much appreciated.

Dima.

Angel Petrov
Telerik team
 answered on 11 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?