kendo-ui

How to show time format(HH.MM.SS) in Kendo chart Y-axis

徘徊边缘 提交于 2019-12-11 05:15:35
问题 I have following JSON format, [{ day: "YYY", avgSecond: "100", waitSecond: "125"}, {day: "XXX", avgSecond: "145", waitSecond: "117"} ,{day: "TTT", avgSecond: "565", waitSecond: "340"},{day: "SSS", avgSecond: "125", waitSecond: "250"}]; I need to show this data in kendo chart as, avgSecond and waitSecond in HH.MM.SS format in chart Y-axis and day in X-axis , My code as follows, <div id="AvgChart"></div> var seriesData = [{ day: "YYY", second: "100", age: "125" }, { day: "XXX", second: "145",

Drag and drop between two kendo grids

纵饮孤独 提交于 2019-12-11 05:07:01
问题 Drag and drop between two grids Problem with saving <div id="gridexample1" style="width:800px"> <div id="grid1"></div> <div id="gridexample2" style="width:800px"> <div id="grid2"></div> $(document).ready(function () { var dataSource1 = new kendo.data.DataSource({ data: [ { "ID": 1, "Name": "Roosetty" }, { "ID": 2, "Name": "timcook" }, { "ID": 3, "Name": "Sam" }, ], pageSize: 5 }); var dataSource2 = new kendo.data.DataSource({ data: [ { "ID": 4, "Name": "steve" }, { "ID": 5, "Name": "mark" },

Kendo Autocomplete Displays Two Suggestion Lists

99封情书 提交于 2019-12-11 04:57:59
问题 My Kendo autocomplete control retrieves a Json list successfully. Unfortunately, it calls the MVC controller method twice and creates two suggestion lists. The duplicate list is displayed directly behind the first. When a value is selected from the first suggestion list, the list disappears, but the duplicate list remains visible. I am using a wrapper for the autocomplete control as shown below. I've confirmed that the control is not being referenced in any of the page scripts. The control is

Read Control DropDownList from View Within the View

筅森魡賤 提交于 2019-12-11 04:53:51
问题 VS '12 asp.net C# mvc Internet App + Kendo UI , EF Code First, Kendo UI Using Kendo DDL @(Html.Kendo().DropDownList() .Name("dropdownlist") .BindTo(new string[] { "Leasehold A", "Mineral Owner", "Prospect", "StrangerInTitleNote", "StrangerInTitleNoteInfo", "StrangerLeasingNote", "StrangerLeasingNoteInfo", "Subject To", "Surface Note", "Surface Note Info", "Unreleased Mortage", "Unreleased Oil and Gas Leasors", "Vesting Note" }) ) Very simple right? - now i want to extract the selected Item

Kendo UI Grid not populating after call to read

↘锁芯ラ 提交于 2019-12-11 04:24:58
问题 OK I have another and I'm sure I'm missing something simple again. Populating the Kendo Grid with a json result set. The load is triggered by a selection from a kendo dropdownlist control. I can see the data is returned from my webapi and converted to the json result. But the data is not displayed in the grid. What I'm missing doing wrong? Here is how grids view is added: <div id="messageGridArea"> @Html.Partial("Messages") </div> Here is dropdownlist definition: @(Html.Kendo().DropDownList()

Kendo grid is showing json data instead of the actual grid

让人想犯罪 __ 提交于 2019-12-11 04:23:43
问题 I'm trying to launch a Kendo grid in a Kendo popup Window but instead of the grid showing, I'm getting the json data. This is the code from my controller: [HttpGet] public ActionResult Read([DataSourceRequest]DataSourceRequest request, int id) { var model = Service.FindOne("Cashflows", x => x.Id == id); var cashflows = new List<flows>(); foreach (var cf in model.CashFlows) { var flow = new flows { Id = cf.Id, AssetId = cf.Id, MortgageValue = cf.MortgageValue, Year = cf.Year }; cashflows.Add

How to access Related Data built By the EF

对着背影说爱祢 提交于 2019-12-11 04:14:12
问题 Similar to the simple Membership UserProfiles to Roles in the Table UserInRoles I have created a Relationship between UserProfiles to Clients in the table UserInClients with this code modelBuilder.Entity<UserProfiles>() .HasMany<dbClient>(r => r.Clients) .WithMany(u => u.UserProfiles) .Map(m => { m.ToTable("webpages_UsersInClients"); m.MapLeftKey("ClientId"); m.MapRightKey("UserId"); }); My UserProfiles has an public virtual ICollection<dbClient> Clients { get; set; } and my Clients has an

Can anyone help how to use event from Html.Kendo().CheckBoxFor(m => m.Enable)

ぃ、小莉子 提交于 2019-12-11 04:13:39
问题 I am new to Kendo. I am using Html.Kendo().CheckBoxFor(m => m.Enable) in MVC cshtml, and I'm unable to add a change event for this checkbox. The Html.Kendo().DropDownListFor has .Events(e => e.Change("PopulateCountry")) , but I dont see same type of event in CheckBox . Can anyone help on this? 回答1: The Html.Kendo().CheckBoxFor helper renders a regular html5 checkbox. It is not actually a kendo widget like Html.Kendo().DropDownListFor creates. I believe this is why the helper for CheckBox is

Kendo barchart category labels left and right based on value

别来无恙 提交于 2019-12-11 03:51:04
问题 I'm building a Kendo bar chart that has two series that "mirror" each other. One series has negative values and the other positive values. My choices for formatting the labels seem to be limited (based on my review of the obvious options - I am not an html/javascript guru) to having them on one side or the other. I would really like to have them flow with the value of the bar and appear opposite (i.e. clear of the bar). Here is my current chart <div id="barchart"></div> function setUpCharts()

Multi-Color Line

早过忘川 提交于 2019-12-11 03:48:22
问题 In the data, there is a object property called clr which is actually contains color information of corresponding object. I would like to draw a single line with multiple colors. However so far, I could not able to make it work. Here is a small sample of my dataset. {x: 11,y: 599,k: 500,clr:'blue'}, { x: 6,y: 699,k: 800,clr:'yellow'} Here is the code sample which I had expected to work: series: [{data: mydata,color: mydata.clr}], http://jsfiddle.net/epvg86qu/19/ 回答1: As mentioned here, the