Telerik Forums
Kendo UI for jQuery Forum
1 answer
443 views
I am unable to link to an external URL from the Kendo Menu Item. I want the menu item to link to an external site with some querystring params.

I have tried the menuItem.Url( ) and menuItem.Action(routeValues) to set the external URL i.e https://myOtherSite:99/path/To/Res and routeValue dictionary specifying the key values for the QueryString params, but the menuItem ignores the URL and passes the QueryString params to the current domain's root.

Also I tried setting the .Url("https://myOtherSite:99/path/To/Res?a=1&b=2"). This results in no link on the menu at all.

Is there a way to do this? 

Thanks.


PS: My only solution for now is to link the menuItem to a Controller/Action in my application with an extra parameter (the URL) and add the redirect in there. But i want to avoid that.
Dimiter Madjarov
Telerik team
 answered on 05 Aug 2013
1 answer
108 views
I have the following  markup:

<ul id="answers" data-role="listview" data-style="inset" data-template="answer-template" data-bind="source: availableAnswers" data-click="app.views.question.selectAnswer" ></ul>

     <script id="answer-template" type="text/x-kendo-template">
            <label>
                <input type="checkbox" data-bind="checked: isSelected"/>
                <span data-bind="text: answerText"></span>
            </label>
        </script>

The following click handler does work in Chrome Browser, however it does not work on any mobile device:
selectAnswer: function (evt) {
$.each(that.availableAnswers, function (i, it) {
                it.isSelected = (it.id === evt.dataItem.id);
            });
}

Is there an option on the list view to set it to  single selection mode?

Thanks,
Dinhduy

Petyo
Telerik team
 answered on 05 Aug 2013
1 answer
168 views
Hi,

for some reason this navbar is not rendering correctly on the browser :
<header data-role="header">
<div id="navbar-personalize" data-role="navbar" class="my-navbar">
<div data-align="left">
<img src="../../Images/dashboard6.png" alt="Dashboard"/>
</div>

<span data-role="view-title"></span>

<div data-align="right">
<a href="#merchandise-otherorders-view">
<img src="../../Images/whoelse6.png" alt="Who else is going?"/>
</a>
</div>
</div>
</header>

I have it set in the main layout for the application, and sometimes it works, and sometimes it doesn't. If I try and hard reload the page while clearing the cache, it seems to work but it is very random actually.

I'm not sure of what I'm doing wrong, because this used to work perfectly few days ago, after adding a couple more views in my index, it started giving me this issue.

Thanks
Kiril Nikolov
Telerik team
 answered on 05 Aug 2013
1 answer
169 views
Hi, 

I am in the prelim stages of testing both the HTML / ASP.NET MVC version of Kendo UI Controls. 

The following HTML version of the code "http://demos.kendoui.com/web/combobox/serverfiltering.html" doesnt work on IE 10 but works on Google Chrome. 
It throws an error "SCRIPT1028: Expected identifier, string or number" in IE.  

Are there any compatibility issues or different code paths across different browsers.

Regards
Rajaraman.S 
 
Dimiter Madjarov
Telerik team
 answered on 05 Aug 2013
2 answers
112 views
Hi,

I would like to have the kendo window "belong" to a specified tab. By that I mean that the window should hide together with the tab it belongs to and that this hierarchy is reflected in the DOM (tab div is ancestor of window div).

I used the window's "appendTo" configuration option to achieve this. The only problem is, that now the window content div matches the ".k-tabstrip .k-content" kendo CSS selector which applies wrong styling.

I can prevent this by removing the "k-content" class from the window content div. My question is if I'm breaking styling this way and if there is a more appropriate approach to this problem?

Here is a demo:  http://jsfiddle.net/N54dE/3/
Luciano
Top achievements
Rank 1
 answered on 05 Aug 2013
2 answers
142 views
Hi,

Recently I've noticed that ThemeBuilder stopped working for me.
I see that it works fine with kendo.all.min.js but not with kendo.web.min.js (anymore).

Chrome reports :
"Uncaught TypeError: Object [object Object] has no method 'registerTheme' "
 while Firefox reports:
"TypeError: r.kendo.dataviz.ui.registerTheme is not a function @ http://themebuilder.kendoui.com/scripts/themebuilder.all.min.js:2"
and ThemeBuilder is only partially rendered.

Broken with kendo.web.min.js:
http://jsfiddle.net/36pqQ/1/
http://jsfiddle.net/5rz2y/2/
Working with kendo.all.min.js:
http://jsfiddle.net/SQsqF/2/

Can anyone shine some light on this?
Luciano
Top achievements
Rank 1
 answered on 05 Aug 2013
2 answers
872 views
How to send list of data as a parameter . i want to save list of records at a time by using kendo ui mobile application can any one post the sample code.
Suma
Top achievements
Rank 1
 answered on 05 Aug 2013
1 answer
269 views
I am not sure how to troubleshoot this.  I have Week, Month and Agenda views working great.  I just enabled Day view and wrote my templates just like all the other views.  My "All Day" events are showing up just fine... the time events however are not rendering at all.  There are no errors.  They just don't show up.

What's strange is that even if I give it an invalid eventTemplate, it won't "crash" - it is like it never thinks it needs to render any of the non-all day events.  The exact same data is working on Month, Agenda and Week views however... so I don't think the JSON from the server is wrong.


Thoughts?
Aaron
Top achievements
Rank 1
 answered on 05 Aug 2013
3 answers
638 views
Hello,

I am trying to refresh a grid with a new data source that has different columns, but when I do so, the column headers disappear.

You can see what I mean here: http://jsfiddle.net/YZcYC/3/ 

One thing I noticed was that if I do

grid.columns = [];

the header shows up, but I need to be able to specify column titles, templates, widths, etc, so that's not an option for me.

Any ideas?

Thanks,
Bob
Naresh
Top achievements
Rank 1
 answered on 05 Aug 2013
2 answers
86 views
Are there any plans for a toolbar component?

Something like: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/menu/menus.html?theme=gray
that allows various components inside it, but still keeps it nice on a "single line"?

I was trying to achieve the same thing by styling divs with "k-head", but it's just not the same as a simple and robust toolbar component.

regards.
Hans
Top achievements
Rank 1
 answered on 04 Aug 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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?