Telerik Forums
Kendo UI for jQuery Forum
3 answers
131 views
Can we link the parent child relationship (Summary) attribute to another column instead of "Title" so that the option to expand and collapse will appear in the new column instead of title ?
Dimitar Terziev
Telerik team
 answered on 19 May 2015
9 answers
160 views
I'm added an Excel export option to a grid, which features multiple date columns.

Under Windows 7, IE 11 and Chrome export this data to Excel with no problem, dates appear correctly.

However when trying it from two different Windows XP machines both IE and Chrome export date fields as just the year value (e.g. 2011), which is then formatted as a date, showing a value such as 03/07/1905.

Unfortunately, many of our users are still using XP - is there a solution?
Atanas Korchev
Telerik team
 answered on 19 May 2015
4 answers
888 views

I'm working with local data and I began this by having an issue where hitting cancel on the edit popup removed a row that I added using the DataSource.add() method as described in the api for the add method (http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-add), and with the sync method (http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-sync).  

After much investigation, I found that if I provided the ID defined in the model as part of the add() method and followed with a sync() method call, that the _pristineData property was not being updated properly.  

See http://dojo.telerik.com/@aw232/OZuKA/2 for an example I created to illustrate what I mean.  Clicking the “Click Me” button calls add(), including a value for the id as defined in the model ("ProductID"), followed by a sync() method call.  The product appears to be successfully added to the grid, but clicking on edit and then cancel removes the row.  This is because the _pristineData property is not updated after the sync(), so the DataSource reverts back to that data when the cancel event is called.  Additionally, neither the Create nor Update Transports are being called.  

However, if I don’t provide the ID, as defined in the model, the Create Transport function is called, and the _pristineData is being successfully updated when I called the sync() method.  See http://dojo.telerik.com/@aw232/uKIji/2 for an example.  The code here is identical to the first snippet, except that the model now uses “ID” as the id, which is not provided in the add() method.  As you can see, the create transport function is successfully called and _pristineData is updated and thus, clicking cancel does not remove the row from the datasource.  

I would expect that sync() would push the current data to _pristineData either directly, or by calling the Create or Update transports as necessary.   

Please advise.  


Andy
Top achievements
Rank 1
 answered on 18 May 2015
1 answer
98 views

I'm trying to select a value in my DDL list via the WatiN browser control debugging tool...

Here is my input item: 

<input id="ProviderList" name="ProviderList" style="width:400px" type="text" /><script>
jQuery(function(){jQuery("#ProviderList").kendoDropDownList({"dataBound":dataBoundProviderList,"dataSource":[{"Key":"001","Value":"001 Provider 1"},{"Key":"002","Value":"002 Provider 2"}],"dataTextField":"Value","dataValueField":"Key"});});
</script>

 

I tried the following without success to preselect the 2nd item in my unit test:

  TextField providerListElement = Browser.TextField(Find.ByName("ProviderList"));

 

//via a jquery script from WatiN:
Browser.Eval("$\"#ProviderList\").data('kendoDropDownList').value(\"002\");");

// or another attempt via WatiN using jquery:
var dropdownlist = $(\"#ProviderList\").data(\"kendoDropDownList\"); dropdownlist.select(function (dataItem) { return dataItem.symbol === \"002\";});");

// and one more try:

Browser.Eval("$(document).ready(function() { " +
                        " var dropdownlist = $(\"#ProviderList\").data(\"kendoDropDownList\"); " +
                        " dropdownlist.select(function (dataItem) { return dataItem.symbol === \"02\"});" +
                        "});  ");

//also tried treating it as text field

providerListElement.Value = "002";

//as text field using simulated typing
providerListElement.TypeText("002");

 

Nothing seems to let the field change.

 Any thoughts would be helpful!

 

Thanks,

Robert

 

Robert
Top achievements
Rank 1
 answered on 18 May 2015
4 answers
350 views

Hi,

In Telerik UI for ASP.NET AJAX, the RadTreeView control shows dotted line that connects all nodes at the same hierarchical level. This visual aid is very helpful to identify all the sibling nodes in a large tree. Here's an example:

Is there a way to do the same in Kendo UI TreeView control?

Thanks!

Daniel
Top achievements
Rank 1
 answered on 18 May 2015
8 answers
248 views
We have multiple contributors to a single calendar where each should only be able to manage events that they created. Is our only option to disable all Create/Edit/Delete functionality and manage the feature in another way (ie. separate page or popup)?

Desired UI behavior would be to only allow authenticated users to create an event, to allow any user to view the complete detail of an event but readonly fields and remove the Save / Delete buttons if they are not the owner.

Any suggestions are appreciated.
Sam
Top achievements
Rank 1
 answered on 18 May 2015
1 answer
101 views

I am trying to have a flag on state and flag off state and toggle between them.  Referencing this http://demos.telerik.com/kendo-ui/navbar/adaptive-toolbar

 

The toprated icon seems to have an active state.  When you click it the star fills in.  I want when you click it to have it stayed filled in, and then when you click it again it goes back to the not filled in state.

 

I can't for the life of me figure out how to do it.

Iliana Dyankova
Telerik team
 answered on 18 May 2015
4 answers
330 views

Hi

I'm wondering if it's possible to set the default operator of a second date filter different to the first. I would like the first filter operator to default to "After or equal to" and the 2nd operator to default to "Before or equal to".

Also, I require the fields in the filter date picker to be formatted as "dd/MM/yyyy". Where can I set that?

Kind Regards

Steven
Top achievements
Rank 1
 answered on 18 May 2015
9 answers
2.2K+ views
Hello, 

I have a treeview which has multiple level of hierachy data, is there a way that I can expand all the nodes?

I tried to use function $("#treeview").data("kendoTreeView").expand(".k-item") , I can only expand the first level, is there a way that I can expand nodes at every level.

Thank you.

Alexander Popov
Telerik team
 answered on 18 May 2015
1 answer
157 views

Hi All,

I've started looking at a process of moving away from classic ASP.NET WebForms to a KendoUI approach.

I'm pretty much sold on using KendoUI as the UI but now need to work out the best data access approach.  At the moment I am thinking that it would be nice to develop my REST API in a manner that I could use it on my existing WebForms application that runs to 400+ pages alongside the existing SQL database connections, gradually replacing them with REST versions.

So I am now left with a dilemma, finding the best approach for doing a REST API.  So complex.  I have seen some generator options including DreamFactory, Telerik Data Services (is this on the way out?) and a few others, each requiring a different level of understanding. Each seems to have their own pros and cons with nothing really seeming to tick all boxes.  To further complicate things there seems to be several different technologies, such as OData etc.

Does anyone have any advice they could share with me on this?  

In an ideal world I'm looking at some solution that is standards compliant, simple to setup, secure and integrates well with KendoUI, Webforms integration is a bonus but not essential as I could simply replace pages with KendoUI pages.

Regards

Jon

Alexander Popov
Telerik team
 answered on 18 May 2015
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?