Telerik Forums
Kendo UI for jQuery Forum
1 answer
363 views
I've been trying to figure this out in my own scenario but I'm able to produce this using a slightly modified example I found on the forum from one of your developers.

Here's the example: http://jsfiddle.net/krustev/5GGVf/ 

When using an array that's empty or no datasource at all you'll notice an error in Chrome.  With a larger page this causes a stack error.  In Firefox this will completely lockup the browser.

Is there any viable way to create an empty combobox and later add data without this problem?

Edit: To produce the bug simply start typing in the combobox.

Thanks,
- Mike
Georgi Krustev
Telerik team
 answered on 11 Jun 2012
0 answers
71 views
Can I use Kendo UI Web Grid for mobile application
sushil
Top achievements
Rank 1
 asked on 11 Jun 2012
1 answer
106 views
I have a XML data source that I would like to issue an error event when the response header has a certain key and value.

The headers are:

Key               Value
Response          HTTP/1.1 200 OK
Server            Apache-Coyote/1.1
X-Powered-By      Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0
X-UA-Compatible   IE=EmulateIE7
X-ABC-XYZ-ERROR   -34
Cache-Control     no-cache, no-store
Content-Type      text/html;charset=UTF-8
Transfer-Encoding chunked
Date              Sun, 10 Jun 2012 22:34:54 GMT

When X-ABC-XYZ-ERROR is < 0 I want error evented.
Iliana Dyankova
Telerik team
 answered on 11 Jun 2012
2 answers
550 views
Hello,
I'd like to print on the screen absolute values by a template.
I've tried things like that :
valueAxis: {
     labels: {
          template: "#Math.abs(value)#"
}}

or equivalent by using javascript and jquery but I couldn't find this out.
Anyone can help ? Thanks !
Frederic
Top achievements
Rank 1
 answered on 11 Jun 2012
1 answer
163 views
I have a server delivering a data query in XML format. When the query fails or is ill-formed the server returns a 200 OK response that is a error message in the guise of an HTML page.  

In IE the parse of the response fails, and in Chrome it does not.

The data.xml.js parse: method uses jQuery (I am using 1.7.1) $.parseXML which in turn uses
  • window.DOMParser, or 
  • ActiveXObject( "Microsoft.XMLDOM" )
The HTML is parsed fine by window.DOMParser because the HTML is valid and valid HTML parses as XML.
The Microsoft.XMLDOM parser does not like the HTML and its .LoadXML() returns a null.

So the question is should data.xml.js handle the HTML ? I would suggest no, or at least make it controllable through an option since some future task may require using data found in some xpath of an HTML response.

To fail the HTML response I made this adjustment in kendo.data.xml.js parse: 
    documentElement = xml.documentElement || $.parseXML(xml).documentElement;

changed to 
  documentElement
    =   xml.documentElement
    || ( xml.substr(0,5)==
'<?xml' 
       ? $.parseXML(xml).documentElement
       : jQuery.error(
"Invalid XML: " + xml )
       )
    ;

A schema: property could be used to control the strictness of parsing.

schema: { type: 'xml', strict: true, ... }  // strict (default) requires <?xml lead-in, false allows for any lead-in
schema: { type: 'xml', leadin: '<?DOCTYPE HTML', ... }  // string (or array of string) for specifying allowed lead-ins

Happy coding,
Richard
Atanas Korchev
Telerik team
 answered on 11 Jun 2012
1 answer
103 views

I think I have found a typo in your code, which leads to the problems with animation.

extend(kendo.fx, {

...

animate: function(elements, properties, options) {

element.animate(multiple, extend({ queue: false, show: false, hide: false, duration: options.duration, complete: options.complete })); 

...

The extend(...) call works as if it's called with window.extend(...), which extend window object with some properties.

I'm not sure that it's what you have expected to do.

Please confirm.

Kamen Bundev
Telerik team
 answered on 11 Jun 2012
0 answers
78 views
Hi,
Is it possible to show "series" values after the bar graphs, or on top of the bar graphs? So not only on the valueAxis.

Thanks 

callaway golf 


Rose
Top achievements
Rank 1
 asked on 11 Jun 2012
0 answers
110 views
Hello,

I did remove all the content this thread.
I did read the posting HTML Content instead of images Started by Josh Lipford

But at first I was not aware that a second problem was discussed there of having 1 more page than defined.

So it works now for my solution.

Greetings Johan Borchers
Johan
Top achievements
Rank 1
 asked on 10 Jun 2012
0 answers
57 views
Dear All,
If I have implement getting data from database and bind that into grid in web application using kendo ui..same procedure and same code can use to mobile application to bind a grid?

thanks, 
Susi
Top achievements
Rank 1
 asked on 10 Jun 2012
0 answers
90 views
Dear All,
If I have implement getting data from database and bind that into grid in web application using kendo ui..same procedure and same code can use to mobile application to bind a grid?

thanks,
Susi
Top achievements
Rank 1
 asked on 10 Jun 2012
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?