Telerik Forums
Kendo UI for jQuery Forum
1 answer
277 views
We have a scheduler similar to your scheduler/resources demo (http://demos.kendoui.com/web/scheduler/resources.html).
If we configure our scheduler to use an eventTemplate, the color-coded-square would not show in the AgendaView... We need this color-coded-square to show on the Agenda view, is there a way to do this?
Rosen
Telerik team
 answered on 07 Oct 2013
1 answer
169 views
I have a real obscure bug with Kendo UI mobile, if you navigate to this page on an iPhone
 
http://www.bobclubs.com/app/Person/1064?Region=uk#/ click the "send SMS/Text" link, all works fine.

Now save the page as a "add to home screen" and reopen, the SMS link now doesn't work.

I have tested this on a windows phone and Andriod phone and it all works ok even if I pin the page to the start/home pages.



Kiril Nikolov
Telerik team
 answered on 07 Oct 2013
2 answers
275 views
Hi,

I use the TreeView with ASP.NET MVC wrapper and I need to optimize the loading time with a multilevel data fetching. We need to display a product and service catalog (UNSPSC, 4 level) with more than 20.000 nodes. The remote binding and on-demand data fetching works like a charm, but we need to implement a search function. Our idea is that the whole catalog can be accessed through the treeview, but when the user enters a keyword, the treeview expands to the matching nodes and highlightes them. This means that the treeview might need to expand more than 100 nodes, which results more than 100 http requests. The configuration code right now:
@Html.Label("Search")
@Html.TextBox("catalogSearch")
<input id="searchCatalogButton" type="button" value="Go" />
@(Html.Kendo().TreeView().Name("catalogTree")
.DataSource(dataSource => dataSource.Read(read => read.Action("GetCatalogItems", "Catalog"))))
Our 'SearchCatalogItems' controller action returns the JSON serialized hierarchical catalog data which has to be displayed, but the HierarchicalDataSource can't process this when remote binding is used. An example result of the 'SearchCatalogItems' action result: (Notice that the Mid #2 node has children but it's not expanded.)
[
   {
      "id": 1,
      "text": "Top #1",
      "matching": false,
      "expanded": true,
      "hasChildren": true,
      "items": [
         {
            "id": 2,
            "text": "Mid #1",
            "matching": false,
            "expanded": true,
            "hasChildren": true,
            "items": [
               {
                  "id": 3,
                  "text": "Bottom #1",
                  "matching": true,
                  "expanded": false,
                  "hasChildren": false
               }
            ]
         },
         {
            "id": 4,
            "text": "Mid #2",
            "matching": false,
            "expanded": false,
            "hasChildren": true
         }
      ]
   }
]
I could initialize a new HierarchicalDataSource from the search results without remote binding, and that could build the tree from this, but I still need the remote binding after the search, because we just downloaded the minimum part of the tree to show and highlight the results and the user might want to explore the catalog from there. I hope my problem is clear.

Is there any way to solve this with the support of the api? Can you give me an idea which is the best way to solve this problem?

Thanks,
    Loránd Biró
Loránd
Top achievements
Rank 1
 answered on 05 Oct 2013
5 answers
119 views
Hi,

I'm building a basic line chart in Kendo UI Dataviz and I'm having a
problem with the aggregation method. The goal is to group my sales data
by month and aggregate the Sum(Amount) which seems to work in my chart
but I'm experiencing a bug that causes data from the first day of
October to be included in the sum for September. Oct 2 shows in October
but Oct 1 is included in September's total.

The data is:

10/1/2013 12:00:00 AM, 22964.5000

10/2/2013 12:00:00 AM, 6762.9400

Html.Kendo().Chart(Model)
.Name("revenue")
.Title("Revenue Activity by Month")
.Legend(legend => legend
.Position(ChartLegendPosition.Bottom)
)
.Series(series =>
{
series.Area(s => s.TotalRevenue, categoryExpression: model => model.Date).Aggregate(ChartSeriesAggregate.Sum).Name("Total Revenue").Color("#73c100");
series.Line(s => s.RevenueSubscriber, categoryExpression: model => model.Date).Aggregate(ChartSeriesAggregate.Sum).Name("Subscriber Revenue");
series.Line(s => s.RevenueNonSubscriber, categoryExpression: model => model.Date).Aggregate(ChartSeriesAggregate.Sum).Name("Non-Subscriber Revenue");
})
.CategoryAxis(axis => axis.Date()
.BaseUnit(ChartAxisBaseUnit.Months)
)
.ValueAxis(axis => axis
.Numeric("revenue")
.Labels(labels => labels.Format("{0:C}"))
.Line(line => line.Visible(false))
)
.Tooltip(tooltip => tooltip
.Visible(true)
.Format("{0:C}")
)

What I receive is a chart with two points on the X Axis. The first
point is Sept 2013 and includes $22,964. The second point is Oct 2013
and includes $6,762.

Any ideas would be greatly appreciated.
Chris
Top achievements
Rank 1
 answered on 04 Oct 2013
11 answers
1.0K+ views
Hi Kendo Team:
If you set createAt:"bottom" in your editing.html sample, you can add rows and they are positioned at the bottom of the grid. But when you add a row that makes kendogrid to add a new page, it doesn't jump to this new page, so you are adding a new row at the end of the penultimate page.
How can I make kendoGrid changes automatically to the next page when adding a new "pageSize +1" row.
Kind regards.
Oscar.
Raymond
Top achievements
Rank 1
 answered on 04 Oct 2013
2 answers
856 views
I'm intending to use the Grid's saveChanges event to perform some custom validation and prevent the record being saved if necessary.

I've had a look through these forums and it seems I should be able to prevent the save using:
   saveChanges: function(e) { 
e.preventDefault();
   }

This isn't working. All records are being saved.

Can somebody please explain what the saveChanges event is for, when it is called and how it should be used. The documentation is very sparse.

Thanks.
Scott Marx
Top achievements
Rank 1
 answered on 04 Oct 2013
3 answers
340 views
The background-color of k-button classed elements cannot be set in recent versions of Chrome or Firefox due to the application of the background-color:linear-gradient style. This issue can be observed on the theme builder site:

http://demos.kendoui.com/themebuilder/web.html

Using Chrome or Firefox:

1.) Select the Uniform Theme.
2.) Click Start the Kendo UI Themebuilder.
3.) In the themebuilder pop-up, choose Buttons and select a new Background color.

Result: The Background color is not applied.

Disabling all background-image styles still enables the selected color to display.
Dimo
Telerik team
 answered on 04 Oct 2013
1 answer
173 views
Looks like there is some bug when you have a databound scrollview inside an scroller element, you cannot scroll between views and data is not shown correctly.
http://jsbin.com/AxEJuPI/2/edit

Am I doing something wrong?
If not, does someone know any fix that could be used right now?

I cannot put the scrollview as the first child element of the mobile view, as the listview may have other fields and the user would need to scroll to see them.
Alexander Valchev
Telerik team
 answered on 04 Oct 2013
5 answers
383 views
Hi All,

Now I admit the answer may be simple, but I can't find a solution yet.

Anyway I have a SPA with MVVM bindings.  How do I warn a user that they forgot to press the save button when they switch views, either via router.navigate or bookmarks.

I have looked at the router change event, but I can't cancel the route.  

I have looked at various demos and documentation.

Regards

Richard...
Kiril Nikolov
Telerik team
 answered on 04 Oct 2013
1 answer
61 views
Hi

Im currently evaluating the dataviz charts for a project. While doing this I discovered something that looks like a bug.

Using the latest version 2013.2.918, accessing content other than value from dataItem in tooltip is not possible when categoryAxis.type is set to date.
In this jsFiddle the tooltip contains the text unavailable where the label property should be: http://jsfiddle.net/E5Cew/

If I switch to the 2013.1.319 version it seems to work as expected.
See this jsFiddle: http://jsfiddle.net/6rJVq/ 

Is this a known bug that will be fixed in next version? It is a requirement for our project and i can't recommend dataviz unless this is fixed.

Regards
Kristian
T. Tsonev
Telerik team
 answered on 04 Oct 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?