Telerik Forums
Kendo UI for jQuery Forum
1 answer
358 views
I have a button inside a listview item, and I do not want it to occupy the whole width of the item. I want to fix the width and right align the button.
I have tried using data-align="right" but that does not help, the button remains left aligned

Here is my code

<ul>
   <li><a data-role="button" data-rel="modalview" href="#modalview-loanamount" id="modalview-open-button">Help</a></li>
</ul>
 
<style scoped>
    #modalview-open-button {
        width:5em;
    }
</style>
Kiril Nikolov
Telerik team
 answered on 09 May 2014
2 answers
316 views
Hello,

I am trying to set the height of all the charts on the page to half of the window size. However I keep getting the following error: Uncaught TypeError: undefined is not a function

The code I have is as follows:

$(window).resize(function () {
        // for any chart or gauge widget
        $(".k-chart").each(function () {
            // get the instance of the chart/gauage
            var chart = kendo.widgetInstance($(this), kendo.ui);
            var c = $(this).data("kendoChart");
            // make sure transitions are off
            //chart.options.transitions = false;
            console.log($(window).height() * 0.4);
            c.height($(window).height() * 0.4);
            // redraw the chart/gauge
            if (chart && chart.redraw) {
                chart.redraw();
            }
        });
    });

The error pops up with the c.height($(window).height() * 0.5); statement. 

Any idea what I am doing wrong? I am running the 2014.1.318 version

Thank you
magdil
Top achievements
Rank 1
 answered on 09 May 2014
11 answers
943 views
I want to retrieve QR code in byte array form, is this possible?
If not what other options could be?

Thanks,
Mahesh A
Daniel
Telerik team
 answered on 09 May 2014
6 answers
142 views
Hi,
In our chart graph, I was trying  to use plotband on categoryAxis. For plot band, we need to define "from" and "to" values for the axis. Is there a way, if I can define "from" value (no "to" value defined) and graph background from "from" defined axis point to end of the axis is colored?

Currently I am doing this by setting "to" value as the "max" axis value.
Also for the plotted graph (as attached), I see the plotband and graph line looks shifted. For eg: In the attached image at bottom, the from date is Apr 15 and to date is Apr 16". Expected  is the point corresponding to 15th Apr and 16th Apr should be inside plotband, which is not the case. Do we need to define some offset. How to fix this issue? 
Hristo Germanov
Telerik team
 answered on 09 May 2014
1 answer
96 views
I'm using the editor to image gallery of Kendo UI, the editor works fine (links, formats, etc. ..) and upload the photos to the gallery and read a service (rest); the problem is that when wanting to insert any image in the gallery get the error:

"too much recursion ... ute (i)," string "== typeof r) {try {r =" true "=== r 0:" false "=== r1:" null "r === null: + r ... jquery .... min.js (line 3) "

The funny thing is that when you remove the configuration "uploadURL", if you insert pictures in the textarea; obviously the plugin no longer gives me the option to upload.

In the documentation (http://docs.telerik.com/kendo-ui/api/web/editor # configuration-ImageBrowser): did not find details about how to fix it.

HTML(Razr)

    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><br>    <script type="text/javascript" src="/js/vendor/kendo-ui/kendo.all.min.js"></script><br><br>    <div class="k-content"><br>            <textarea id="KEditor" rows="10" cols="30" placeholder="@GetText("Content")" maxlength="255" style="height: 500px"></textarea>    <br>    </div>



Js

   
$(document).ready(function() {<br>                $("#KEditor").kendoEditor({<br>                    tools: [<br>                        "fontName",<br>                        "fontSize",<br>                        "foreColor",<br>                        "backColor",<br>                        "bold",<br>                        "italic",<br>                        "underline",<br>                        "justifyLeft",<br>                        "justifyCenter",<br>                        "justifyRight",<br>                        "justifyFull",<br>                        "insertUnorderedList",<br>                        "insertOrderedList",<br>                        "indent",<br>                        "outdent",<br>                        "createLink",<br>                        "unlink",<br>                        "insertImage",<br>                        "viewHtml"<br>                    ],<br>                    imageBrowser: {<br>                        transport: {<br>                            read: {<br>                                type: "GET",<br>                                url: "/api/sites/user-gallery",<br>                            },<br>                            destroy: "/api/sites/user-gallery?action=delete",<br>                            thumbnailUrl: function(path, name) {<br>                                var pictureUrl = decodeURIComponent(name);<br>                                return pictureUrl;<br>                            },<br>                            uploadUrl: "/api/sites/user-gallery?action=upload", //work if this line is commented<br>                            imageUrl: function(name) {<br>                                var pictureUrl = decodeURIComponent(name);<br>                                return pictureUrl;<br>                            },<br>                        }<br>                    }          <br>                    //, messages: { viewHtml: '@GetText("ViewHtml")'}<br>                });<br>            });


Json(read rest service):

Rosen
Telerik team
 answered on 09 May 2014
0 answers
50 views
Dear All,

I am creating resource is Vertical Grouping and time line is showing Horizontal Grouping.

Thanks & Regards
Ramesh.V
Ramesh
Top achievements
Rank 1
 asked on 09 May 2014
2 answers
591 views
Hello Telerik Team , 

We have an issue with the validation tooltip. We could reproduce the behavior in your dojo:
http://trykendoui.telerik.com/EjoN

To reproduce the error just erase a value in the price column, and change the focus to another field, the tooltip looks like is behind the next row.

What is the best way to achieve this?

Thank you in advance, 

Regards!



Luis
Top achievements
Rank 1
 answered on 08 May 2014
6 answers
202 views

We are investigating the use of Kendo to update some of our applications originally developed with Telerik MVC Extensions to be more dynamic.

It appears you have recently updated the DataSource to support SignalR, as shown in the Grid MVC wrapper Demos. It is not however clear from the documentation how far this support goes. In general:

1. What components other than the Grid support SignalR as a data source?

2. Which if any of these support server Push as well as Read?

3. Do any of the DataViz components support SignalR as a source?

4. Can you give us any form of roadmap as to what dynamic update features are to be supported, especially with the Data Viz components and MVC?

Regards

Chris Warren
T. Tsonev
Telerik team
 answered on 08 May 2014
1 answer
602 views
Are there a cardview available for the Kendo UI grid?  I need it just for diplaying data.  If not, do you know of any workaround with which I can accomplish this?
Alexander Popov
Telerik team
 answered on 08 May 2014
4 answers
156 views

I have a webpage that uses Kendomobilelistview control

here -> http://krfrettir.com/App/Result/LatestResult

and this page is using this JSON data call

-> http://krfrettir.com/App/Result/GetLatestResult

But the json return list where LeikDagur(datetime) is in correct order (newest first) but the Kendo view is not using any sorting it takes this json data and randomly prints out the list.

Could someone maybe tell me why this is happening?

moegal
Top achievements
Rank 1
 answered on 08 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
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
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
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?