When load-balancing our web servers, and when we upload small pdf documents (<2MB) then the file uploads fine. If the document is larger, then it fails quickly.
When on a non-load-balanced web site, then it's able to upload large documents as expected.
Any suggestions for solving or troubleshooting this?
Hello,
I am new to kendo and the forum. I am having trouble understanding how to use the Validator with Observable objects and templates. I can data-bind all of the data and the validator works great on views with no templates or nested objects but when I try to implement the validator on a page that contains a template, it does not work as expected.
So, on initially changing an input, I get the proper validation error. But then when I change any other field, all of my error messages go away.
For example, field2 must be length 10. So if I input a number of length 4 on the first object, i get a validation message when I leave the field. Now, if I go edit any other field rendered then that validation message will go away even though the length is still 4 in that input. So if I change the second objects field 3, then i lose my validation message on object ones field2.
On my other views without templates, the validation messages stay until I validate the field, they don't change based on other fields changing.
Hopefully this is enough information, let me know if I left something out or need to be more specific.
The code looks like this:
<div id="fieldTab"> <div data-bind="source: fields" data-template="fieldTemplate" /></div> <script id="fieldTemplate" type="text/x-kendo-template"> <select name="field1#= fieldSys#" data-role="dropdownlist" data-bind="value: field1" /> <input name="field2#= fieldSys#" class="k-textbox" type="text" pattern=".{10,10}" data-bind="value: field2" /> <input name="field3#= fieldSys#" class="k-textbox" pattern=".{0,20}" type="text" data-bind="value: field3" /></script>
var fieldTab = $("#fieldTab");var viewModel = kendo.observable({ fields: [
{fieldSys: "1",field1: "1", field2: "1", field3: "1"}, {fieldSys: "2",field1: "2", field2: "2", field3: "2"}, {fieldSys: "3",field1: "3", field2: "3", field3: "3"} ]});fieldTab.kendoValidator().data("kendoValidator");kendo.bind(fieldTab, viewModel);
Hello,
I am experiencing an unusual behavior with dropdownlist within a grid using the keyboard navigation. When the dropdownlist has focus and I press the down arrow key, instead of going to the next item in the list, it goes all the way to the last item. Also I noticed that if I pressed the up arrow key before pressing the down key it works correctly. Is this a bug with your dropdownlist control? How can this be resolved? Thank you.
Hello,
I have requirement that we should be able to give uses to select number of days to be shown in the scheduler and scheduler should be changed accordingly. Please check the structure of the week scheduler from this.
Requirement:
Ex:
1. Select 6 , scheduler should show only 6 days
2. Select 8, scheduler should show only 8 days
Any Idea?
Thanks,
Lilan
The treemap is only showing data that is set first. When I change the options, the widget still displays the old data.
http://dojo.telerik.com/ifEWA/2
Then I thought I will try just changing the data on the datasource but that did not work either.
http://dojo.telerik.com/exUtI
What is the right way of using a treemap to display different sets of data? My schema is the same.
Thanks.
Hi there,
I have a bar chart and a pie chart next to each other. In each case they come from a model with a property of 'category' for displaying the each item falls into. The pie chart displays the legend correctly, but the bar chart simply states 'Share' instead of a correct legend (see attached screenshot) - it seems it can't read the datasource correctly in the legend but can in the rest of the chart (I have got the x-axis labels switched off but when switched on the categories are being rendered correctly).
This is my view code (pie chart, then bar chart) :-
@( Html.Kendo().Chart<Models.SitesSurveyedPieChartModel>()
.Name("sitesSurveyed")
.ChartArea(chartArea => chartArea.Background("#F5F5F5"))
.Title(title => title
.Text("Sites Surveyed")
.Position(ChartTitlePosition.Top))
.HtmlAttributes(new { @class = "small-chart" })
.Legend(legend => legend
.Visible(true)
.Position(ChartLegendPosition.Bottom)
)
.DataSource(ds =>
{
ds.Read(read => read.Action("SitesSurveyedPieChart", "Reporting"));
ds.Sort(sort => sort.Add(model => model.SiteSurveyed).Ascending());
}
)
.Tooltip(tooltip => tooltip
.Visible(false)
)
.Series(series => series
.Pie(model => model.Share, model => model.SiteSurveyed.ToString(), model => model.Color)
.Padding(0)
.Labels(labels => labels
.Visible(true)
.Template("#= value # (#= kendo.format('{0:P}', percentage)#)")
.Align(ChartPieLabelsAlign.Column)
.Position(ChartPieLabelsPosition.Center)
)
)
.Events(events => events
.SeriesClick("onSeriesClick_sitesSurveyed")
)
)
@( Html.Kendo().Chart<Models.RiskItemsBarChartModel>()
.Name("riskItems")
.ChartArea(chartArea => chartArea.Background("#F5F5F5"))
.Title(title => title
.Text("Risk Items")
.Position(ChartTitlePosition.Top))
.DataSource(ds => ds
.Read(read => read.Action("RiskItemsBarChart", "Reporting")) // Specify the action method and controller name
)
.Series(series => series
.Bar(d => d.Share, d => d.Color)
.Labels(labels => labels
.Visible(true)
.Template("#= value # (#= dataItem.PercentageField #)")
.Position(ChartBarLabelsPosition.InsideBase)
)
)
.CategoryAxis(axis => axis
.Categories(model => model.category)
.Visible(false)
)
.Tooltip(tooltip => tooltip
.Visible(false)
)
.Legend(legend => legend
.Visible(true)
.Position(ChartLegendPosition.Bottom)
)
)
These are my models for each of above respectively (and are definitely being populated correctly) :-
public class SitesSurveyedPieChartModel
{
public Surveyed SiteSurveyed { get; set; }
public int Share { get; set; }
public bool VisibleInLegend { get; set; }
public string Color { get; set; }
public string category { get; set; } ....
public class RiskItemsBarChartModel
{
public int Share { get; set; }
public bool VisibleInLegend { get; set; }
public string Color { get; set; }
public string category { get; set; }
public int SortOrder { get; set; }
public string PercentageField { get; set; } ......
The image of what I'm getting rendered is attached. Any help getting this sorted out would be appreciated.
Thanks, Mark
Hi,
I am trying to work with Kendo UI Bootstrapper, and I must say I really like the idea behind it.
The problem is that I get errors like this:
Oops, the server has died!The Bootstrapper server has vanished. This is a bug, most likely, but this window won't be usable anymore. You should close it and restart the Bootstrapper.Happens when I click on Compile in a new project or when I click on Bundle in another app.
This is the error message I get ( in the console ):
/Users/Mate/Sites/kendo-projects/kendo-bootstrapper/node_modules/less/lib/less/parser/parser.js:117 imports.contents[fileInfo.filename] = str; ^TypeError: Cannot read property 'contents' of undefined at Object.Parser.parse (/Users/Mate/Sites/kendo-projects/kendo-bootstrapper/node_modules/less/lib/less/parser/parser.js:117:20) at /Users/Mate/Sites/kendo-projects/kendo-bootstrapper/lib/files.js:135:24 at fs.js:334:14 at FSReqWrap.oncomplete (fs.js:95:15)
Any idea why this happens?
Also I can see that Bootstrapper hasn't been updated since 2014. Does this mean that the project won't continue? Is there any other tool out there that does the same things?
Best Wishes,
Matt
Hello Telerik Community,
I have a column chart that is displaying data sorted alphabetically, and I would like to turn this off so that it displays the data based on the order of the array that I put in for the categories. I'm using Javascript for my charting needs and I have a dataset that is returning grouped data based on Month, and the month names are being sorted alphabetically as you can see in the screenshot below. I would like them to sort based on their order in the array which is already ordered properly based on months.
Any thoughts?
Thanks!