Telerik Forums
Kendo UI for jQuery Forum
2 answers
135 views
Hi,
I had a problem when trying to embed z-index databinding. Below is my DOM:
<div id="ItemContainer0" class="textItem ui-draggable" data-bind="style:
{height: Height + 10 + 'px', width: Width + 10 + 'px', top: Y - 6 + 'px', left:
X - 6 + 'px', 'z-index': Z}" index="0" style="height: 60px; width: 210px; top:
77px; left: 135px;">

The "width", "height", "top", "left" are rendered to "style" but z-index is not.
What is my mistake?
Please help me this problem. I searched google for a long time but I didn't see any answer.

Thank you.
John Vu
John
Top achievements
Rank 1
 answered on 12 Sep 2013
6 answers
461 views
Hi

Does anybody have any experience with using a treeview in  a tabstrip?

I am loading a dynamically loaded treeview in a tabstrip, but when I unfold an option in the treeview , the treeview breaks out of the tabstrip.
Is there a way to have a scroll bar in the tabstrip or in the treeview?

Thanks for helping me out!

Henk Jelt
RAV44
Top achievements
Rank 2
 answered on 12 Sep 2013
5 answers
548 views
Hello,
I am attempting to use a Listview with serverPaging that has custom filtering applied to it. What I am seeing is when I apply a filter, the intial result set is coming back correct. When I attempt to change the page, I am seeing two dataSource requests. The first request has the correct querystring arguments passed, and the second has no arguments set. 

How can I get the desired functionality without the extra datasource request? Code is below.

$("#user-Search").kendoDropDownList({
                autobind: false,
                enabled: true,
                optionLabel: "All",
                dataTextField: "text",
                dataValueField: "value",
                dataSource: userDataSource,
                edit: function (e) {
                    var ddl = e.container.find('[data-role=dropdownlist]').data('kendoDropDownList');
                    if (ddl) {
                        ddl.open();
                    }
                },
                change: function () {
                    initGrid();
                }
 
            });
 
 function initGrid() {
            var ds = getDataSource();
            var History = $("#listView").kendoListView({
                dataSource: ds,
                template: kendo.template($("#template").html()),
                autoBind: false,
                pageable: true
                 
            });
            
            $("#pager").kendoPager({
                dataSource: ds,
                empty: "No Items to Display",
                autoBind: false
            });
             
        }
 
        function getDataSource() {
            
            var dataSource = new kendo.data.DataSource({
                transport: {
                    read: {
                        url: "/Services/TitleHistory.ashx?publishedid=" + $("#SearchHistory")[0].value + "&startDate=" + $("#datestart")[0].value + "&endDate=" + $("#dateend")[0].value + "&filterUser=" + $("#user-Search")[0].value,
                        dataType: "jsonp"
                    },
                    serverOperation:false
                },
                serverPaging: true,
                schema: {
                    total: function (response) {
                        if (response[0]) {
 
                            return response[0].total;
                        }
                        else {
                            return 0;
                        }
                    },
                    model: {
                        id: "EventType",
                        fields: {
                            EventType: { editable: false, nullable: true },
                            Details: { editable: false, nullable: true },
                            Comment: { editable: false, validation: { required: true } },
                            User: { editable: false, validation: { required: true } },
                            EventDate: { validation: { required: true }, type: "date", format: "{0:MM-dd-yyyy}" }, editable: false,
                            Title: { editable: false, nullable: false },
                            UserId: { editable: false, nullable: false },
                            PublishedId: { editable: false, nullable: false, }
                        },
                    }
                },              
                pageSize: 5
            });
             dataSource.fetch();
            return dataSource;
        }
naga
Top achievements
Rank 1
 answered on 12 Sep 2013
1 answer
164 views
Using the data-role attribute and setting the width option via html attributes doesn't seem to work.

The below code will not set the width option.
<span data-role="tooltip" data-width="200"></span>

I've found that this is because the width property is not set in the tooltip default options. I've temporarily fixed this using:
kendo.ui.Tooltip.fn.options.width = "";

This has been tested in v2013.2.716
Alexander Popov
Telerik team
 answered on 12 Sep 2013
3 answers
135 views
Say for example a navigation times out (quite likely in a mobile situation where reception can be patchy) or the the request fails for another reason (due to a server-side exception for example). Currently this will cause the who app to freeze.

Is there a way to handle this exception and show a friendly message to the user and keep the app up and running? jQuery Mobile does quite a good job of this out of the box if ajax navigation or form posting fails and I'd like to do something similar with Kendo.

Kiril Nikolov
Telerik team
 answered on 12 Sep 2013
1 answer
273 views
We need a tree where each node has the form “some text a link more text a second link more text [bitmap]”. And we need an event when the user clicks on either link or the bitmap, letting us know which node in the tree and which link was clicked. Is it possible to create a tree like this using your system?
  1. When the user clicks on of those links, at the point of the click we need to create an edit box with a drop-down tree (not list).
  2. Can your system identify where the link was click to place a control there.
  3. Is it possible to create an edit box with a drop-down tree. (If an element in the tree is clicked, it then populates the edit box with its text value.)
  4. Is it possible to place this edit/tree control over the tree at that point?
And if so, how?
thanks - dave
Dimo
Telerik team
 answered on 12 Sep 2013
5 answers
257 views
I need to customize LiistView pager, how can I do it and where can I read about it?
I'm using MVC wrapper.
Alexander Valchev
Telerik team
 answered on 12 Sep 2013
1 answer
70 views
I have a need for just the navigator functionality of the stockchart, the "bottom half" of it from the demo.

Is there anything that will allow me to break this out?  Is it made using a different set of Kendo tools?  any tips on recreating it, if so?  Thanks -
Iliana Dyankova
Telerik team
 answered on 12 Sep 2013
1 answer
230 views
Hi,

I have to reduce Height of the Navigator area of Stock chart. Please help me in this regard.
Pleas find the screen shot of my current implementation in which I have highlighted navigator portion whose height has to be reduced.
Below is the view code.
@(Html.Kendo().StockChart<Nalco.enVision.Web.Areas.ServiceModule.Models.SensorChartModel>()
        .Name("stockChart")
        //.Legend(true)
        //.Title(Model.ChartTitle)
        .DataSource(ds => ds
                 .Read(read =>
                        read.Action("GetChartData", "Charts"))
                        .ServerOperation(true)
                 )
        .DateField("MeasureDate")
        .CategoryAxis(axis => axis.Name("dateAxis")
                          // .Labels(l => l.Rotation(90))
                            //.Title(Model.XAxisTitle)
                            .Title(t => t.Font("10px Arial"))
                     )
        .ValueAxis(axis => axis.Numeric("valueAxis")
                          .Labels(l => l.Format("{0:n}"))
                          .Title(Model.YAxisTitle)
                          .Title(t => t.Font("10px Arial"))
                   )
        .Series(series =>
        {
            series.Line(s => s.Value).Axis("valueAxis")
                              .Color("#3493D5")
                              .Tooltip(tooltip => tooltip.Format("{0:n}"))
                              .Tooltip(tooltip => tooltip.Template("Date:#= kendo.toString(category,'G') # <br/>Value: #= value #"));
        }
                )
        .Navigator(nav => nav
            //.DataSource(ds => ds.Read(read => read.Action("GetChartData", "Charts")))
            //.DateField("MeasureDate")
            .Series(series =>
            {
                series.Area(s => s.Value)
                       .Color("#3493D5");
            })
            )
            .Events(e => e.SelectEnd("onSelectEnd"))
            .HtmlAttributes(new { style = "height:" + Model.Height + "px;width:" + Model.Width + "px;" })
    )
.
Iliana Dyankova
Telerik team
 answered on 12 Sep 2013
1 answer
65 views
Hi,
I'd like to change the pageTurn effect duration but i havn't find a property or a method to do that.
there's some way to achieve my purpose?

thanks
Fabio.
Petyo
Telerik team
 answered on 12 Sep 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
Application
Map
Drag and Drop
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
ListBox
DropDownTree
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
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?