Telerik Forums
Kendo UI for jQuery Forum
0 answers
86 views
I'm trying to integrate with an existing component feeding Json data in cross site environment. The grid works in Chrome, but fails to populate in IE. Using version 9 of Internet Explorer. I provided several examples below to demonstrate which code works and which doesn't.

I also attached the code with supporting files.

Please help.



<script>
// Code downloaded from http://demos.kendoui.com/web/grid/index.html
var alerts = 
{
"startIndex":0,
"count":25,
"entry": [
{"AlertId": 111},
{"AlertId": 222},
{"AlertId": 333},
{"AlertId": 444},
{"AlertId": 555},
{"AlertId": 666},
{"AlertId": 777}
]
};

$(document).ready(function() {
// Example 1. Works. Taken from http://docs.kendoui.com/howto/bind-the-grid-to-remote-data.
var ds1 = new kendo.data.DataSource({
transport: {
read: {
url: "https://api.instagram.com/v1/media/popular?client_id=4e0171f9fcfc4015bb6300ed91fbf719&count=2",
dataType: "jsonp"
}
},
pageSize: 5,
schema: {
 data: "data"
}
});

// Example 2. Fails in IE and Chrome with jsonp. No headers, no data.
// Works in Chrome and fails in IE with json.
var ds2 = new kendo.data.DataSource({
transport: {
read: {
url: "http://10.60.71.140/CoreRESTServices/Core.svc/alerts?fields=AlertId",
dataType: "jsonp"
}
},
pageSize: 5,
schema: {
 data: "entry"
}
});

// Example 3. Fails in IE, and works in Chrome. IE headers, but no data.
var ds3 = new kendo.data.DataSource({
type: "jsonp",
transport: {
read: {
url: "http://10.60.71.140/CoreRESTServices/Core.svc/alerts?fields=AlertId"
}
},
pageSize: 5,
schema: {
data: "entry"
}
});

// Example 4. Works.
var ds4 = new kendo.data.DataSource({
data: alerts,
pageSize: 5,
schema: {
 data: "entry"
}
});


// Initialize the grid.
$("#grid").kendoGrid({
dataSource: ds4
});
});
</script>
Alex
Top achievements
Rank 1
 asked on 07 Jan 2013
1 answer
219 views
Hi,

Is it possible to add custom lines and arrows with some label / description in standard dataviz charts?  I have added a sample to explain the same.

Regards,
Suresh
Iliana Dyankova
Telerik team
 answered on 07 Jan 2013
3 answers
164 views
As per the title - does something in Kendo/Kendo mobile change the meta viewport tag? I'm asking because on the device using PhoneGap / Cordova it is broken for retina resolutions - everything looks zoomed in. i have tried adding the EnableViewportScale to the plist - and setting the viewport tag as per StackOverflow ( http://stackoverflow.com/questions/7612330/phonegap-and-retina-display ) but it doesn't seem to work with Kendo Mobile - but looks fine in Chrome with a fake userAgent :)
S
Top achievements
Rank 1
 answered on 07 Jan 2013
1 answer
184 views
I have a run into an issue that is causing problems for us on our project. Instead of going into a lengthy description, here is a jsFiddle that demonstrates the issue: http://jsfiddle.net/pRMfN/1/

What I'd expect to happen when you click the button is that both divs are refreshed to output true, but instead only the div that is bound to the viewModel directly is refreshed, while the div that is bound to the child observable object is not.

Am I doing something wrong? Is this behavior by design? I realize that this is a contrived example and I could use spans with text bindings instead of templates to accomplish the same thing here, but on our real-world project this is an issue because we must use templates on a particular page (for various reasons) and we'd like to bind to a child object to reduce the number of times a template is re-rendered to improve performance (there are other child objects that are updated independently of the one in question), but when we do, the template is only called once, and not refreshed each time a value inside it changes.

Thanks for any assistance,
Jonathan
Alexander Valchev
Telerik team
 answered on 07 Jan 2013
3 answers
769 views

I was able to set my Pageable options with no problem but have few questions below and was hoping someone could help.

  • Can yo change the order of the pageable controls.......For example I would like the Refresh button to be first followed by the |< < then display the page size drop down box, then show "Page input box of Total > >|.............?
  • Can I show the refresh button at the top and bottom of the Grid?
  • Can I change the width of the Input box?

Thanks

Alexander Valchev
Telerik team
 answered on 07 Jan 2013
3 answers
260 views
We are using KendoUI to build some of our widgets, along with using ASP and Razor. We are getting some of these widgets delivered through a click, which fills in a div (using AJAX) with the appropriate HTML. The problem, is that the KendoUI is already loaded, and so the HTML delivered via AJAX is not styled, nor made into widgets from KendoUI. 

Is there a way to "reload" the KenoUI JavaScript with each AJAX request?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 07 Jan 2013
1 answer
86 views
Hello,

The texts 'Insert image', 'Web address', 'Alternate Text', 'Search', 'Insert' and 'Close' being displayed on the Insert Image Dialog are not localized.

How can i achieve this?

Kind regards
Nihat

P.S. similiar as in http://www.telerik.com/community/forums/aspnet-mvc/editor/insert-image-dialog-text-is-not-localized.aspx#2437306
Alex Gyoshev
Telerik team
 answered on 07 Jan 2013
4 answers
397 views


Hi,
     Is there any mouseleave event for  chart series like 'SeriesHover'?
     Actually our requirement is to show a popup when mouse hover the series. if mouse leave from the 
     series, we need to hide the popup. I tried it with the available chart and there have an inbuilt serieshover event.
     But there is no seriesleave like event.
Brian Swiger
Top achievements
Rank 1
 answered on 07 Jan 2013
1 answer
1.4K+ views
Hi, 

I want to set the height and width of the element "ul" so that when i select multiple files they all come in one column. Right now they are getting scattered when i select 10 files.

I tried to set the height and width of the for the class "k-upload-files k-reset" in the onSelect event. But the ul is not created by the time i tried to apply the styles. so no effect.
How can set the styles for the ul element (k-upload-files k-reset) ?

Thanks. 
Dimo
Telerik team
 answered on 07 Jan 2013
1 answer
243 views
Are there any examples of how to make swipe events work from a listview?

Thanks
Alexander Valchev
Telerik team
 answered on 07 Jan 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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
AIPrompt
TimePicker
AICodingAssistant
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?