Telerik Forums
Kendo UI for jQuery Forum
0 answers
54 views
Ok, I have a form, and I have telerik RadGrid to lets user to add their information, all the information they add I want to put in session memory only. It mean if after they add the value if they click "Cancel" all information will gone. If they click " Submit Form" then all the value in the RadGrid will insert to database. How to do this? can someone show me tutorial?
Jack
Top achievements
Rank 1
 asked on 23 Jul 2012
0 answers
53 views
I am using MVC4 with the latest Kendo UI Q2. I am trying to use the mvc wrappers to implement a list view.

How can I stop the load icon displaying on the list view when using the MVC wrappers? when not using wrappers the following code in the datasource transport worked for me but how do I achieve the equivilent with wrappers?

parameterMap: function (options) {
    kendo.ui.progress($("#rolesListView"), false); 
    return options; 
}
Martin Kelly
Top achievements
Rank 1
 asked on 23 Jul 2012
0 answers
61 views
I am using MVC4 with the latest Kendo UI Q2. I am trying to use the mvc wrappers to implement a list view with a view template and an edit template.

How can I access the Ajax complete event when using the MVC wrappers?

@(Html.Kendo().ListView<iProjX.Models.RoleModel>(Model.Roles)
    .Name("rolesListView")       
    .TagName("div")       
    .ClientTemplateId("rolesList")       
    .Editable()
    .Pageable()
    .DataSource(dataSource => dataSource           
        .Model(model =>
            {
                model.Id("RoleId");
                model.Field(f => f.ProjectId).DefaultValue(Model.ProjectId);
                model.Field(f => f.Title);
                model.Field(f => f.Description);;
            })
        .Events(e => e               
            .Error("rolesListViewData_error")
            .Change("rolesListViewData_change")
            .RequestStart("rolesListViewData_requestStart"))          
        .Create(create => create.Action("createRole", "Project"))           
        .Read(read => read.Action("getRoles", "Project", new { projectId = Model.ProjectId }))
        .Update(update => update.Action("updateRole", "Project"))   
        .PageSize(30)           
     )
    .Events(e => e
        .Change("rolesListView_change")
        .Edit("rolesListView_edit")
        .DataBound("rolesListView_databound"))     
)
Martin Kelly
Top achievements
Rank 1
 asked on 23 Jul 2012
1 answer
295 views
All I can see on the "Build Your Custom Download" page is a dropdown with "Available versions", but no button/action to proceed any further (same on all browsers).

Is it not possible to download a custom library for Kendoui Mobile?

Thanks.
Dimo Mitev
Telerik team
 answered on 23 Jul 2012
2 answers
305 views
Our company has to decide between the use of KendoUI and the use of Telerik.

I understand Telerik Rad Controls are serverside and comes with databinding features that can be used in ASP.NET Code behind. 

I am specifically interested in knowing which one is better from the Client-Side standpoint.


Any input in this will be appreciated.
Atanas Korchev
Telerik team
 answered on 23 Jul 2012
5 answers
290 views
I am really enjoying the KendoUI Mobile set, but I can't seem to get text or numeric inputs working on Android!  I am running the "Forms" demo example code from the KendoUI Demos page.  I am running inside of Phonegap.

When I focus an input field, the keyboard comes up.  When I type into the keyboard (virtual or physical), nothing gets entered into the field.

Any idea what is going on?  I've tried on the emulator (4.1) and real hardware (2.2.3) both without any luck.  I am using KendoUI Beta v2012.2.621.

Thanks,
Brian
Kamen Bundev
Telerik team
 answered on 23 Jul 2012
1 answer
94 views
Is there any way to check if a modifier key is being pressed when an item is dropped on the drop target? I'd like to implement two different drag n drop behaviours and a modifier key is probably the easiest way to do it (although I could probably add a radio to specify the drag n drop mode if modifier keys aren't doable).

Cheers,
Jimmy
Nikolay Rusev
Telerik team
 answered on 23 Jul 2012
0 answers
64 views
Hi,
I have an MVC4 application and am trying to use the Listview using the MVC wrappers. I am using an edit and a view template. 
 If there are 4 items in my list and I add a new one the Create action is called 5 times, thus 5 records get added.

I am using the latest Q2 trial version. However I previously had downloaded the beta trial version which included an MVC example project which showed the exact same behavour. Is this a bug?   
(Note the same issue occurs for other actions as well)
<div class="k-toolbar k-grid-toolbar">
    <a id="addRoleButton" class="k-button k-button-icontext k-add-button" href="#"><span class="k-icon k-add"></span>Add new Role</a>
</div>
 
    @(Html.Kendo().ListView<iProjX.Models.RoleModel>(Model.Roles)
        .Name("rolesListView")       
        .TagName("div")       
        .ClientTemplateId("rolesList")       
        .Editable()
        .Pageable()
        .DataSource(dataSource => dataSource           
            .Model(model =>
                {
                    model.Id("RoleId");
                    model.Field(f => f.ProjectId).DefaultValue(Model.ProjectId);
                    model.Field(f => f.Title);
                    model.Field(f => f.Description);;
                })
            .Events(e => e               
                .Error("rolesListViewData_error")
                .Change("rolesListViewData_change")
                .RequestStart("rolesListViewData_requestStart"))          
            .Create(create => create.Action("createRole", "Project"))           
            .Read(read => read.Action("getRoles", "Project", new { projectId = Model.ProjectId }))
            .Update(update => update.Action("updateRole", "Project"))   
            .PageSize(30)           
         )
        .Events(e => e
            .Change("rolesListView_change")
            .Edit("rolesListView_edit")
            .DataBound("rolesListView_databound"))     
    )

View Template
//View template
<script type="text/x-kendo-template" id="rolesList">
    <div class="roleView" >
        <div> ${Title} </div>
        <div> ${Description} </div>
        <div class="edit-buttons">
            <a class="k-button k-button-icontext k-edit-button" href="\\#"><span class="k-icon k-edit"></span>Edit</a>
            <a class="k-button k-button-icontext k-delete-button" href="\\#"><span class="k-icon k-delete"></span>Delete</a>
        </div>
    </div>
</script>


Edit template
@model iProjX.Models.RoleModel
 
<div class="roleView" id = "newRoleForm2" >
    @Html.ValidationSummary(true)
 
    @Html.HiddenFor(model => model.ProjectId)
    @Html.HiddenFor(model => model.RoleId)
 
    <div class="editor-label">
        @Html.LabelFor(model => model.Title)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Title, new { style = "width:99%", maxlength = 100 })
        <span data-for="Title" class="k-invalid-msg"></span>
    </div>
 
    <div class="editor-label">
        @Html.LabelFor(model => model.Description)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.Description, new { style = "width:100%; height:100px"})
        <span data-for="Description" class="k-invalid-msg"></span>
    </div>
 
    <div class="edit-buttons">
        <a class="k-button k-button-icontext k-update-button" onclick="updateClick()" href="\\#"><span class="k-icon k-update"></span>Save</a>
        <a class="k-button k-button-icontext k-cancel-button" href="\\#"><span class="k-icon k-cancel"></span>Cancel</a>
    </div>
</div>
Martin Kelly
Top achievements
Rank 1
 asked on 23 Jul 2012
5 answers
324 views
Just updated to the 2012.2.710 drop.  A lot of great improvements!  However the modal animation appears to have changed.  It's fading from 100% to 50% which gives the impression of a sharp flash.  Is there a way to configure this? I would like it to fade from 0% to 50%. 

Thanks

Jonathan
Alex Gyoshev
Telerik team
 answered on 23 Jul 2012
0 answers
147 views
Please see here for details, as the following post should not be marked with a correct answer.  No solution has been presented.

http://www.kendoui.com/forums/ui/grid/custom-popup-editor-with-additional-fields.aspx

Dan
Daniel
Top achievements
Rank 1
 asked on 23 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
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?