Telerik Forums
Kendo UI for jQuery Forum
1 answer
93 views
Hello,

i have a little problem here.

I have a column with this time format: 27.12.2012 14:49

When somebody wants to group it it should only grouped by date but without time.

How can I implement this?

Thanks.

Greetings
Stefan
Atanas Korchev
Telerik team
 answered on 18 Jul 2012
6 answers
446 views
I've created a multi select template that allows for selection of values in a combobox. How can you prevent the combobox from closing when you select? Is there a close override event?
Georgi Krustev
Telerik team
 answered on 18 Jul 2012
1 answer
85 views
We are developing a mobile app for which we plan to use phonegap.com to generate a native application for iOS and Android (and others). Other than the mobile controls, what other Kendo UI controls are compatible with PhoneGap/native applications? Specifically, what can we use from the Kendo Web and Kendo DataViz controls? What is the result if you attempt to use an unsupported control and compile using phonegap?
Atanas Korchev
Telerik team
 answered on 18 Jul 2012
1 answer
318 views
Hi, Can I get an example that actually post json object/json string as parameter in the request body please?
I did went through the forum, couldn't find one example, the nearest is someone want to send raw xml through request body, but no futher discussion about that exacept suggesting extending object rather than string. 
the other one I saw was using paramMap send empty request body.

there is no such example in your website, the example is used to send parameters in simple query string which is not json as request body.

And may I just suggest that can you focus more on the documentation please? the documentation has no possible values for configurations. leaving people to guess.

I think good documentation is a huge time saver for everyone. 
Robin
Top achievements
Rank 1
 answered on 18 Jul 2012
1 answer
158 views
For the life of me, I can not figure out why this is happening.

Below I have a pretty simple grid wired to a Read and a Destroy event.  The Read works.  If I press delete and then save the grid the wrong webservice is called.

If batch editing it turned on then when I press save the READ event is called (instead of the Destroy event). And I get the error that I can't stuff an enumeriable list of objects into the ID field of the Read service.

If batch editing is turned off then the CREATE event is called! And since I haven't created one I get a 404.

That's weird man.  Any ideas?

$("#JobAttachments").kendoGrid({
    columns: [
                { title: "Filename", template: "<a href='../UploadedFiles/${ SavedFileName }'>${ OriginalFileName }</a>", width: "250px" },
                { field: "EnterBy", title: "Uploaded By", width: "200px"},
                { command: "destroy", title: "Delete", width: "100px" }
            ],
    toolbar: ["save", "cancel"], // specify toolbar commands
    editable: true, // enable editing
    dataSource: {
        schema: {
            data: "d", // ASMX services return JSON in the following format { "d": <result> }. Specify how to get the result.
            model: { // define the model of the data source. Required for validation and property types.
                id: "JobTaskId",
                fields: {
                    AttachmentID: { editable: false, nullable: false },
                    JobId: { editable: false, nullable: false },
                    OriginalFileName: { editable: false },
                    SavedFileName: { editable: false },
                    AttachmentType: {  },
                    Notes: { },
                    EnterBy: {}
                    //,
                    //EnterDate: { type: "date"}
                }
            }
        },
        batch: false, // enable batch editing - changes will be saved when the user clicks the "Save changes" button
        transport: {
            create: {
                url: "../WebServices/JobAttachmentWebservice.asmx/NotUsed",
                contentType: "application/json; charset=utf-8", // tells the web service to serialize JSON
                type: "POST" //use HTTP POST request as the default GET is not allowed for ASMX
            },
            read: {
                url: "../WebServices/JobAttachmentWebservice.asmx/Read",
                contentType: "application/json; charset=utf-8", // tells the web service to serialize JSON
                type: "POST" //use HTTP POST request as the default GET is not allowed for ASMX
            },
            update: {
                url: "../WebServices/JobAttachmentWebservice.asmx/Update",
                contentType: "application/json; charset=utf-8", // tells the web service to serialize JSON
                type: "POST" //use HTTP POST request as the default GET is not allowed for ASMX
            },
            destroy: {
                url: "../WebServices/JobAttachmentWebservice.asmx/Delete",
                contentType: "application/json; charset=utf-8", // tells the web service to serialize JSON
                type: "POST" //use HTTP POST request as the default GET is not allowed for ASMX
            },
            parameterMap: function (data, operation) {
                if (operation != "read") {
                    // web service method parameters need to be send as JSON. The Create, Update and Destroy methods have a "products" parameter.
                    return JSON.stringify({ jobView: data.models })
                }
                else {
                    return JSON.stringify({ JobId: currentJobId })
                }
            }
        }
    }
});
Laura
Top achievements
Rank 1
 answered on 18 Jul 2012
3 answers
509 views
I only want users to be able to leave my autocomplete field empty, or select an item from the list - I don't want them able to enter their own "new" item. How can I force a valid selection (either by clearing the invalid data, or not allowing the focus to leave the control, or some other variation)?
Dimo
Telerik team
 answered on 18 Jul 2012
1 answer
7.1K+ views
Ok, I'm missing something somewhere.

I need to be able to set focus to a specific cell (cellIndex) when a grid is in inline edit mode.

Is it possible to do this?

Jerry
Iliana Dyankova
Telerik team
 answered on 18 Jul 2012
2 answers
101 views
Using MVVM, how can I set the column widths for a bound grid (using templates)?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 18 Jul 2012
1 answer
177 views
Hi,

Initially i am having 4 tabs.Now i am have a button addTab when ever i am clicking a addTab it is adding a newTab with some content.
I have declared only one <div> tag and i am adding the tabs dynamically.it works fine.But, when ever i am clicking the newly added tab and going back to the already defined tabs it is displaying two contents.How can i rectify that problem.Is any thing wrong with the div tags.Please provide me any samples.



Thanks
Harut
Top achievements
Rank 1
 answered on 18 Jul 2012
3 answers
394 views
how get the upload progress (0-100) using the API? or another way
T. Tsonev
Telerik team
 answered on 18 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?