Telerik Forums
Kendo UI for jQuery Forum
1 answer
881 views
hi,
I want to disable onblur validation for kendo  ui textbox  control .How can i achieve it. As per suggestion from kendo forum . I have tried using
$("#div").kendoValidator({ validateOnBlur: false }) 
but it is not working . 
Chuck
Top achievements
Rank 1
 answered on 15 Apr 2013
3 answers
577 views
Hi All,

I want to use Upload Control (Editor Template) Inside kendo Grid with Batch Editing .

How Should I do ?

Can any one help me

Thanks,

Daniel
Telerik team
 answered on 15 Apr 2013
1 answer
152 views
Hi,

I am having two drop downs(start year and end year) which consists of years.
I want to  validate the end year such that end year should always greater 
than start year.If the end is less than start year then i want to display a validation
message next to the second drop down

Is it possible in kendo ui.provide me samples if possible


Thanks,
Bhavani
Chuck
Top achievements
Rank 1
 answered on 15 Apr 2013
1 answer
81 views
Hello,

I would like the tab bar and navigation bar to never move / scroll.
But some views in Kendo mobile (usually empty ones) allow the entire App to scroll.

Is there a fix for this behaviour, as only the view content should move?
(Screenshots showing the iOS 'spring' scroll issue have been attached.)

Thanks,
David

Iliana Dyankova
Telerik team
 answered on 15 Apr 2013
6 answers
1.6K+ views
I am using this page as a starting point:
    http://demos.kendoui.com/web/grid/custom-command.html

Notice on this page that when you click the "View Details" button and the customized popup is displayed, there is no "Update" or "Cancel" button.

I want to keep the functionality of being able to assign properties of the window, such as title, width, etc. as shown by:
wnd = $("#details")
  .kendoWindow({
    title: "Customer Details",
    modal: true,
    visible: false,
    resizable: false,
    width: 960
  }).data("kendoWindow");
and want to add the "Update" and "Cancel" buttons as displayed in:

    http://demos.kendoui.com/web/grid/editing-popup.html

I have been able to display the buttons by adding the anchor tags copied for the buttons from a normal popup window, but it isn't bound to any events although it displays the buttons, it won't fire the save or cancel actions.

Here is my template code:

<script type="text/x-kendo-template" id="editClientTemplate">
    <div id="details-container">
        <h2>#= borrowerFirstName # #= borrowerLastName #</h2>
        <em>Contact ID #= contactId #</em>
    </div>
    <a class="k-button k-button-icontext k-grid-update" href="\\#"><span class="k-icon k-update"></span>Update</a>
    <a class="k-button k-button-icontext k-grid-cancel" href="\\#"><span class="k-icon k-cancel"></span>Cancel</a>
</script>

I've tried many different things and nothing has worked.
Ken
Top achievements
Rank 1
 answered on 15 Apr 2013
3 answers
268 views
For example ,I want to find the object that its id in "101,1011,1001'  and  name  "Lucy" called filterstring.Need I have to filter 3 times?
  $("#Grid").data("kendoGrid").dataSource.filter([
      { field: "id", operator: "eq", value: "101"},
{ field: "id", operator: "eq", value: "1001"},
{ field: "id", operator: "eq", value: "1001"}
{ field: "name", operator: "eq", value: "Lucy"}
                   ]);
Atanas Korchev
Telerik team
 answered on 15 Apr 2013
11 answers
1.9K+ views
Hi,

I have searched the documentation and the forums but have not managed to find a topic on this issue. I would like to know if it is possible to define a template to use for the delete command prompt in a Grid control.

I'm using MVC and I currently have grids on certain pages that make use of the 'Delete' command button. My problem is that when using the delete command the command prompt is the default ugly browser one which is inconsistent with the theme of my application (I am aware that I can hide the prompt altogether but I'd like to keep it and if I use a custom command button instead then I lose the icon on the button which I don't want either).

On other forms I have been able to make use of the Kendo UI Window as a prompt which is working fine and I would like to be able to use this same style prompt in the Grid too. 

Is this possible?

Thanks,

Neil.
Alexander Valchev
Telerik team
 answered on 15 Apr 2013
1 answer
157 views
Hi,
I am using a Kendo UI Menu server wrapper (razor), which enables security trimming based on the Authorize Attribute on the Controller Action (this is an MVC 4 project). When a user is not authorized to access an Action, the Menu Item is not rendered.
I have a requirement to dosplay the Menu Item as disabled (as opposed to hiding it) when the user is not authorized to access it. Ideally, it should also be determined through the Authorize Attribute on the Controller Actions. Is it possible?
Georgi Krustev
Telerik team
 answered on 15 Apr 2013
3 answers
117 views
We are trying to group some data for display using a Column chart. This works fine in IE, Safari etc, but when viewing in Chrome the data is mixed up, with values not falling into the correct groups. Removing the grouping shows that the data being handled is exactly the same in all browsers. Has anybody else come across this issue, and if so are there any known workarounds?

For info, the function in which grouping takes place is as follows:

function ajaxCallColumn(div, hier, dsField, stck, catAxisField, filter, srsClk, data) {
    $.ajax({
        url: '/api/Chart/',
        cache: false,
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        data: JSON.stringify(data),
        success: function (result) {
 
            $(div).kendoChart({
                dataSource: {
                    data: result,
                    group: {
                        field: dsField
                    },
                    filter: { field: "Category", operator: "neq", value: categorySwitch }
                },
                chartArea: {
                    background: "transparent"
                },
                title: {
                    text: result[0]["TableCaption"]
                },
                seriesColors: ["#007c85", "#f3901d", "#b2bb1e", "#a40046",
                            "#00aeef", "#ffcc00", "#5f6062", "#25567b", "#ccccff",
                            "#380470", "#6FFF00", "#9000FF"],
                legend: {
                    visible: true
                },
                series: [{
                    type: "column",
                    field: "Value",
                    tooltip:{
                        visible: true,
                        template: "#= series.name # - #= value #"
                    }
                }],
                seriesClick: srsClk,
                categoryAxis: {
                    field: catAxisField,
                    labels: {
                        rotation: 90
                    }
                }
            });
        },
        error: function (result) {
            if (result.status != 401) {
                alert(result.status + " " + result.statusText);
            }
        },
        statusCode: {
            401: function (jqXHR, textStatus, errorThrown) {
                self.location = '/Account/Login/';
            }
        }
    });
}
T. Tsonev
Telerik team
 answered on 15 Apr 2013
3 answers
575 views
I am trying to use a Kendo Dropdownlist that uses a template.  I have a page where a user can select a dataset and that dataset with populate dropdowns with values.  Most of my dropdowns do not use templates however the one that isnt working properly is using templates.

My template:

<script type="text/x-kendo-tmpl" id="dropdownTemplate">
<div>
<p><strong>#= Name #</strong></p>
<p>#= Description #</p>
</div>
</script>

My dropdown definition:

$("#listTemplates").kendoDropDownList({
dataTextField: "Name",
dataValueField: "ChartTemplateId",
template: kendo.template($("#dropdownTemplate").html()),
change: listTemplatesChange
});

How I am populating my dropdown:
portalTemplatesModel = [
[{
Name: "Test",
Description: "Long Description",
ChartTemplateId: "1"
}],
[{
Name: "Test2",
Description: "Long Description2",
ChartTemplateId: "2"
}]
]
 for (i = 0; i < portalTemplatesModel.length; i++) {
debugger;
$("#listTemplates").data("kendoDropDownList").dataSource.add(portalTemplatesModel[i]);
}

My setter:

var ddTemplates = $("#listTemplates").data("kendoDropDownList");
ddTemplates.select(function (dataItem) {
debugger;
return dataItem.value === placeHolderChart.ChartTemplateId;
});

dataItem looks like the following:
[{
Name: "Test",
Description: "Long Description",
ChartTemplateId: "1"
}]

I noticed in the setter documentation you are supposed to use either value or item.  However, with the dataset that I am using it seems to use a different object that does not contain value or text like the other dropdowns that dont use templates have.

Thank you in advance!
Alexander Valchev
Telerik team
 answered on 15 Apr 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
TimePicker
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?