Telerik Forums
Kendo UI for jQuery Forum
0 answers
198 views
Is there a demo or example of how to support one to many crud operations using data source JSON, to ASP.NET Web API? I have a simple registraiton form that has contact information which is a simple class. However, it has two dependant tables of guests for the registrtation and merchandise purchased by the person registering for an event. Model: Last Name First Name.... Array of Guests containing Last Name, First Name, registration type Array of Items purchased containing item description, quantity, price, extended price Is there a simple way to represent this as a schema and use Web API to perform crud operations on the arrays? The general videos from Burke are helpful for base object but not sure how to approach the depenent tables/arrays. There may be zero to many entries for both arrays. Any suggestion on a tutorial, video, or demo would be great. Thanks, Kevin
Kevin
Top achievements
Rank 1
 asked on 06 Sep 2012
0 answers
157 views
Hello,
I have a Kendo Grid that is grouped. The groups are sorted by default in ASC order using the value of the Group column specified. Is there a way to arrange the groups in a different order (a different column)? In my case i have an extra column in my datasource called Group Order of type int, i've tryied using Sort() by that column and it does not work.

My other alternative was to group by the Group Order instead and change the ClientGroupHeaderTemplate to use my original group name in the header, but apparently the only value i can stick in the ClientGroupHeaderTemplate is #=value# which display the value of the group order (not name) or aggregate values.

Any ideas how to accomplish this?

Thanks in advance
Tonny
Top achievements
Rank 1
 asked on 05 Sep 2012
4 answers
239 views
Hi,

Has Telerik/Kendo plans to develop their own IDE? A Wakanda-like IDE would be very welcome!

Thanks for the info in advance,

Greetings 
Erik
Top achievements
Rank 1
 answered on 05 Sep 2012
2 answers
157 views
Hi ALL,

I am using http://demos.kendoui.com/web/listview/editing.html - Instead of plain textinput I am using AutoComplete. How do I specify the source of the AutoComplete. I do not want return list of Options for AutoComplete along with model from server with each and every model object. 

Please help

Muhammed Shakir
mslearningandconsulting.com
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 05 Sep 2012
0 answers
175 views

I would like to know how complicated is to grouping everything is just one line.

Let's say

.Group(g => g.Add(c => c.GradeCode))
.Group(g => g.Add(c => c.SizeLength))
.Group(g => g.Add(c => c.SizeWidth))
.Group(g => g.Add(c => c.SizeThick))

Would be instead of having Grouping in (GradeCode > SizeLength > SizeWidth > SizeThick) depth 4, just having a grouping of depth 1 ((GradeCode AND SizeLength AND SizeWidth AND SizeThick) >)

Tito
Top achievements
Rank 1
 asked on 05 Sep 2012
0 answers
74 views
Popup dialog has wrong label when inserting new records
Please check kendo popup editing example.
Same issue when using MVC wrapper classes...
Developix
Top achievements
Rank 1
 asked on 05 Sep 2012
0 answers
115 views
Hi
Forcing "ios look" makes the back button not work properly.  It looks like it goes back 1 in history (according to bottom tab),
but the corresponding view is not updated.

Any fix?

Thanks

Tom
Tom
Top achievements
Rank 1
 asked on 05 Sep 2012
2 answers
175 views
I see the KendoUI is jQuery based.  I love jQuery, but I am working with Joomla and some Joomla tools (Gantry) that use MooTools.

I would hate to have to include both MooTools and jQuery in the same project.  

Any plans for KendoUI to have a MooTools implementation?
Jeff Kershner
Top achievements
Rank 1
 answered on 05 Sep 2012
3 answers
309 views
Hi,

I have a listview that when an item is clicked an overlay view is displayed. When the overlay is shown I want to be able to change the Navbar title. However this is not working when I use the code listed in the documentation.

The HTML code I have for the overlay is: 

<div data-role="view" data-title="View Title" id="fav-list" data-transition="overlay:up">
    <header data-role="header">
        <div id="fav-list-navbar" data-role="navbar">
            <a class="nav-button" data-align="left" href="#my-favourites" data-transition="overlay:up reverse" data-role="backbutton" >Back</a>
            <span data-role="view-title"></span>
        </div>
    </header>
            
</div>


and the javascript that relates to the listview and the changing of the navbar title: 

function mobileListViewHeadersInit() {
 
        $("#myfavlist").kendoMobileListView({
 
            dataSource: kendo.data.DataSource.create({data: jsonObj, group: "letter" }),
 
            template: $("#myfavlistTemplate").html(),
 
            headerTemplate: "${value}",
 
            fixedHeaders: true,
             
            click: function(e) {
                 
                try {
                $("#fav-list-navbar
"
).data("kendoMobileNavBar").title("Foo");
                }
                catch(ee)
                {
                    alert("Error: " + ee.message);
                }
                 
                window.location = "#fav-list";
                 
                //alert(e.dataItem.name);
            }
 
        });
 
    }

The error message i receive when this is run is: 

'undefined' is not an object. 

However if I use jquery to look up any of the elements, they are accessable

Not sure what to try next.....


Chris
Petyo
Telerik team
 answered on 05 Sep 2012
2 answers
310 views
Hi All,

I am attempting to use Fetch in a change event for a combobox to update another combobox. Read works fine for the 2nd combobox's collection but when using fetch the data object for the second datasource does NOT update.

$("#comboOne").width(180).kendoComboBox({
        autoBind: false,
        dataTextField: "Name",
        dataValueField: "Id",
        dataSource: dsComboOne,
        change: function (e) {
            //dsComboTwo.read();
            dsComboTwo.fetch(function () {
                if (dsComboOne.total() == 0) {
                    //do stuff to DOM
                } else {
                    //do different stuff to DOM
                }
            });

            $("#comboTwo").data("kendoComboBox").value(null);
            $("#comboTwo").data("kendoComboBox").enable(true);
        }
    });


So calling dsComboTwo.read() works as expected. Calling dsComboTwo.fetch() does not actually update the dsComboTwo.data object. When i run a watch and break in the callback i can see the dsComboTwo.data is the same as the previous/initial call.

Is there some other way to do this? Callback on the datasource i am missing? The success: callback in the DS also does not seem to work. No error.. just does not fire. Same with the change: . Can someone clarify this with an example? I've seen variations of this question elsewhere.
N Mackay
Top achievements
Rank 1
 answered on 05 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?