Telerik Forums
Kendo UI for jQuery Forum
0 answers
107 views
hi,
I would like the entire grid div to have the alternating rows even if the grid is empty.
Is there a way, other than adding empty objects and binding it to the grid.
also i would like to bind the window resize event to it.

Preethy
Top achievements
Rank 1
 asked on 22 Oct 2012
2 answers
194 views
We're running an webapp inside Facebook (ASP.NET MVC3). In this app we're using KendoUI upload control and all works nice in the browsers except for IE9 that says: 

Access is denied.
kendo.upload.js?t=634716582040000000, line 1032 character 17


Line 1032 is the line form[0].submit(); (line 6 beginning from the end) below.

if (!upload.trigger(UPLOAD, e)) {
    upload._hideUploadButton();
 
    iframe.appendTo(document.body);
 
    var form = iframe.data("form")
        .appendTo(document.body);
 
    e.data = $.extend({ }, e.data, getAntiForgeryTokens());
    for (var key in e.data) {
        var dataInput = form.find("input[name='" + key + "']");
        if (dataInput.length == 0) {
            dataInput = $("<input>", { type: "hidden", name: key })
                .appendTo(form);
        }
        dataInput.val(e.data[key]);
    }
 
    upload._fileAction(fileEntry, CANCEL);
    upload._fileState(fileEntry, "uploading");
 
    iframe
        .one("load", $.proxy(this.onIframeLoad, this));
 
    form[0].submit();
} else {
    upload._removeFileEntry(iframe.data("file"));
    this.cleanupFrame(iframe);
    this.unregisterFrame(iframe);
}
Stéphane
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
201 views
Because the kendo ui upload widget doesn't play nicely with my layout and is extremely difficult to customize, I have created my own button to trigger the kendo upload input element: onClick="$('#upload').click()". This works in chrome and firefox, but in IE it throws a "Access is Denied" error. Clicking the upload widget doesn't throw the error. Is there any workaround for this? A method within the widget that triggers the file selection dialog?

Thanks
Matt
Stéphane
Top achievements
Rank 1
 answered on 22 Oct 2012
4 answers
276 views
Hello,



I have a grid that uses popup editing with a custom template. In this custom edit template I have a grid with child entities. In the edit event handler of the parent grid I set the datasource of the child grid with the appropriate filter for the parent row. I can see that the child entities are loaded ok. I want this child grid to be editable. Every row in the child grid shows edit and destroy commands and the child grid toolbar has a create command. However, when I click on the create, edit or destroy buttons, nothing happens. Has anybody seen this before? Should I add a code sample?



cheers



Remco
Guillaume
Top achievements
Rank 1
 answered on 22 Oct 2012
0 answers
185 views
Hi, my grid has a costum popup edit template where I want to be able to manage a list of subitems. I thought I would use another grid inside the edit tempate but I get an error "Invalid Template". Is it supported to have another grid inside an edit template of a parent grid? If so could I get an example of how to acheive it?
Thanks
Guillaume

My template looks like this:

<script id="popup_editor" type="text/x-kendo-template">
   <div class="k-edit-label">
    <label for="Title">Title</label>
   </div>
            <input type="text" class="k-input k-textbox" name="Title" data-bind="value:Title">

   <div class="k-edit-label">
    <label for="ExpiryDate">Expiry Date</label>
   </div>
   <input type="text"
    name="ExpiryDate"
    data-type="date"
    data-bind="value:ExpiryDate"
    data-role="datepicker" />

            <div id="subitemsGrid"></div>
            $("#subitemsGrid").kendoGrid(##removed code to get list of subitems in grid##);
  </script>

Guillaume
Top achievements
Rank 1
 asked on 22 Oct 2012
1 answer
575 views
Hi all,

I was wondering if there is a way to validate if a kendo window is already open ?

I mean I want to do something really simple.

Just an if that will check if the window is already opened.

Thank you
Mark Freedman
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
226 views
Hello,

is it possible to adjust the height of a popover to its content?
My popover contains several views with different heights.

Thank you
Axel
Iliana Dyankova
Telerik team
 answered on 22 Oct 2012
2 answers
138 views
I'm working on what I guess would be called a single page application.  I was wondering if there's a generic approach to performing KendoUI control cleanup (via the destroy method)?  Basically, I want to be able to point to a div and have any KendoUI controls in the div destroyed. 
Mike
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
277 views
Dear,
I have three vertical splitter like this:

$("#vertical").kendoSplitter({
      orientation: "vertical",
      panes: [
      {
         collapsible: false,
         resizable: false,
         size: "80px"
      },
      {
         collapsible: false,
         resizable: true,
         size: "500px"
      },
      {
         collapsible: false,
         resizable: true,
         size: "300px"
      }
      ]
   });


I would like set the middle splitter in auto height.
I would like have the first splitter on top of window and the third splitter on bottom of window and the second splitter must be changed height with resizing window.

Is there a way to have this result ?

Thanks,
Rinaldo
Dimo
Telerik team
 answered on 22 Oct 2012
9 answers
416 views
Kendo,

I am testing out the mobile on safari and emulating the user agent for iOS and trying to produce some functionality with the ScrollView widget.

I want to display some static HTML (like a box the size of the metro panel box) instead of images and I am having issues getting the scrolling to work. 

I only want to display 1 page at a time no matter the size of the device used, when I use the sample code to test out it does not seem to render the pages like it does on the demo page.

Any ideas? A simple sample would be much appreciated.
Alexander Valchev
Telerik team
 answered on 22 Oct 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
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?