Telerik Forums
Kendo UI for jQuery Forum
2 answers
239 views
Hi,

We ran into a serious issue with the switch, when applying custom labels (a must for international support).

If the on/off labels are changed - after initialization ($("#my...").kendoMobileSwitch({...})

it all works well.

If we change the value in code (either by referencing the checked attribute of the tag or by doing $("#my....").data("kendoMobileSwitch").options.checked = .... the visual display gets crazy, it loses the custom values, and in iOS seems to also lose the blue color for on.

The solution we found was to initialize the tag each time we are trying to set it's value. It works well, but we get a DOM leak, we get junk tags created in the DOM from the previous executions.

Suggestions for a workaround or fixes would be greatly appreciated.
Alexander Valchev
Telerik team
 answered on 02 Jan 2013
3 answers
564 views
HI ,

  I am using kendoUpload() in menual upload method, not auto upload. 1st i select file, it is correctly added after am upload another file, i select only one file but show one file more time in file selection.( i attached copy of this.)

use,   autoupload: false,
Dimo
Telerik team
 answered on 02 Jan 2013
9 answers
782 views
Hi, I am trying to put a relative URL against a read property in a dataSource but when the page is rendered, the dataSource always seems to be prefixing the URL with a '/' making it look from the root.  Any way to get around this please?
Chris
Top achievements
Rank 1
 answered on 02 Jan 2013
5 answers
167 views
Hello,
First time data is bound okay via controller.

    @(Html.Kendo().ListView<Models.InterfaceModel>(Model)
                .Name("listView").Events(ev => ev.Change("onSelected"))
        .TagName("div")
        .ClientTemplateId("list-view-template")
        .DataSource(dataSource => dataSource
                    .Model(model => model.Id("InterfaceId"))
            .PageSize(6)
            .Read(read => read.Action("ReadInterfaceListView", "Home"))
        )
        .Pageable()    
        .Selectable()
    )

after I navigate to another partial view and return to the partial view with above kendo listview, data is not bound (though it IS sent from controller okay - I see it in debug Model is filled okay)

Any help would be appreciated.

Thanks
Shabtai
Top achievements
Rank 1
 answered on 02 Jan 2013
1 answer
60 views
Using IE9, if you browse to http://demos.kendoui.com/web/treeview/animation.html and expand/collapse the “Decor” tree item, unwanted artifacts appear below the treeview
Petur Subev
Telerik team
 answered on 02 Jan 2013
1 answer
92 views
The numeric pad key "." is mapped as "," for polish keyboards but when you enter a number in the numerictextbox the key is blocked by the widget. Is there a workaround for this problem?
Daniel
Telerik team
 answered on 02 Jan 2013
4 answers
524 views
Hello, 
I am trying to visualize data from our company's server through Kendo Grid. The data itself is avabile through secure WCF service over HTTPS with authentication. Since the server is in another domain and we need the authentication, i have to use CORS. Without authentication it works just fine using jasonp, but unforunattely that's not an option for us. So my code looks something like this:
var DS = new kendo.data.DataSource({
      type: "odataCors",
      transport: {
        read: {
          url: "https://.../TestData",
          crossDomain: true,
          withCredentials: true,
          beforeSend: function (req) {
            req.setRequestHeader("Authorization", "Basic"  + auth);
          }
        }
      }
    });
I am using odataCors extension, which i found somewhere here on the forums. Requestwise it looks allright and it works like it should when i call DS.read() - ajax sends OPTIONS message with Origin, server responds with adequate headers, ajax sends GET message with auth cookie and server returns valid jsonp odata. 

Trouble begins when i want to attach this datasource to the grid. It doesn't work, it seems like it is processing a response from the OPTIONS response and not from the second one, which actually returns data. 

Is there a way to make it work? Any help would be appriciated very much!
Thank you.


Rostislav
Top achievements
Rank 2
 answered on 02 Jan 2013
1 answer
338 views
How can I hide columns in Listview?

<script id="list-view-template" type="text/x-kendo-template">
        <div class="product-view">
                <dl>
                    <dd style='visibility:hidden'>${InterfaceId}</dd>
                    <dd>${InterfaceName}</dd>
                    <dd>${ViewName}</dd>
                </dl>
        </div>
    </script>

Worked

But when I try to hide via JS:
      $("#listView").kendoListView({
            dataBound: function (e) {
$(".product-view dd:first").hide();
});

didn't work.

Any help would be appreciated. Thanks
Shabby
Nikolay Rusev
Telerik team
 answered on 02 Jan 2013
1 answer
108 views
I was playing with the Radial Gauge and wanted to use the data initialization attributes but it seems that kendoui ignores somehow other attributes I set:
<div data-role="radialgauge" data-pointer="{ value: 20 }"></div>
 the attribute data-pointer is ignored and the gauge is set to the default 0.
Daniel
Telerik team
 answered on 02 Jan 2013
5 answers
1.2K+ views
Is it possible to use a partial view (.cshtml) as the template for the grid's popup editor in Javascript? Essentially I want to set the "template" property of the "editor" from Javascript. I see that it's possible by using the MVC wrapper's HTML helper property TemplateName, but I don't want to use the helper. From what I see the helper creates a string version of the partial view and sets the "template" property as viewed in the resulting Javascript generated by the view engine.
editable: { mode: 'popup', template: 'can I set this value from JS?' },

Thanks,
Dave
Daniel
Telerik team
 answered on 02 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?