Telerik Forums
Kendo UI for jQuery Forum
2 answers
302 views

Hello,

I am currently using Kendo as a simple text editor inside a web form.  I am using it in 2 places 1 is editable and 1 is view only.  I am doing it this way because of the default styling of the html that is saved renders the same on the view only box.  Is there any way to resize the view only box to the size of the content in classic mode?

Thanks,

Aaron
Top achievements
Rank 1
 answered on 17 Apr 2017
2 answers
208 views

I'm in a situation where I need to use a custom function to scrape pasted clipboard data for raw image data and replace that with custom markup, but also need to support standard options like msTags and msAllFormatting. My thinking is that I'll need to write code into my custom function which manually calls the Kendo Editor methods that run the pasteCleanup option handlers. Is this right?

Has anyone done this before? There doesn't appear to be any native option to do what I'm talking about.

Wes
Top achievements
Rank 1
 answered on 17 Apr 2017
3 answers
362 views

See attached files.

I have a pivot that is mostly functional, however clicking the column block either in the pivot grid or in the configurator indicates the columns can be sorted, but while the icon changes, nothing actually happens. This appears to be a bug.

I have also just noticed the same issue for row groups. The icon indicates there is sorting, but nothing happens.

Konstantin Dikov
Telerik team
 answered on 17 Apr 2017
3 answers
336 views

Hi Support,

 

we are using bubble charts in various places and make use of the series notes to show information (rather than using the series label which would restrict us in what information is shown I believe).

When series points in the plot area are near its limit, the labels get cut off or are even completely gone, if the bubble is drawn right at the edge of the plotArea border.

As we don't know in advance where each bubble will site in the plot I also can't say "always position note beneath bubble".

Is there a way to make the kendoChart understand that the notes are part of the overall renderable area so the plot are automatically expands automatically to ensure the note labels are not cut off ? Attached an example for some cut off labels on the left of the chart but it can happen anywhere obviously.

Is there potentially also something like a "Smart Label" feature for kendoCharts where I can pass any note/label to a bubble and kendo computes the best position so it does not overlap with other labels from other bubbles and also does not render outside the plot area ? I think I ready something about smart labels in some other component from Telerik.

Regards,

Steve

Stefan
Telerik team
 answered on 17 Apr 2017
1 answer
144 views
Hello,

I'm very interested to use diagram component to create modelization tool but i need some details on elements i can customize :

Is it possible to :

- associate multi templates ? 1 template / shape

- add point on a connection ?

- change connection color for a gradient ? or an image ?

Thanks for your answer.

Nicolas

Stefan
Telerik team
 answered on 17 Apr 2017
18 answers
1.8K+ views
Hi

It's mentioned here, http://www.kendoui.com/forums/ui/upload/rails-anti-forgery-tokens.aspx, that you plan on making forgery tokens work for the next release. Did that happen and does it work in the DataSource? I'm trying to do exactly what is described here http://stackoverflow.com/questions/4074199/jquery-ajax-calls-and-the-html-antiforgerytoken but not sure how I can make that work.

Thanks
Matt 
Chris
Top achievements
Rank 1
 answered on 17 Apr 2017
1 answer
350 views

I encountered the same thing in my code, when deleting a record, it doesn't actually delete until you Save. This seems very un-intuitive, there is no feedback at all saying there are unsaved changes, also there is already a prompt asking me if I wanted to save changes. I could understand this behavior if that prompt was turned off but there should still be SOME feedback to the user that they have unsaved changes.

 

Is this a bug, or is there an easy way to display to the user they still need to click Save?

 

https://demos.telerik.com/aspnet-mvc/grid/editing

Preslav
Telerik team
 answered on 17 Apr 2017
5 answers
2.7K+ views
.Events(e => e
            .DataBound("alert('hi 1 ')")
            .DataBound("alert('hi 2')")
        );

Is it normal that we cant use the fluent eventbuilder with multiple events (same event type) ?

Kind regards,
Bart,
Stefan
Telerik team
 answered on 17 Apr 2017
1 answer
127 views

Hello ,

i am working on a chartingtool with variable datasources and more than one chart.

 

in my model i have a object[] which contains the chartdata for the charts.

this model has an array of List<ChartDataSerie>[] which contains the data for every series.

ChartDataSerieModel:

01.public class ChartDataSerie
02.   {
03.       public ChartDataSerie(string description, double value)
04.       {
05.           Description = description;
06.           Value = value;
07.       }
08.       public ChartDataSerie(string description, double value, string color, double opacity)
09.       {
10.           Description = description;
11.           Value = value;
12.           Color = color;
13.           Opacity = opacity;
14.       }
15. 
16.       public string Description { get; set; }
17.       public Double Value { get; set; }
18.       public string Color { get; set; }
19.       public double Opacity { get; set; }
20.   }

 

 

Now i want to bind a serie to a List<ChartSeriesData>, Value contains the Data, Description contains the Category

  1. each object contains an chart in Model.Kennzahlen, for to create a chart for every object in Model.Kennzahlen
  2. want to create an serie for every object in Model.Kennzahlen[i].Series
  3. Value are always a double, and Description (Category) the same at every Series ( Date in string)
01.@for (int i = 0; i < Model.Kennzahlen.Count; i++)
02.        {
03.               <div class="col-lg-3">
04.                <div class="ibox float-e-margins">
05.                    <div class="ibox-title">
06.                        <h5>Chart 1</h5>
07.                    </div>
08.                    <div class="ibox-content">
09.                        <div>
10.                            @(Html.Kendo().Chart(Model.Kennzahlen[i].Series)
11.                                .Name("chart" + i)
12.                                .Legend(legend => legend
13.                                    .Visible(false)
14.                                    .Position(ChartLegendPosition.Bottom)
15.                                )
16.                                .ChartArea(chartArea => chartArea
17.                                    .Background("transparent")
18.                                    .Height(200)
19.                                )
20.                                .Series(series =>
21.                                {
22.                                    for (int x = 0; x < Model.Kennzahlen[i].Series.Length; x++)
23.                                    {
24.                                        series.Column(Model.Kennzahlen[i].Series[x]);
25.                                    }
26.                                })
27.                                .CategoryAxis(axis => axis
28.                                    .Categories(model => model[0].Description)
29.                                    .MajorGridLines(lines => lines.Visible(false))
30.                                    .Line(line => line.Visible(false))
31.                                )
32.                                .ValueAxis(axis => axis.Numeric()
33.                                    .Max(28)
34.                                    .MajorGridLines(lines => lines.Visible(false))
35.                                    .Visible(false)
36.                                )
37.                                .Tooltip(tooltip => tooltip
38.                                    .Visible(true)
39.                                    .Format("{0}%")
40.                                    .Template("#= series.name #: #= value #")
41.                                )
42.                                )
43. 
44.                        </div>
45.                    </div>
46.                </div>
47.            </div>
48.        }

 

How can i solve this ?

 

Thank you in advance and hope it is understandable for you :)

 

 

 

Thank you in advance
Thank you in advance
Konstantin Dikov
Telerik team
 answered on 17 Apr 2017
1 answer
298 views

Hello All,

I have a working Kendo UI grid in my VS 2010 Pro project, with aggregation (sum). However, when deployed to a IIS 6.0 server, I get a JavaScript error:

VM565:3 Uncaught ReferenceError: sum is not defined
    at Object.eval [as tmpl0] (eval at compile (kendo.all.js:194), <anonymous>:3:130)
    at Object.eval (eval at compile (kendo.all.js:194), <anonymous>:3:267)
    at d (jquery.min.js:2)
    at init._footer (kendo.all.js:48733)
    at init.refresh (kendo.all.js:50132)
    at init.d (jquery.min.js:2)
    at init.trigger (kendo.all.js:124)
    at init._process (kendo.all.js:6912)
    at init.success (kendo.all.js:6657)
    at success (kendo.all.js:6584)

I've compared file by file with WinMerge, and both development and production file sets are identical. Any pointers?

 

Thank you.

Eduardo
Top achievements
Rank 1
 answered on 15 Apr 2017
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?