Telerik Forums
Kendo UI for jQuery Forum
2 answers
628 views

Hi,

I'm using a kendoTooltip control with the content.url configuration.

The problem is it takes a second or so to load the content, which is a long time when you're hovering over something frequently.

I'd like to know if it's possible to programatically load the content in the background (say, a few seconds after the page loads). Then when the user hovers over the target control, the tooltip can display instantly (having already loaded the content).

Thanks,

George

Veselin Tsvetanov
Telerik team
 answered on 31 Dec 2018
2 answers
379 views

Hello everyone,

I have a dynamic Kendo grid that can perform CRUD operations. Foreign Keys are retrieved and mapped to their value and placed in the grid as a drop down list using an editor template, similar to this example here: https://demos.telerik.com/kendo-ui/grid/foreignkeycolumn

I have virtualization enabled on those FK dropdowns similar to this example: https://demos.telerik.com/kendo-ui/dropdownlist/virtualization and my dropdown correctly calls the valueMapper with the id. The problem is with the valueMapper, as this function only receives the FK id or dataitem. I am not able to communicate to the server which column the FK id belongs to, and thus can not return the index of the value. This problem seems that it could result in any grid that has multiple foreign keys so I am hoping there is a solution but I have been unable to find one. Any tips/leads would be greatly appreciated!

Here is my DynamicForeignKey editor template that is used as in each FK column of the grid.

@(
     Html.Kendo().DropDownListFor(m => m)
            .Filter(FilterType.Contains)
            .HtmlAttributes(new { style = "width:300px" })
            .Height(290)
            .DataValueField("ForeignKeyID")
            .DataTextField("ForeignKeyName")
            .DataSource(source =>
            {
                source.Custom()
                    .ServerFiltering(true)
                    .ServerPaging(true)
                    .PageSize(80)
                    .Type("aspnetmvc-ajax")
                    .Transport(transport =>
                    {
                        transport.Read("Read", "ForeignKey", new { SchemaName = ViewData["SchemaName"], TableName = ViewData["TableName"], ColumnName = ViewData["ColumnName"] });
                    });
            })
            .Virtual(v => v.ItemHeight(26).ValueMapper("valueMapper"))
)
Austen
Top achievements
Rank 1
 answered on 28 Dec 2018
2 answers
376 views

Hi Team,

I have requirement where i want editable kendo grid in which i have one column  (Values) in which i want to show the date ,number and text values.depending on the datatye it should change control of that cell accourding to datatype of that value .i'm able to show these value but at the time of editing i facing issue like values are not visible in the cell something like that if i forced column type either to string or datetime,

please suggest some working example 

 

Thanks in advance.

Viktor Tachev
Telerik team
 answered on 27 Dec 2018
3 answers
2.3K+ views

I am working on a page that progressively adds server content as the user provides more information. So there are a lot of chunks of UI being appended and replaced in the UI. I just noticed that when I remove one div, via jquery's .remove function, the div.k-calendar-container.k-popup for some date pickers that were descendants of the div are not being removed and are accumulating at the bottom the page.

In regards to separation of concerns, at the point in my javascript that I am removing the parent element, I don't necessarily want that code to have to know that there are kendo datepickers inside or to have to care about what the contents are at all. Is there a best practice to make sure that kendo widgets are cleaned up/destroyed when they are indirectly removed from the DOM like this?

Marin Bratanov
Telerik team
 answered on 26 Dec 2018
3 answers
268 views
I have a Columns Chart which shows all data on initial page load. User has the option to change the data query by selecting checkboxes which are read when the chart does datasource.read().
The problem is that if the data is empty the category axis is not emptied. Instead it just shows the previous axis without any data. Is there a way to for the chart to redraw category axis?
Preslav
Telerik team
 answered on 25 Dec 2018
17 answers
838 views

Hey,
I'm having a problem while tryign to use webpack + angularjs + kendo ui in my application.

While trying to use the kendo combo box, an exception raised (through chrome console):

"The Kendo UI directives require jQuery to be available before AngularJS. Please include jquery before angular in the document.".

I've read those issues (which didn't help me at all):
https://github.com/telerik/kendo-ui-core/issues/1932
http://stackoverflow.com/questions/39499716/how-to-use-kendo-ui-core-with-webpack-and-es2016

My code can be downloaded through Github:
https://github.com/amityaniv4/CheckSomething/tree/master

 

Thank you for helping :)

Mohan Krishna
Top achievements
Rank 1
 answered on 25 Dec 2018
2 answers
837 views

Hi,

a Toolbar  Button  without url is created as <a href="" ...

See http://dojo.telerik.com/aBiHumiR and inspect the button in toolbar1.

For the browser this is a link and the user can open the context menu for the links (open in new tab/windows, ...)

And in my css I have styles for links (i.e. a:any-link ) which will also apply to <a href="". For this I could exlude the button with a:any-link:not(.k-button).

But it would be better, that href="" is ommited if no url is defined. So I remove it in toolbar2 with
$("#toolbar2 a").removeAttr("href");

And this not work for the buttons in the overflow menu - make the run pane smaller in the dojo.

Is there an option in kendoToolBar / type="button" to omitt href="" ?

Peter

 

 


Peter
Top achievements
Rank 1
 answered on 24 Dec 2018
8 answers
636 views
Is it possible to set the CSS properties of the tooltip div?  It would be nice to be able to set a max-width, z-index, etc.
Preslav
Telerik team
 answered on 24 Dec 2018
3 answers
229 views

Hi,

Is tooltips available for connections in diagram ??. I have found tooltips for shapes. Do we have same kind of feature in connections too ? It seems content template available for connections but tooltips are not available

Konstantin Dikov
Telerik team
 answered on 24 Dec 2018
3 answers
281 views

Hello, I have this sub-grid.  I'm trying to use the row ID (which appears fine on the actual row) .. but is null when I try to use it in the hyperlink inside a ClientTemplate

Any help?

 

<script id="criticalTopicsTemplate" type="text/kendo-tmpl">
@(Html.Kendo().Grid<DashboardViewModel>()
 .Name("grid_#=TopicID#")
 .Columns(columns =>
 {
 columns.Bound(cr => cr.CTID); // <-- CTID does appear here and on the grid
 columns.Bound(cr => cr.CTTitle).Title("CT Name");
 columns.Bound(cr => cr.CTStatus).Title("Status");
 columns.Bound(cr => cr.CTPercentComplete).Title("Percent");
 columns.Bound(cr => cr.CTEnd).Title("Target");
 columns.Bound(cr => cr.CTCertified).Title("Certified");
 columns.Bound(cr => cr.CTOwner).Title("Owner");
 columns.Bound(cr => cr.CTExecStakeholder).Title("Stakeholder");
 columns.Bound(cr => cr.OpenPRs).Title("Open PRs");
 columns.Bound(cr => cr.CompletedPRs).Title("Completed PRs");
 columns.Bound(cr => cr.OtherPRs).Title("Other PRs");
 columns.Command(command => command.Custom("Details").Click("showDetails")).Title("Critical Topic Details");
 columns
 .Bound(cr => cr.CTID)
 .Template(@<text></text>)
 .Title("Actions")
 .ClientTemplate("<a href='http://<link-info-here>/DispForm.aspx?ID=#=CTID#' target='_blank' class='k-button link'>View</a>" + // CTID = null
                 "<a href='http://<link-info-here>/EditForm.aspx?ID=#=CTID#' target='_blank' class='k-button link'>Edit</a>");  // CTID = null

 })
 .DataSource(dataSource => dataSource
 .Ajax()
 .Read(read => read.Action("GetCriticalTopics", "Hierarchy", new { title = "#=TopicTitle# " }).Data("filterOptions"))
 .PageSize(20)
 )
 .Pageable()
 .Sortable()
 .ClientDetailTemplateId("partnerTemplate")
 .ToClientTemplate()
)
</script>

Jorge
Top achievements
Rank 1
 answered on 21 Dec 2018
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?