Telerik Forums
Kendo UI for jQuery Forum
1 answer
533 views
I added a grid to one of our pages and enabled Paging. There are strange dots appearing on the grid though, see screen shot.

How do I remove the dots?

Here's my Grid:

@(Html.Kendo().Grid(Model.Items as IEnumerable<Transaction>)
      .Name("KendoCrGrid")
      .Columns(columns =>
          {
              columns.Bound(e => e.TradeDate).Title("Trade Date").Format("{0:MM/dd/yyyy}");
              columns.Bound(e => e.SettlementDate).Title("Settlement Date").Format("{0:MM/dd/yyyy}");
              columns.Bound(e => e.Activity).Title("Activity");
              columns.Bound(e => e.Description).Title("Security Name");
              columns.Bound(e => e.Symbol).Title("Symbol");
 
          })
      .Sortable()
      .Pageable()
      .DataSource(d => d
                           .Ajax()
                           .PageSize(20)
                           .ServerOperation(false)
      ))
Richard
Top achievements
Rank 1
 answered on 15 Jul 2013
1 answer
101 views
I am developing an app that has sever views inside a folder called views. from within my main index.html file if i link to any view within the view folder it does not load in my styles nor transitions all i get is a blank white screen with a word "back" which is for the button in the navbar of the view that loads. Below are the sample code i used.

Index.html file code below.
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta charset="utf-8" />
        <script src="cordova.js"></script>
        <script src="kendo/js/jquery.min.js"></script>
        <script src="kendo/js/kendo.mobile.min.js"></script>
        <script src="http://maps.google.com/maps/api/js?sensor=true"></script>
        <script src="scripts/hello-world.js"></script>

        <link href="kendo/styles/kendo.mobile.all.min.css" rel="stylesheet" />
        <link href="styles/main.css" rel="stylesheet" />
    </head>
    <body>
<section data-role="layout" data-id="defaultlayout"> 
  <!--View content will render here--> 
    
    
</section>
        <div data-role="view" id="tabstrip-home" data-title="Hello World!">
            <h1>Welcome!</h1>
            <a class="button" data-role="button" href="views/about.html">Home</a>
        </div>

        <div data-role="view" id="tabstrip-uiinteraction" data-title="UI Interaction">
            Another view
        </div>

        <div data-role="view" id="tabstrip-geolocation" data-title="Geolocation">
            another view 2
        </div>

        <div data-role="layout" data-id="mobile-tabstrip">
            <header data-role="header">
                <div data-role="navbar">
                    <span data-role="view-title"></span>
                </div>
            </header>

            <div data-role="footer">
                <div data-role="tabstrip">
                    <a href="#tabstrip-home" data-icon="home">Home</a>
                    <a href="#tabstrip-uiinteraction" data-icon="share">UI Interaction</a>
                    <a href="#tabstrip-geolocation" data-icon="globe">Geolocation</a>
                </div>
            </div>
        </div>

        <script>
            var app = new kendo.mobile.Application(document.body, { transition: "slide", layout: "mobile-tabstrip" });
        </script>
    </body>
</html>

Here is the code for my about.html

<div data-role="view" id="secondview" data-layout="defaultlayout" data-title="Local View">
    <div ><p>Hi, I'm a local view.</p></div>
</div>
Steve
Telerik team
 answered on 15 Jul 2013
2 answers
321 views
I have a group of checkboxes that I need to validate that at least 1 of them is selected.  How do I go about doing this?

Code:
<div class="row-fluid">
  <span class="span3">
    <input type="checkbox" value="abc" />abc
  </span>
  <span class="span3">
    <input type="checkbox" value="def" />def
  </span>
  <span class="span3">
    <input type="checkbox" value="hij" />hij
  </span>
</div>
<div class="row-fluid" id="button-bar">
  <button>Submit</button>
</div>

var validator = $('.row-fluid').kendoValidator().data('kendoValidator');
 
$('#button-bar').on('click', 'button', function(e) {
  if (!validator.validate()) {
    alert("Failed");
    return;
  }
  alert("Passed");
});
Thanks to anyone that can help me out on this.
Kiril Nikolov
Telerik team
 answered on 15 Jul 2013
1 answer
474 views
Hi,

I merge all Kendo UI JSP wrapper example (kendoui.jsp.2013.1.514.commercial) to my project and try to run grid examples. All are okay except column-reordering, remote-data, sorting, selection and column-resizing example. Only these 5 (out of 25) examples stuck at loading icon with the below error at kendo.all.min.js. I do not alter any of these examples and I observe the server returns json data correctly.

Firefox 20.0.1 error:
[09:34:51.671] TypeError: e.indexOf is not a function @ http://localhost:9080/Kraken/resources/js/kendo.all.min.js;jsessionid=067CC16FC8CAE8C453FE0B931AA7312E:9

Chrome 28.0.1500.71 m error:
Uncaught TypeError: Object 837475200000 has no method 'indexOf' kendo.all.min.js:9

Thanks.
Vladimir Iliev
Telerik team
 answered on 15 Jul 2013
1 answer
175 views

My Kendo Grid is not displaying any of the data. I am trying to pull down JSON from a web method in an aspx page. I keep getting the never ending spinner. I am new to using these controls and am banging my head against my desk for a day now. 

01.$('#grid').kendoGrid({
02.    columns: [
03.           {
04.               field: "ClientName",
05.               title: "ClientName"
06. 
07.           }],
08.    dataSource: {
09.        type: 'json',
10.        serverPaging: true,
11.        schema: {
12.            data: 'd'
13.        },
14.        transport: {
15.            read: function (options) {
16.                $.ajax({
17.                    type: 'POST',
18.                    url: 'Service/GetGridInformation',
19.                    dataType: 'json',
20.                    data: '',
21.                    contentType: 'application/json; charset=utf-8',
22.                    serverPaging: true,
23.                    success: function (msg) {
24.                        options.success(msg.d);
25.                    }
26.                });
27.            }
28. 
29.        }
30.    },
31.    height: 200,
32.    pageSize: 10
33. 
34. 
35.});


Alexander Valchev
Telerik team
 answered on 15 Jul 2013
1 answer
55 views
It appears that the scheduler reads all events during initialization and does not request more data as you "page" through the calendar.  Is this correct?  
Rosen
Telerik team
 answered on 15 Jul 2013
1 answer
439 views
Hello -

Is there a way to clear manually entered value or reset to defult value in kendo combox when entered value not found in combbox value list.  If yes would you give an example in razor please?


Thanks
Daniel
Telerik team
 answered on 15 Jul 2013
2 answers
74 views
I've been trying to make this work, but it's been very frustrating.

I'm using these two Kendo demos to work with remote data: This one and the stockdata example seen here.

I've created two WCF services (framework 4.0) and each returns exactly the same JSON object (checked with fiddler2) that is returned in the services consumed above. The only difference between the Kendo demos and my examples is the service being called (mine is running in localhost).

Anything is helpful.

Thanks.
Vaughn Myers
Top achievements
Rank 1
 answered on 15 Jul 2013
1 answer
322 views
Hi

I currently use this code to highlight a list item (after updating) - however i would like to scroll (smoothly if possible) to the item as well as highlighting it.



Is there an elegant way to scroll the listview to a specific item, ive tried scrollIntoView of the html element but it messes up my fixed headers.


highlightRow: function (listView, field, value)
        {
            setTimeout(function () {
                var items = listView.items();
                for (var i = 0; i < items.length; i++) {
                    var ele = $(items[i]);
                    var uid = ele.data('uid');
                    if (pev.isGoodString(uid)) {
                        var item = listView.dataSource.getByUid(uid);
                        if (item != null && typeof item != 'undefined' &&
                            item[field] == value) {
                            ele.find('.list-item').highlight();
                             
                        }
                    }
                }
            }, 500);
        }
 
 
jQuery.fn.highlight = function () {
 
        $(this).each(function () {
            var el = $(this);
            el.before("<div/>")
            el.prev()
                .width(el.width())
                .height(el.height())
                .css({
                    "position": "absolute",
                    "background-color": "#ffff99",
                    "opacity": ".7"
                })
                .fadeOut(3000);
        });
    }
Dimo
Telerik team
 answered on 15 Jul 2013
1 answer
111 views
I have a tabstrip with 5 tabs and want to have the content of the first two tabs be static but the final 3 be loaded via ajax when clicked on.  Is this possible and if so how?
Dimo
Telerik team
 answered on 15 Jul 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?