Telerik Forums
Kendo UI for jQuery Forum
2 answers
402 views
<script type="text/x-kendo-tmpl" id="my-template">
    <ul >
        <li>
        <div onclick="showToggle()"> Show/Hide Form</div>
        <div id="myform"> My Form Stuff</div>
        </li>
    <ul>
</script>

So in the above I want to click on the div or button and what ever and toggle the other part of the list item.
                    <ul data-role="listview" id="myList"
                        data-bind="source: listOfStuff"
                        data-template="my-template"></ul>

now I can't really assign IDs to this. I just want to toggle it with some function like below.  Maybe this is more of a javascript question.  I guess I could also add another variable to my list of objects in my mvvm and then set that to visible true on a click, but I'd rather not add on the to the view model.

function showToggle(){
if ( $('#myform') visible) do
   $('#myform').hide();
else 
  $('#myform').show();
}

danparker276
Top achievements
Rank 2
 answered on 27 Aug 2014
0 answers
65 views
The Kendo UI dojo login does not work for me, meaning, that when I enter all information and click Login, nothing happens, same with Reset password.

Also, this is the second time I've tried to post this note, even though I'm logged into the site.

Thanks,

Bradley
Bradley
Top achievements
Rank 1
 asked on 26 Aug 2014
0 answers
118 views
When I try to login to Kendo UI Dojo, I see a slight spinning on the Login button, but nothing happens. I have tried on Chrome, Firefox, and IE 10. I also was not successful when I tried Reset Password, with the same results, nothing happens when I click on Reset password.

Also, perhaps whoever responds can tell me how to save a Dojo I built, so I can use for demo.

Thanks,

Bradley
Bradley
Top achievements
Rank 1
 asked on 26 Aug 2014
2 answers
1.5K+ views
Hey guys,

Currently if you have a chart and you display the legend, you are able to click items in the legend to show/hide them.  Was wondering if there is a way to do this without the legend displaying, say maybe by clicking a button.

The below example shows the basic chart with a legend and how it can toggle the series by clicking it in the legend:

http://trykendoui.telerik.com/aPUR/2
Daniel
Top achievements
Rank 1
 answered on 26 Aug 2014
3 answers
202 views
Hello,

Due to the introduction of the Toolbar i decided to replace my own toolbars with the Kendo Toolbars.
This all went fine, except now i have a problem with updating the viewmodel.

If i change the value of a data-bound input and click (for example) the save button on the Toolbar,
the blur event of that input never gets called and thus the viewmodel won't be updated.

If i use a KendoButton outside of the Toolbar i have no problems, since the focus changes to the KendoButton and the blur event of the input gets triggered.

I included a jsFiddle to show you what i mean.
http://jsfiddle.net/6mrmb40k/

- Change the value of the input and click the save button on the toolbar.
- Change the value of the input and click the save button outside the toolbar.

Any ideas how to fix this ?

Thanks in advance.

Alexander Valchev
Telerik team
 answered on 26 Aug 2014
3 answers
177 views
Hello,

When I zoom in this demo:
http://demos.telerik.com/kendo-ui/map/index

the marker position isnt preserverd. Is that normal behaviour?

Thanks,
Martin
Iliana Dyankova
Telerik team
 answered on 26 Aug 2014
1 answer
172 views
Hello,

I have a SPA (MVVM) with several views, and 1 of those views has an Editor.
Each view basicly has a "code-behind" viewmodel, which takes care of the functionality of that view.
This includes initialization on creating and cleaning up on destroying the view.

So the Editor is created in the viewmodel constructor like this:

$("#businessnote_edit", element).kendoEditor({
  myEditorOptions
});

After my view and viewmodel got destroyed i noticed in Visual Studio that the main-document in Internet Explorer Always had an extra "blank" page.
So switching back and forth between another view and the view with the Editor ended in having multiple "blank" pages within the main-document.
After checking those pages i came to the conclusion that they were iFrames created by the Editor that never got removed.

Can you confirm this is a bug ?
In the meantime i just remove them manually.

Thanks in advance,
Marcel Brink




Alex Gyoshev
Telerik team
 answered on 26 Aug 2014
1 answer
81 views
Hello
I'm new to Cordova and Kendo SPA applications. My problem es:

To switch to the view "reportar", the buttons do not respond by making them click.

I'm sorry for my English, I write and speak Spanish

I show them the code here:
http://jsfiddle.net/PeterConchaR/kdbhLfgp/1/


Petyo
Telerik team
 answered on 26 Aug 2014
1 answer
656 views
How can I customize kendo chart title text template ?

for example : 
 $("#id").kendoChart(
                {                    
                    title: {
                        text: '<div style="width: 20px"> title text </div>',

                     }
....
Sebastian
Telerik team
 answered on 26 Aug 2014
1 answer
183 views
How to make that hide in lines with the time, I only need the line "all day"? 


Thanks
Dimo
Telerik team
 answered on 26 Aug 2014
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?