Telerik Forums
Kendo UI for jQuery Forum
2 answers
3.7K+ views
Hi

I create a window, which I would like to destroy after closing, but I cannot get it to work.

I have found various hints in the forum, but if I implement them, the window keeps coming back after refreshing the screen (ie performing a feedback).

The code which I use to initialize the window is pretty standard:
		<script type="text/javascript">
	 $(document).ready(function () {
		$('#windows').css('z-index', 9000);
		$("#Payment").kendoWindow({
			actions: [ "Maximize""Minimize""Close"],
			draggable: true,
			height: "600px",
			modal: false,
			resizable: true,
			title: "<%=ViewData("paymentenginetext")%><%=  ViewData("invoicenr")%>",
			width: "810px"
		}); 
		var kendoWindow = $("#Payment").data("kendoWindow");
        kendoWindow.center();
	});
	</script>

The way to destroy the window is to perform the function destroy at deactivation, but where and how do I put this in my code?

KR

Henk Jelt Hoving 
Ivan Danchev
Telerik team
 answered on 29 Jun 2020
1 answer
156 views

Hi Admin,

Kendo release new wizard component, I have one question regarding this component.

How can i add tabstrip in wizard and also please let me know how can i validate both tabs with fields.

 

Neli
Telerik team
 answered on 29 Jun 2020
4 answers
1.5K+ views
What is the best way to align an icon to the right of a button? Is there a built in way or do I need to add my own span for the icon and align it with CSS?

Regards
Dean
Igor
Top achievements
Rank 1
 answered on 26 Jun 2020
1 answer
115 views

hi, 

i would like to know whether the kendo scheduler consider/changes according to the browser language. If we change language in the browser does the scheduler changes its date format patterns ( ex: "mon 6/10" in week view header), timeslot labels (ex: "8.00 A.M.") and texts(ex: monday, tuesday, wednesday... on month view) according to the new language. 

Ivan Danchev
Telerik team
 answered on 26 Jun 2020
1 answer
654 views
The code below throws a Javascript error that the function filter can not be found. Its defined right below the control. Why can't it be found?


                        @(Html.Kendo().ComboBoxFor(m=>m.childId)
                            .HtmlAttributes(new { style = "width:100%;" })
                            .Placeholder("Select ...")
                            .DataTextField("description")
                            .DataValueField("id")
                            .DataSource(source =>
                            {
                                source.Read(read =>
                                {
                                    read.Action("getData", "controller1")
                                    .Type(HttpVerbs.Get)
                                    .Data("filter");
                                })
                                .ServerFiltering(true);
                            })

                            .AutoBind(true)
                        )           
                        <script>
                            function filter() {
                                return {
                                    id: $("#Id").data("kendoComboBox").value()
                                }
                            }
                        </script>
Ivan Danchev
Telerik team
 answered on 26 Jun 2020
1 answer
784 views

Previously, we used either <br> tags or <div> tags to make multi-line tooltips, to have like a title on the first line, then additional items below (see this Dojo targeting an older version of Kendo where it worked fine). Note that "Test" is correctly in italics and is a line down from the rest of the tooltip.

But if you change the Kendo version to a more recent version, like 2020.2.617 (see this Dojo), the "Test" text is now beside the other text, not below as it should be.

I did notice that there is now a CSS rule for .k-tooltip that sets display: inline-flex, where there used to be no setting of the display attribute, and therefore the .k-tooltip element used to be the default of block.

Why did this change to "inline-flex" happen? And to get back previous behavior, do I really need to override .k-tooltip display back to block? What ramifications will that have?

Silviya Stoyanova
Telerik team
 answered on 25 Jun 2020
8 answers
1.6K+ views
Hi,

Is having both virtual scrolling and traditional paging enabled a supported scenario? I have created a quick jsFiddle showing a bug with the pager control in this case:

http://jsfiddle.net/xd2nb/1/

To reproduce it, scroll a few pages down with the mouse wheel, then scroll up. The pager will "jump" between pages suddenly and/or briefly show the incorrect page number before eventually correcting itself after scrolling further.

Is there a problem with my grid's configuration, or can this be addressed in a future update?

Thanks,
Nick
gopala
Top achievements
Rank 1
 answered on 25 Jun 2020
3 answers
409 views
     Just a heads up on what I found upgrading to .net Core in my SignalR implementation. The Core version automatically camel cases field names, so when I was pulling field names in my schema, StartDate came up as startDate, so my schema pulling "from: StartDate" gave me a null field. Hope that helps someone.
Aleksandar
Telerik team
 answered on 25 Jun 2020
1 answer
146 views
Hi, Dev Team!

I stacked with problem when develop my solution on offline server. No one error via page loading. But breadcrumb looks broken.

Other kendo UI controls work properly. Please help with this issue.
Aleksandar
Telerik team
 answered on 25 Jun 2020
3 answers
148 views

Dear Concern,

I'm trying to select frist value from dropdownlist if have only one value. I have grid Add row button. When I'm clicking on Add line button (please see attached image) grid creating one row job drop-down should automatically bind if job drop-down has one value.Please see the attached file. This will help users to fill the job dropdown more quickly (no need click on dropdown) if just one job in dropdown.

If only one job in dropdown and user clicks on Add Line, Make it so that the JOB# automatically fills. 

I'm trying below way but its not working. 

var dataItem = _getGridCurrentDataItem(PARTS_GRID_CONTROL_ID); 

if (jobs.length == 1) {                        
                        if (dataItem) {
                            dataItem.set("SerRecID", jobs[0]);                            
                        }
                    }

Thanks !

Liton

 

Alex Hajigeorgieva
Telerik team
 answered on 25 Jun 2020
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
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?