Telerik Forums
Kendo UI for jQuery Forum
5 answers
214 views
Hello, I am sending data (onUpload event) to webapi, for example:

function onUpload (e) { 
   e.XMLHttpRequest.setRequestHeader(key, value);
}

Also, I need to send another data when the file is removed (onRemove event), but the paramater "e" in this event  doesn't have the object XMLHttpRequest, that why, I can not use the function e.XMLHttpRequest.setRequestHeader(key, value);

I am using the latest version of Kendo UI Controls

What is your suggestion?
Dimiter Madjarov
Telerik team
 answered on 12 Nov 2015
6 answers
185 views

Hello,

since 2015 Q3 i cannot set the title in a show-before function.

example

With 2015 Q2, it works as expected.

 

 Kind regards

 

Petyo
Telerik team
 answered on 12 Nov 2015
1 answer
117 views

I have a template that returns the name of the template when loaded.

<div><ul id="inspectionlist"></ul></div>

 

<script id="attachment-template" type="text/x-kendo-template">
    <table class="instable">
        <tr class="insrow">
            <td class="inscell1"><label>#: RiskAssessment #</label></td>
            <td class="inscell2"><label>#: AreaDescription #</label></td>
            <td class="inscell3"># if (HasAttachments) { # <a data-role="button" data-click="onClick">VIEW</a> # } #</td>           
        </tr>       
    </table>
</script>

 

var ourList = e.view.content.find("#inspectionlist");
 
        ourList.kendoListView({
            template: 'attachment-template',
            style: "inset",
            dataSource: new kendo.data.DataSource({
                type: 'everlive',
                transport: {
                    typeName: 'dbo_Inspection'
                },
                schema: {
                    model: {
                        id: Everlive.idField,
                        fields: {
                            'RiskAssessment': { type: 'number' },
                            'AreaDescription': { type: 'string' },
                            'HasAttachments': { type: 'boolean' },
                            'StatusDescription': { type: 'string' },
                            'CompanyId': { type: 'number' }
                        }
                    }
                },
                serverFiltering: true,
                filter: {
                    logic: "and",
                    filters: [
                        { field: 'CompanyId', operator: 'eq', value: sessionStorage.CompanyId },
                        { field: 'StatusDescription', operator: 'eq', value: 'Open' }
                    ]
                },
                serverSorting: true,
                sort: { field: 'AreaDescription', dir: 'asc' }
            })
        });

What returns looks like the following:

attachment-templateattachment-
templateattachment-templateattachment-
templateattachment-templateattachment-
templateattachment-templateattachment-
templateattachment-templateattachment-
templateattachment-templateattachment-

Can I assume I have something wrong with the template and if so could someone point it out.

Thanks

Petyo
Telerik team
 answered on 12 Nov 2015
7 answers
3.0K+ views

Hi,

When i set the "filter" option in the DropDownList, the dropdown closes as soon as i click it !
​You can see the issue here jsFiddle
Commenting the filter​ line solves it, but i need the search

Thanks.

Georgi Krustev
Telerik team
 answered on 12 Nov 2015
1 answer
106 views

The valueAxis is a percentage value.

Is it possible to give the whole chart a red background color for the region below the 20% range?

EZ
Top achievements
Rank 2
 answered on 11 Nov 2015
3 answers
150 views

I have been trying to figure out this bug for several hours now and just can't seem to figure out what the issue is. I am using the Kendo UI Grid to display some items. The pager at the bottom works perfectly fine on any screen resolution above 1024px. But once it hits or goes below 1024px, the actual button to select the page your on drops down a line below the rest of the buttons.

I have inspected element on it and tried to change a ton of different style properties for it but none seem to work. I have attached screenshots to this thread. The first attachment is of it working properly on screens greater than 1024px wide. The second attachment is of it broken when the screen resolution is <= 1024px.

Hopefully someone has run into this problem before and can help me out. It's driving me insane!

Austin
Top achievements
Rank 1
 answered on 11 Nov 2015
1 answer
218 views

Hi,

For applying translation for calendar, how can we translate the month and week names using messages

 kendo.ui.<Widget-name>.prototype.options.messages =

$.extend(true, kendo.ui.<Widget-name>.prototype.options.messages,{"<message-name>": "<translation",//...});

Why I am preferring messages is I already have names translated files in my project, planning to use the same instead of having duplicate sources.

could any one please help me, Thanks in advance.

 

 Regards,

Ramesh

Alexander Valchev
Telerik team
 answered on 11 Nov 2015
16 answers
1.0K+ views
If the items being sorted are <input> they seem to become unclickable/editable, you can get to the with the tab key but not the mouse. Is this expected behavior or is there a way to keep inputs or other widgets being sorted from being unreachable with the mouse?

Note: we plan to have several kinds of form inputs in our sortable sections not just input elements, this is only a first test run using sortable so far...

Here is the basic structure we are sorting if it helps:
div (sortable container)
     div (repeating sortable item)
            button (handler)
            (some inputs and images, inputs can only be accessed with tab key when kendoSortable is applied)

Herre is a telerik dojo example of the behavior:
http://trykendoui.telerik.com/ASeD
Alexander Valchev
Telerik team
 answered on 11 Nov 2015
3 answers
85 views

I would like to use KendoUI Professional in a node-webkit.js application (aka nw.js) 

I did see kendo-ui-core in npm how would I get the licensed version(professional) into a node-webkit application?

Thanks,

Pete

Sebastian
Telerik team
 answered on 11 Nov 2015
1 answer
88 views

Hi,

I get no lines in my chart and figured out, that the datasource type may be the issue.

Am I right, that I need plain data without the aspnetmvc-ajax wrapping (Data, Total, Errors, AggregateResults) for use with a chart?

It is working in that way. I just need clarification if I need separate serverside controllers for grid/chart in my project.

 

Thank you!

br, Chris

Christian
Top achievements
Rank 1
 answered on 11 Nov 2015
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?