Telerik Forums
Kendo UI for jQuery Forum
1 answer
138 views
Greetings.

I would like to add an Image as a background for a modal web Window with fixed dimensions. The image is stored in the Content folder of my test project.
I'm planning to use the background somewhat as a form template to add another Kendo Widgets inside the Window, and position them according to the image patterns.
Is there a way to do this??? Do I have to make a custom CSS, or is there a property to set the background??
I haven't found yet a related topic in the Documentation or the forum.

Thanks in advance.

Ismaro Miranda
Alexander Popov
Telerik team
 answered on 21 Nov 2014
1 answer
2.4K+ views
Are the docs for previous versions of kendo available online somewhere on the site, or are they available to be hosted locally? It would be nice if when going to the kendo docs page, there was a way to select a previous version of the docs - similar to what Sencha does with the ExtJS docs. 
Kiril Nikolov
Telerik team
 answered on 21 Nov 2014
11 answers
1.2K+ views
How to add icon in Kendo window's title?
Iliana Dyankova
Telerik team
 answered on 21 Nov 2014
3 answers
501 views
Hello,

Using the Custom ajax binding, I'm able to select a grid page from the controller but the grid pager is showing that the first page is selected.

The page displayed in the grid does not match the page number highlighted in the pager.

Thank You. 
Alexander Popov
Telerik team
 answered on 21 Nov 2014
3 answers
517 views
In a pageable grid, I want to move to the page that contains the row for uid == x.  But how can I determine the page number for the data item with uid == x, if a sort or filter has been applied to the grid?  If there is no sort or filter, I can find the page number with the following code:

function gotoPageForUid (grid, uid) {
    var kdata = grid.dataSource.data();
    for (var i = 0; i < kdata.length; i++) {
        if (uid == kdata[i].uid) {
            var pgsize = grid.dataSource.pageSize();
            var pageForRow = 1 + Math.floor(i/pgsize);
 
           grid.dataSource.page(pageForRow);
            break;
        }
    }
}


But that code is not correct if the grid is sorted and/or filtered.  
What is the correct code?
CK
Top achievements
Rank 1
 answered on 20 Nov 2014
2 answers
220 views
I used the Telerik "Kendo UI Custom Download" to create a custom script. I included all the grid components other than Editing. When I attempt to export the grid to Excel, I get the following error:

0x800a138f - JavaScript runtime error: Unable to get property 'Workbook' of undefined or null reference

at the following code:

var i=new e.ooxml.Workbook(t)

It works fine if I use the kendo.all.min.js file. What else do I need to include to get the Excel export to work?

Frank Wanicka
Frank
Top achievements
Rank 1
 answered on 20 Nov 2014
1 answer
189 views
I have a grid that has a row expander for the detailsTemplate. I want to know how I can change the column header of the row expander to be something like

<span ng-click="myfunction()">Click here</span>

Right now the column header is blank.
Alexander Valchev
Telerik team
 answered on 20 Nov 2014
1 answer
88 views
Text binding shows different results, I saw that innerText property in Chrome has different behavior than textContent in Firefox http://www.davidtong.me/innerhtml-innertext-textcontent-html-and-text/.

See this fiddle.
http://jsfiddle.net/zLq4xt52/
Petyo
Telerik team
 answered on 20 Nov 2014
2 answers
186 views
Hi,

When using charts, I use the "redraw" method to handle the case when the screen is resized by attaching a listener to the resize event. However, I realized that there is no such method in Sparklines, and I cannot find any good alternative (refresh seems to need me to resubmit the whole data, which is not as easy in my use case).

Do you plan to add this method too? :)
Michaël
Top achievements
Rank 1
 answered on 20 Nov 2014
3 answers
315 views
Hi,

I'm trying to understand if what I'm seeing is by design. It appears that when I use a remote HierarchicalDataSource (HDS) with loadOnDemand=false that the datasource "read" method is called for each level of the tree. Is the philosophy here that if you would only use a remote HDS when you have larger datasets to return on demand for different levels of the Hierarchical data? Or, said another way, is it not supported to have a remote HDS return the full structure once and have the TreeView use that and not make any more remote calls (or, use "fetch" at least)?

Alternatively, if I use an HDS with local data with loadOnDemand=false, like:

new kendo.data.HierarchicalDataSource({
    data: someData
})

then the TreeView works with the full data as expected. The trouble here is that I want to provide my data via ajax in one call - not have it called for each level of the tree. And right now it seems I would need to make that ajax call to get the data and then create the HDS as if it is working with local data to avoid all these remote calls.

Am I missing something?

Thanks,
Josh

Alexander Popov
Telerik team
 answered on 20 Nov 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
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?