Telerik Forums
Kendo UI for jQuery Forum
4 answers
135 views
We have one pane in our split view that contains search results. However this pane, when looked at in an android tablet has side scrolling enabled for some reason. In iPads the behaviour is as expected and side scrolling is not enabled. The search pane has a listview of results and can be limitlessly scrolled to the right in the android tablet, making it seem like the results disappeared. Is this a bug with the beta version? Or is there another setting we should be setting?
Maddy
Top achievements
Rank 1
 answered on 16 Jul 2012
3 answers
174 views
I have a Mobile ListView which I am adding to dynamically. If the user adds 1 - 2 elements to it and then clicks on them they are highlighted blue as a selection indicator. If the user adds more to the list than 1 - 2 this selection goes away. 

Every time a user adds/removes an element from the list this code is run:
listView = $('#favorites-list').data('kendoListView')
listView.refresh()

I would expect this to renew the highlighting selection indicator, but it does not. 

What am I doing wrong here? Thanks!

Edit 1: Oh by the way, I am using coffee script so that is all legal. 
Alexander Valchev
Telerik team
 answered on 16 Jul 2012
1 answer
243 views
I know this was introduced in Q2 so I could not find this in the docs yet, but how do I set the pager template for the grid?
Iliana Dyankova
Telerik team
 answered on 16 Jul 2012
1 answer
90 views
I am running the sample http://demos.kendoui.com/web/datepicker/index.html with IE 9.  I've noticed the rendering issue shown in the attached picture with all themes except Metro.

Note that I'm seeing this on IE 9 in standard mode.

Gerry
Georgi Krustev
Telerik team
 answered on 16 Jul 2012
1 answer
139 views
In the native SplitView, when you rotate the IPad to Portrait, the Left panel is hidden, and a button it added to the top left.  When this is selected the Left panel displays as a popup.

When I am testing the KendoUI Mobile demo for SplitView, it stays visible on Portrait rotation, and shrinks the width of the right panel.

Is this functionality existing or planned for the future?

Steve
Iliana Dyankova
Telerik team
 answered on 16 Jul 2012
1 answer
112 views
Hello,
I have a grid with enabled filters (server-side). The text has been changed a little from default and re-arranged, which caused "Contains" filter to show up first in the list, however, by default, it selects "equals" anyway - which is not a desired solution.
Is there any possibility to change this? Most users don't care to search for exact phrase, but rather partial text, hence we need to default to "Contains" if possible.
Any help would be greatly appreciated.
Thanks.
dccxz
Top achievements
Rank 1
 answered on 16 Jul 2012
1 answer
152 views
I am using some of the default rules of Kendo validator plugin. Everyting works as expected except for the url rule. It works only under Internet explorer. I tested it under Chrome, Mozilla Firefox and Opera and it does not trigger the error message when I enter an invalid url. Here is some sample code of my application:

<tr>
      <td><label for="firstEndSplashLink">First End Splash Link:</label></td>
      <td><input type="url" name="firstEndSplashLink" id="firstEndSplashLink"  data-bind = "value: FirstEndSplashLink" />
      <span class="k-invalid-msg" data-for="firstEndSplashLink"></span></td>
</tr>

Am I doing everything correct?
Rosen
Telerik team
 answered on 16 Jul 2012
1 answer
206 views

Hi

I have an MVC view that contains 2 datepicker controls, a button and a grid. When the form loads the grid is loaded with data from the server. If the customer then presses the submit button I would like the grid to be loaded again from the server. This does not happen despite the fact that the server method is being called. Could somebody explain what the problem might be?

The code is as follows:

<script type="text/javascript">
 
    $(document).ready(function () {
 
     //Refresh the grid if the customer presses the submit button
        $('#submit').click(function () {
            Execute(); // this does not refresh the grid
        });
 
        // create DatePicker from input HTML element
        $("#fromDate").kendoDatePicker();
        $("#toDate").kendoDatePicker();
 
        //Load the grid initially using the default date parameters
        Execute();  // this works
    });
 
    var fromDate;
    var toDate;
 
    function Execute()
    {
        fromDate = $("#fromDate")[0].value;
        toDate = $("#toDate")[0].value;
 
        var element = $("#grid").kendoGrid({
            dataSource: {
                type: "json",
                transport: {
                    read: { url: "Tests/Tests?fromDate=" + fromDate + "&toDate=" + toDate, dataType: "json"}
                },
                pageSize: 5,
                serverPaging: true,
                serverSorting: true
            },
            height: 450,
            sortable: true,
            pageable: true,
            detailTemplate: kendo.template($("#template").html()),
            detailInit: detailInit,
            dataBound: function () {
                this.expandRow(this.tbody.find("tr.k-master-row").first());
            },
            columns: [
                        {
                            field: "TestOne",
                            title: "Test One"
                        },
                        {
                            field: "TestTwo",
                            title: "Test Two"
                        }
                    ]
        });
    }
 
function detailInit(e) {
 
    var detailRow = e.detailRow;
    detailRow.find(".tabstrip").kendoTabStrip();
 
    detailRow.find(".details").kendoGrid({
        dataSource: {
            type: "json",
            serverPaging: true,
            pageSize: 5,
            transport: { read: { url: "Tests/TestDetail", dataType: "json"} },
        },
        height: 200,
        columns: [
            {
            field: "DisplayDate",
             title: "Date"
             },
            {
            field: "Type", title: "Text"
            }
        ]
    });
    
}
Dimo
Telerik team
 answered on 16 Jul 2012
0 answers
73 views
I've implemented the autocomplete component successfully to search against a list of website urls. However when I submit my form i want to submit the numerical id value of the site not the text value. Is this possible?

$("#maintSiteId").kendoAutoComplete({
                minLength: 3,
                dataTextField: "site_url",
                dataValueField: "site_id", // this doesn't seem to work and is depreciated?
                filter: "contains",
                height: 320,
                dataSource: {
                    pageSize: 20,
                    transport: {
                        read: {
                            url: "/Sites/DataJsonSites.cshtml",
                            dataType: "json",
                            type: "GET"
                        },
                        parameterMap: function(options) {
                            return $.extend(options, {
                                id: '',
                                title: $("#maintSiteId").data("kendoAutoComplete").value()
                            });
                        }
                },
                placeholder: "Select site...",
                separator: ", ",
                suggest: true
                }
            });

Input field contained within standard <form>
<input class="span6" id="maintSiteId" name="maintSiteId" style="width: 320px; margin-left: 0;"/>

Sample JSON data being used;
[{"site_id":1,"site_url":"www.mysite1.com","site_name":"my site 1"},{"site_id":2,"site_url":"www.mysite2.com","site_name":"my site 2"}] 
Martijn
Top achievements
Rank 1
 asked on 16 Jul 2012
2 answers
269 views
Hello,

I am considering moving to KendoUI (currently using 2010 Q2 ASP.NET Ajax, need to upgrade in any event).  

I'm wondering if it is possible to render the filters for a KendoUI grid similarly to the ASP.NET Ajax grid, that has filter textboxes (by default) when filtering is turned on.  Our users love the ability to quickly enter text and hit enter to get a "Starts With" (using some javascript).  I cannot find an example, or documentation, on how to customize the default KendoUI filtering.

Also, important to a switch to KendoUI is the need for much improved documentation.  I know the product is much newer than the ASP.NET Ajax controls, but the current documentation for KendoUI widgets, including all of the options, is quite sparse.

Thank you, Jason
Jason
Top achievements
Rank 1
 answered on 16 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
Drag and Drop
Application
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?