Telerik Forums
Kendo UI for jQuery Forum
1 answer
375 views

When users use the "createLink" tool of the editor, I need to trap the output and Make it Bold and Underline.

How can I change the output? 

Is there an event I can hook on? an API I can use?

If there is a way to add functionality to any tool of the editor, I would like to be able to do it.

 

Thank you in advance

Dimitar
Telerik team
 answered on 21 Nov 2017
5 answers
405 views

Hi,

I have datasource1 which would return result immediately is bound to grid1 , and datasource2 which uses a long running query (~10 seconds) bound to grid2. Both grids are on the same page.

here is the normal flow from chrome console:

datasource1 request started
datasource2  request started
datasource1  request ended
datasource2  request ended

But sometimes datasource2  would block datasource1 (request status = 'Pending' in chrome dev tab), and would return before datasource1:

 

datasource1 request started
datasource2  request started
datasource2  request ended
datasource1  request ended

Since datasource2  is taking 10seconds, datasource1 would not return until datasource2 is done with request.

to troubleshoot the issues I spread my backend actions (MVC actions) to different controllers and removed any reference to session/cockie but that did not help.

Thank you.

Madani

Konstantin Dikov
Telerik team
 answered on 21 Nov 2017
1 answer
7.0K+ views
Give how awesome Kendo is I thought I'd ask. (I haven't see it in the docs)

Is there a way, in MVC, to enforce that DatePicker 2 is before DatePicker 1. It's a fairly common validation for forms with a From and To date.

Thanks
Stefan
Telerik team
 answered on 21 Nov 2017
1 answer
6.7K+ views
I can do something like
// returns data where orderId is equal to 10248 or customerName starts with Paul
filter: {
    logic: "or",
    filters: [
      { field: "orderId", operator: "eq", value: 10248 },
      { field: "customerName", operator: "startswith", value: "Paul" }
    ]
}

However, I am wondering... if it is possible to get filtering on condition like:
orderID is equal to 10248 or
( customerName starts with "Paul" and customerLastName start with "B" ) ?

Would you help me translate the conditions to filter: { ... } syntax?

Thank you,




Plamen
Telerik team
 answered on 21 Nov 2017
2 answers
407 views
Hi,

How can I disable these multiple features from the diagrams?

1. Draggable objects
2. Dynamic connectors (the ones that you add once the diagram is already rendered)
3. Zooming with the mouse scroll
4. Ctrl+Z effect


Thank you!
Gabbi
Top achievements
Rank 1
 answered on 21 Nov 2017
1 answer
462 views
$("#mycalendar").kendoCalendar({
            value: today,
            dates: events,
            change: onChangeCalendar,
                month: {
                // template for dates in month view
                content: 
                     '# if ($.inArray(+data.date, data.dates) != -1) { #' +
                        '<div class="' +
                               "exhibition" +
                        '">#= data.value #</div>' +
                     '# } else { #' +
                     '#= data.value #' +
                     '# } #'
              },
              footer: false
    });

I have my Calendar with onChange function and i'd like to create onSelect function.

At my onChange i create a kendo window to show a message.

This should also happen at onSelect.

-Click element.
-Go to onchange

-Open the window

-Close window
-I click on the same item and it does not open (onSelect is not implemented)

Calendar don't have select event.

How can i do this?

Stefan
Telerik team
 answered on 21 Nov 2017
5 answers
368 views

Hi,

Please consider the following dojo :

http://dojo.telerik.com/apujOD

 

The issue is on the first field "ProductID" when using "number" as the type of its "id".

 

Steps to reproduce the issue :

1- Create new record

2- Select entry "aaa" or "bbb"

3- Validate entry

4- Edit Entry again and select option label "select..."

5- Validate entry

6- Edit entry again and select "aaa" or "bbb"

7- Validate and you can see that current value is null and you cannot select another value anymore.

 

Please tell me what I'm doing wrong. Note that this works well when using "string" type.

Thank you.

 

Alex Hajigeorgieva
Telerik team
 answered on 20 Nov 2017
23 answers
1.1K+ views
I have a grid with edit : popup.
I want to add a custom command that will open the popup editor in adding new row  mode
but will have the values of the current record (like duplicate row).
Stefan
Telerik team
 answered on 20 Nov 2017
3 answers
216 views
I have tried navigating to remote views via both anchors that have href set and in JS by app.navigate("test.html") and no matter which way i perform the navigation, navigating back (pressing the back button in the nav bar or pressing back in the browser) results in the application navigating to the starting index page. It's as though the views that are navigated to are not being recorded as I navigate to them. I have not been able to find much information on this. The only relevant information I found was to check app.pane.history (an array) and sure enough it was empty after I had perfomed a few jumps of navigation. I'm not really sure what to do at this point beyond trying to catch the back event and implement the history manually. Any suggestions?
Veselin Tsvetanov
Telerik team
 answered on 20 Nov 2017
3 answers
154 views

Hi,

I'm trying to use kendo grid virtual scrollable + editing + sorting with version 2017.3.1018.

The create/update is working well, but there is an unexpected behavior in delete function.

You can see it in this example: 

https://dojo.telerik.com/@huan5.wang@citi.com/urAxO/3

 

Here is a grid with 10000 items displayed. And the data is sorting by Id in descending order.

When I delete the first item (Id: 9999) and then refresh the grid (scroll down and up, sorting), this deleted item will reappear.

Could you review it?

 

Thanks

Huan
Top achievements
Rank 1
 answered on 20 Nov 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
ContextMenu
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
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?