Telerik Forums
Kendo UI for jQuery Forum
1 answer
139 views
Hi,

I have succesfully import the custom admob plugin to show ads in my app. The only problem I have is that the ads are below the tabstrip, I actually prefer it being above the tabstrip. Second The whole view is being pushed up. I have attached a screenshot. Can I do anything about these problems?

Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
1 answer
66 views
i'am using sql server 2012 and want to use pageable option to paginate and not scroll.
Kiril Nikolov
Telerik team
 answered on 14 Mar 2014
2 answers
132 views
I have a chart that has two category axes defined so I can display the category labels at the bottom of the chart when there are negative values. I am also setting min and max values for the second axis to avoid labels that show up as 0.25, 0.5, etc. when the series has small values like 1.

I would like to know if there is a simple way to line up the category axes of different series. If you see the attached image, you can see how the first series has a negative value and the second series starts below it.

Thanks.
Hristo Germanov
Telerik team
 answered on 14 Mar 2014
4 answers
988 views
Hi,
I'm trying to filter data inside dataBound event function, but it creates recursive calls to itself.
Could you tell me if this is a bug or am I doing something wrong?

Example: http://trykendoui.telerik.com/onAj
This is Event example from grid demos with modification inside "function onDataBound(arg)".

function onDataBound(arg) {
                    kendoConsole.log("Grid data bound");
                      var l_Data = this.dataSource;
                    l_Data.filter( {
                        field: "UnitsInStock",
                        operator: "eq",
                        value: 39
                        } );
                }
Luke
Top achievements
Rank 1
 answered on 14 Mar 2014
8 answers
242 views
Hi, I have a problem with navigating between two remote views, where one view has the data-reload=true attribute.

I have a remote view which show details of a message, you can then post this message on twitter. If the user didn't authorize twitter before, they get a message with that they have to do that. The user then has two options: authorize twitter or go back to the message. If back to the message is selected, the tabstrip in the data-reload view dissappears and reappears immediatly. 

This problem wont happen when data-reload is set to false. But if i set it to false the data in the remote view wont update. when another message is selected.

How can I make sure the tabstrip doesn't flicker when navigating back to the remote view with the data-reload true attribute.


-EDIT:
When i go to the remote view with data-reload=true for the first time no flicker appears only for second time and the times after that.
Alexander Valchev
Telerik team
 answered on 14 Mar 2014
1 answer
168 views
Hi.

How can I distinguish operations in change event? I mean, how to recognize whether current operation is select (add new item) or delete (cross clicked)?
I know about select event, but I'm interested in change event only? Should I use external counter?

Thanks in advance.
Georgi Krustev
Telerik team
 answered on 14 Mar 2014
3 answers
116 views
Hi,

I am trying a single example when the data of the chart is null or 0. But look at the X scale. It is 0, 0.2, 0.4...... etc..
I would like the scale to be 1, 2, 3, 4..etc

I have tried different ways but can acchieve this. I have used minUnit, min and doesn't work. It works using max, but that is not what i need.

Thanks
Jose
T. Tsonev
Telerik team
 answered on 14 Mar 2014
3 answers
131 views
Hi verybody.

I'd like to show a scheduler with fixed data from a JavaScript function.
I tried with this code, but I can only see the scheduler with the circular progress bar that runs forever.


// Defining the dataSource
var schedulerDataSource = new kendo.data.SchedulerDataSource({
            transport: {
                parameterMap: function (options, operation) {
                    if (operation !== "read" && options.models) {
                        return { models: kendo.stringify(options.models) };
                    }
                }
            },
            schema: {
                model: {
                    id: "Id",
                    fields: {
                        id: { from: "Id" },
                        title: { from: "Title", defaultValue: "No title", validation: { required: true } },
                        start: { type: "date", from: "StartDate" },
                        end: { type: "date", from: "EndDate" },
                        description: { from: "Description" },
                        calendarId: { from: "CalendarId", validation: { required: true } },
                        isAllDay: { type: "boolean", from: "IsAllDay" }
                    }
                }
            },
            filter: {
                logic: "or",
                filters: []
            }
        });
 
// Pass data to the DataSource
schedulerDataSource.data = [{"CalendarId":"FirstCalendar","Id":"Id1","Title":"Test","Description":null,"IsAllDay":true,"StartDate":new Date(1318802400000),"EndDate":new Date(1319320800000)},{"CalendarId":"SecondCalendar","Id":"Id2","Title":"Second event","Description":null,"IsAllDay":true,"StartDate":new Date(1319407200000),"EndDate":new Date(1319493600000)}];
 
// Pass filters to the datasources
schedulerDataSource.filter.filters = [ { field: "CalendarId", operator: "eq", value: "FirstCalendar" },{ field: "CalendarId", operator: "eq", value: "SecondCalendar" }];
 
// Create the scheduler
$("#scheduler").kendoScheduler({
                date: new Date("2014/03/13"),
                startTime: new Date("2014/03/13 00:00 AM"),
                height: $(document).height() - 30,
                views: [
                    "day",
                    { type: "workWeek", selected: true },
                    "week",
                    "month",
                    "agenda"
                ],
                save: scheduler_save,
                remove: scheduler_remove,
                edit: scheduler_edit,
                timezone: "Etc/UTC",
                dataSource: schedulerDataSource,
                resources: [
                    {
                        field: "CalendarId",
                        title: "Calendar",
                        dataSource: [ { text: "My first calendar", value: "FirstCalendar", color: "#9fc6e7" },{ text: "My second calendar", value: "SecondCalendar", color: "#7bd148" }]
                    }
                ],
            });
Gianni
Top achievements
Rank 1
 answered on 14 Mar 2014
1 answer
116 views
Hi, i have test the sample at:

https://github.com/telerik/kendo-examples-asp-net/tree/master/grid-page-methods-crud


it's read the records ok, but if update a record, the record is save but i retrive this error:


Unhandled exception at line 134, column 1 in Function code

0x800a138f - Errore di run-time di JavaScript: Impossibile recuperare la proprietà 'Data' di un riferimento nullo o non definito

You have a solution for this error ?

thanks
Aurelio
Aurelio Righetti
Top achievements
Rank 1
 answered on 14 Mar 2014
2 answers
576 views
I'm trying to remove the little circles/symbols that are on the DataViz line graph.  I currently modified the CSS so they don't get displayed in most of the browsers.  Unfortunately the CSS hack didn't work when running the program on an Android phone.  I saw in the API documentation (also: https://github.com/telerik/kendo-docs/blob/master/api/dataviz/sparkline.md#categoryaxisnoteslabelvisible-boolean-default-true) that said you could change this Note value to false, but I've been unable to do so.  I believe the boolean attribute is: categoryAxis.notes.label.visible.

I'm using ASP.NET MVC so I'm unable to follow most of the sample code and examples b/c they are all in JavaScript (where examples are abundant).  I've pasted part of the code that I'm using for one of my charts.  I've tried adding ".Note ..." under ".categoryAxis", but it won't compile... I've tried several different methods for this attribute:

   .CategoryAxis(axis => axis
                              .Categories(@Model.Label)
                              .MajorGridLines(lines => lines.Visible(false))
                              .Labels(labels => labels.Rotation(-45).Format("{0}").Skip(0).Step(2))
                              .Notes(n => n.Notes).Visible(false)
                              
                          )

Any ideas on how to resolve this?  Thanks in advance!
Justin
Top achievements
Rank 1
 answered on 13 Mar 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
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
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?