Telerik Forums
Kendo UI for jQuery Forum
9 answers
638 views
I have found that the button on my login page does not work at all in the stock android browser. I have created a jsfiddle with the relevant section of my page, which you can try at the following link:
http://jsfiddle.net/efinkel/HSEFs/2/

It seems like the button does not catch the touch/click event in that browser. However, the page works as expected with the mobile versions of Chrome and Firefox. The phone I tested this with is a Samsung Galaxy S3 running Android 4.04.
Anthony
Top achievements
Rank 1
 answered on 29 May 2014
7 answers
1.0K+ views
Hi,

I have a Kendo Grid with selectable: "multiple, cell" option. I would like to select multiple cells, then click on a button outside the grid to change the selected cells background color. Do you have any suggestions?

Thanks
Dimiter Madjarov
Telerik team
 answered on 29 May 2014
7 answers
474 views
Hi,

1) I am looking for how to show one or more server side errors  beside the fields .As of now able to popup database sever error but not sure how to show it beside the column fields.Please find the demo attached below(By default showing the sever error while updating the code Field).
2) For some reason the Validation messages are showing below the fields and not beside the fields in the form as show in the image.

Here is how I have set it up 

01.uwdataSource = new kendo.data.DataSource({
02.                            transport: {
03.                                read: {
04.                                    url: crudServiceBaseUrl + "/GetUnderwriterData"
05.                                },
06.                                create: {
07.                                    url: crudServiceBaseUrl + "/POSTaddUnderwriterData",
08.                                    type: "POST",
09.                                    contentType: "application/json"
10.                                },
11.                                update: {
12.                                    url: crudServiceBaseUrl + "/POSTUnderwriterData",
13.                                    type: "POST",
14.                                    contentType: "application/json"
15.                                },
16.                                parameterMap: function (options, operation) {
17.                                    if (operation !== "read" && options.models) {
18.                                        return kendo.stringify(options.models[0]);
19.                                    }
20.                                },
21.                                error: function (args)
22.                                {
23.                                    if (args.errors) {
24.                                      alert('there was an error');
25.                                      var grid = $("#underwriterGrid").data("kendoGrid");
26.                                     grid.one("dataBinding", function (e) {  
27.                                    e.preventDefault();//cancel grid rebind if error occurs                            
28.                 
29.                                                for (var error in args.errors) {
30.                                                    showMessage(grid.editable.element, error, args.errors[error].errors);
31.                                                }                   
32.                                            });
33.                                        }
34. 
35.                                }
36.                            },
37.       schema: {
38.                                //Define the field which contains the error
39.                                errors: function (response) {
40.                                    return response.error;
41.                                },
42.
43.                },//End of Schema
           });

 uwdataSource.bind("error", dataSource_error);

01.function showMessage(container, Code, errors) {
02.        var validationMessageTmpl = kendo.template($("#message").html());
03.        //add the validation message to the form
04.        container.find("[data-valmsg-for=" + Code + "],[data-val-msg-for=" + Code + "]").replaceWith($(validationMessageTmpl({ field: Code, message: errors[0] })))
05.        // .replaceWith(validationMessageTmpl({ field: name, message: errors[0] }))
06.    }
07. 
08.function dataSource_error(e) {
09.        alert(e.xhr.responseText); // displays "error"
10.    }

//Index.cshtml
 
 
<script type="text/kendo-template" id="message">
  <div class="k-widget k-tooltip k-tooltip-validation k-invalid-msg field-validation-error" style="margin: 0.5em; display: block; " data-for="#=field#" data-valmsg-for="#=field#" id="#=field#_validationMessage">
            <span class="k-icon k-warning"> </span>#=message#<div class="k-callout k-callout-n"></div>
  </div>
</script>


Thanks,
Chatrapathi chennam
Daniel
Telerik team
 answered on 29 May 2014
1 answer
1.4K+ views
How can I instruct the combo box filter to operate on multiple columns (in effect a composite search)?

Simple example :
Lets say I have a combo box with currencies.   The options looks someting like    " <Code> - <Name>  (<symbol>)". I want the "contains" filter to operate on name, code, and symbol.  Data looks something like :

   Currencies =  [
           {"Name": "Argentine Peso", "Code": "ARS", "Symbol": "$" },
           {"Name": "Armendian Dram", "Code": "AMD", "Symbol": "AMD"},
           {"Name": "Aruba Florin", "Code": "AWG", "Symbol": "Æ’"},
           {"Name": "Australian Dollar", "Code": "AUD", "Symbol": "$"}
      ]

My Kendo declaration looks something like :

                <select  name="Currency_RecordID"
                            kendo-combo-box   
                            k-data-source        = "DataModel.Currencies"
                            k-rebind            = "DataModel.Currencies"
                            k-placeholder        = "Labels.PleaseSelect"
                            k-data-text-field    = "'Name'"
                            k-data-value-field    = "'RecordID'"
                            k-value                = "LineModel.Currency.RecordID"
                            k-model                = "'LineModel'"
                            k-model-property    = "'Currency'"
                            k-filter            = "'contains'"
                            k-auto-bind            = "true"
                            k-min-length        = "1"
                            k-template            = "'#= Code # - #=Name# (#=Symbol#)'"
                            k-openOnFocus        = "'irrelevant'"
                            k-limitPredefined    = "'just quote me'"
                        >
                </select>



Is there a way to go about this ?



Kiril Nikolov
Telerik team
 answered on 29 May 2014
3 answers
106 views
I'm trying to take the markup that the mobile ListView renders for its filtering form and use it stand alone but I am having a problem when trying to use the HTML with the flat skin.  In this example it looks as expected in the UI Dojo but when you click the full screen button and view it as it's supposed to look the search input is not lining up with the search icon.  Not sure what the problem is.  Also are there any examples of how to use Kendo Mobile CSS for making a mobile search form?

http://trykendoui.telerik.com/UpuW/2

Scott
Kiril Nikolov
Telerik team
 answered on 29 May 2014
1 answer
96 views
Hi Team,

We observed one small design issue in Kendo Date Time Picker
(IE 11 (11.0.9600.16384), OS: Windows 8.1).

Observed the same in Kendo Demo Site.
URL:http://demos.telerik.com/kendo-ui/web/datepicker/index.html

Please find the attachment for the reference. I selected 10/10/2011 from the
calendar. It showing some patches at dates September 25, 26 and October 11.

Thanks,
Sekhar B

Kiril Nikolov
Telerik team
 answered on 29 May 2014
1 answer
140 views
Hey everyone. I am attempting to use a DropDownListFor, however it always results in a crpytic error.

Here is the code:

<div class="TheClass">
@(Html.Kendo().DropDownListFor(a => a.WorkId)
.Name("WorkId")
.DataTextField("WorkName")
.DataValueField("WorkId")
.DataSource(source => {
source.Read(read =>
{
read.Action("GetWork", "Work");
});
})
.HtmlAttributes(new { tabindex = 0 })
)
</div>

During design time, the first line is underlined with a red squiggle mark and it says "(...) "cannot be inferred from the usage".

When I run the code, it blows up with the following error. "CS1593: Delegate 'System.Action' does not take 1 arguments"

What is the problem here?  
Alexander Popov
Telerik team
 answered on 29 May 2014
3 answers
533 views
Is it possible to have a tooltip appear in a grid's header cell? If so, how?
Also, is it possible to use templates for the header row of a grid?
Iliana Dyankova
Telerik team
 answered on 29 May 2014
13 answers
447 views
Hi,

I'm new to Kendo UI and also to mobile development, and right now I'm having trouble to make endless scrolling to work on my Kendo UI mobile project.

Please take a look at my code in: http://jsbin.com/xiposato/6/edit

Basically I'm getting data from a webserver using a simple JSON file. But endless scrolling doesn't work with it, no matter what I do. I tried many examples on the website and searched on the forums but didn't find any clues.

Can anyone help?

Thanks
Kiril Nikolov
Telerik team
 answered on 29 May 2014
1 answer
374 views
When I add 'justified: true' as option to categoryAxis in a line chart the right/left-hand side of the series is cut off so that only half of the first/last dot of the series is visible. I tried to add some padding on to plotArea, but nothing changed. Is there an option or workaround I can use to fix this?
Iliana Dyankova
Telerik team
 answered on 29 May 2014
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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?