Telerik Forums
Kendo UI for jQuery Forum
1 answer
446 views
How can I make it so that when I click on "Add New Item" it will open up a file browser and allow the user to select file/files that they want to upload.  Then when the user clicks "ok" it will async upload those files and adds it into the Grid as new row(s) for each new item(s).

Thanks.
Iliana Dyankova
Telerik team
 answered on 14 Sep 2012
8 answers
249 views
Are there any known PhoneGap + Kendo Mobile applications available for download from the App/Play Stores? I am evaluating Kendo as a framework for building web-based native applications, and would love to be able to try out some real-world examples.

Thanks,
Jason
moegal
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
1.4K+ views
How would one go about cancelling the change event?

I need to check a variable when the change event is fired and depending upon the variable value:
  1. prevent the change event from bubbling/cancel the event 
  2. maintain the selected state of any rows that were selected prior to the change event firing

Any help would be appreciated.

Vladimir Iliev
Telerik team
 answered on 14 Sep 2012
1 answer
127 views
I'm trying to display large number of items using ListView (web). Solid view looks not good so I need to have striped list. 

Below script is not working

$("li:odd").css("background-color", "#202020");

How I can make ListView striped?
Nohinn
Top achievements
Rank 1
 answered on 14 Sep 2012
0 answers
135 views
json: 1.jpg
i want grid view is :2.jpg
when i select the cell,i want to get the dataitem like 1.jpg.
how to do?
thx!
xu
Top achievements
Rank 1
 asked on 14 Sep 2012
2 answers
1.5K+ views
Hello,

I am new to Kendo UI and want to start to create my 1st pie chart.
But If I run my webpage, I get following error from firebug:

$('#chart').kendoChart is not a function

This is what I include in the header:

<!doctype html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/kendo/styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
    <link href="/css/kendo/styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
 
    <script src="/kendo/js/jquery.min.js" type="text/javascript"></script
    <script src="/kendo/js/kendo.web.min.js" type="text/javascript"></script>      
  </head>

Do I miss a file to include?
What I thought is that I had to include kendo.dataviz.min.js, but this file does not come with the kendo package.
The files I have inside my kendo/js folder are attached as image.

Thank you for any help!
Mr
Top achievements
Rank 1
 answered on 14 Sep 2012
2 answers
119 views
I'm trying to create a feature which will auto-filter a grid using an input field in the toolbar.  The source can be found at http://jsbin.com/odudud/8.  

I have 2 questions:
  1. Each time I apply my manually-created filter, I get "Property '_parse' of object [object Object] is not a function 
    ".  Can you explain what I might be doing wrong to get this?
  2. Is there a way to filter a Number field so that I can search its contents (i.e., using 'contains' with a Number field)?
Thanks!
Darren
Top achievements
Rank 1
 answered on 14 Sep 2012
4 answers
960 views
function onEdit(e) {
       var id= $(e).attr("data-assumptionid");
        var window = $("#EditAssumptionWindow").data("kendoWindow");
        var assumption = findById(assumptions,id);
 
       window.refresh({
           data: {
               ID: assumption.ID,
               Term : assumption.Term,
               type : assumption.Type,
               unitID : assumption.UnitID,
               Name : assumption.Name
           }
       });
 
       window.open();
       window.center();
   }

Controller method
public ActionResult EditAssumption(Guid  ID, int Term, string Name, string type, int unitID)
        {
            ViewBag.Mode = "Edit";
            AssumptionDTO dto = new AssumptionDTO()
            {
                ID=ID,
                Name=Name,
                Term=Term,
                Type=type,
                UnitID=unitID
            };
            return PartialView("NewAssumption", dto );
        }

I am using the above to refresh the window when the user clicks an item and it works fine.

Is it possible to pass the object itself instead of each parameter individually? like below.  I need to do this because the assumption object is going to have an array that needs to be passed in as a parameter also.  Thanks,

function onEdit(e) {
       var id= $(e).attr("data-assumptionid");
        var window = $("#EditAssumptionWindow").data("kendoWindow");
        var assumption = findById(assumptions,id);
 
       window.refresh({
           data: {
               assumptionDTO: assumption
           }
       });
 
       window.open();
       window.center();
   }

Controller method
public ActionResult EditAssumption(AssumptionDTO dto)
        {
            ViewBag.Mode = "Edit";
            return PartialView("NewAssumption", dto );
        }

Alex Gyoshev
Telerik team
 answered on 14 Sep 2012
1 answer
118 views

hello,

I'm working with a kendo datepicker. I created the control with a change event option.

When i run the page, if i already have a date in the input and y modifie it by adding some text to the input the change event is not fiered.

EX:

1- run code
2- the input has "12/12/2010"
3- add some invalid text to the end ex: "12/12/2010asdasd"
4- the input text of the input now is "12/12/2010asdasd" 


the change event is not fiered.

When i do the same but instead of add text, select all the text with the mouse and then y wrote any thet to the input, the change event is fiered.

EX:

1- run code
2- the input has "12/12/2010" 
3- select the input text with the mouse and write "asdasd"
4- the input text of the control now is "asdasd" 

the change event is fiered. 

is this the proper behaviour??

Regards
Guillermo




Vladimir Iliev
Telerik team
 answered on 14 Sep 2012
1 answer
154 views
Kendo ver. 2012.2.710

I need to have multiple pickers (date and time) in a template that I call keno.init() on.  In the template I'm using data-attribute declaration for the pickers.  With data-attributes, can you set min/max for the pickers?  I've tried, but Kendo doesn't like it.

http://jsfiddle.net/q3FPV/3/

Thanks.
Iliana Dyankova
Telerik team
 answered on 14 Sep 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
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
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?