Telerik Forums
Kendo UI for jQuery Forum
1 answer
67 views
Currently, the model binder for the DataSourceRequest (which is DataSourceRequest) throws an error when trying to use the "Contains" operator. This is reproducible in your demos.

Thanks in advance for the fix! ;)
Alex
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
280 views
Or am I supposed to put all of the code on one page? Every time I try to use href to link to another html file that has kendo code in it, it links to #nameofhtmlfile.html on the same page (meaning it doesn't go anywhere and just appends #nameofhtmlfile.html at the end of the current url.

Please help! :(

Edit: To clarify: In Kendo, to go to the next page, you need both of the "pages" in one html file and then use some sort of event to send you to the next 'page'. I wanna put the 'pages' in separate html files if possible.
Alexander Valchev
Telerik team
 answered on 04 Jul 2012
0 answers
143 views
Hi 

if I create kendoGrid like this:

$('#grid').kendoGrid({
            dataSource: {
                data: [{Name: 'Alex', Age: 44}, {Name:'David', Age: 13}]
             },
            rowTemplate: kendo.template($('#row-template').html()),
        });


the template looks this:
 <script id="row-template" type="text/x-kendo-template">
        <tr class="k-grid-edit-row" ">
            <td>
                <input data-bind="value: Name"/>
            </td>
            <td>
                <inputd ata-bind="value: Age"/>
            </td>
        </tr>
    </script>

then I see the grid rendered correctly but the databinding is not working at all.

thanks
david
Top achievements
Rank 1
 asked on 04 Jul 2012
0 answers
107 views
Hi,

Did anybody made any success with kendoui grid pagination or virtualization with upshot dataSource?
Any tips or sugestions?
In this moment I am able to display data (using Knockout-Kendo.js) from my ViewModel which contains upshot dataSource. All CRUD operations works fine but I need a server pagination or virtualization. Naturaly, don't want to load all data to my viewModel.

Thanks
/KrisD 
Kristijan
Top achievements
Rank 1
 asked on 04 Jul 2012
5 answers
160 views
How does the validation "work" in that what happens when I setup validation on a form element.

When you call validate() it loops though all required inputs in that form and runs every rule on each of them?...or does it run on every input in that form.

So then if the rules run per input (seems like this from the demo) can you not setup a global rule that says something like "Count all checked checkboxes on the page and make sure the count is greater than 10"

Does that make sense?
Rosen
Telerik team
 answered on 04 Jul 2012
1 answer
361 views
I am trying to create reusable pieces of code that can be declaratively bound using the Kendo MVVM framework.  Here is an example of what I mean:

template.tmpl
<div>
  <p>This is rendering of the ${viewModel} view model</p>
  <span data-bind="text: ${viewModel}.data">
</div>

test.html
<script id="viewTemplate" type="text/x-kendo-tmpl" src="template.tmpl">
<script type="text/javascript" src="test.js" />
<div data-template="viewTemplate" data-bind="source: viewData.viewModel1">
<div data-template="viewTemplate" data-bind="source: viewData.viewModel2">

test.js
var viewModel = kendo.observable({
  viewData: {
    viewModel1: {
      viewModel: "viewModel1"
    },
    viewModel2: {
      viewModel: "viewModel2"
    }
  },
  viewModel1: {
    data: "I am the data for view model 1".
  },
  viewModel2: {
    data: "I am the data for view model 2".
  }
})

This example works fine when the template is within test.html.  However, when I try to separate out the template into it's own template.tmpl file, it does not work.  What am I doing wrong? 
Atanas Korchev
Telerik team
 answered on 04 Jul 2012
0 answers
99 views
Hi,

can you provide an example of how to manage the onchange event for a dropdown control in kendo mobile?

thanks a lot
mauro
Mauro
Top achievements
Rank 1
 asked on 03 Jul 2012
7 answers
750 views
Hello,

I want to be able to edit in a grid. That is not a problem.
But for example I have an order line and in a dropdownlist I choose a product.
On product change want one or more other (editable) fields to be updated, e.g. the product description and price.
So on product change I want to have an event calling the server and then updating some fields of the row which is currently in edit mode.
Hope it is a bit clear what I mean.

Any hints how to do that?

Thanks, Jaap
Edwin
Top achievements
Rank 1
 answered on 03 Jul 2012
1 answer
152 views
hi,
To display the image in the list view dynamically,
in the view i used the image tag like:<img src="@Url.Action("GetImage/${ID}", "Home")"  alt = "${name} image" />
how can i pass this value dynamically to the controller and the url is not identifying the special characters.
Sim
Top achievements
Rank 1
 answered on 03 Jul 2012
3 answers
1.2K+ views
Currently when I bind to a ListView that has no data - I get what looks like an <hr />...  Is there a way to set a "No Records" template to use if there are no items to display in the dataset?
Georgi Krustev
Telerik team
 answered on 03 Jul 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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
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
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?