Telerik Forums
Kendo UI for jQuery Forum
1 answer
94 views

I have a page that opens up a KendoWindow with a Grid.  I have a Kendo DDL outside of my Grid that calls a method to filter the contents of the grid from the Ajax datasource. The Grid is wrapped inside a form.  The DDL is outside of the form, but calls a function to filter the rows in the Grid.  Each row of the Grid has a button that submits the form with the value of the button that was clicked.  After updating to R3, when the DDL is used to filter the Grid, the Grid is refreshed, but when clicking ANYWHERE in the browser, even clicking in the developer tools which are open in a separate window, causes the Grid to filter again (appears to flicker) and allows the Grid to function as it did with R2.  This happens in IE11 and the latest version of Chrome.

In the change log for this release states that one of the issues fixed for Grids was: Grid filter flickers on IE 11 when the widget is loaded inside Window.  I never had a problem, with but R3, I think that maybe this fix is possible the cause of my issue.

Stefan
Telerik team
 answered on 21 Oct 2016
3 answers
123 views
I have changed the angular scheduler demo by changing the jquery reference to <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> and it no longer works, it works with 2.3 but not 3.1.1.1  I have attached the demo file with the change.  What is the maximum version of jquery you support with the scheduler?
Eduardo Serra
Telerik team
 answered on 20 Oct 2016
1 answer
450 views

If you try this example, where I added style on multiselect to display it width as 30%, default margin stays and I cant remove it.

http://dojo.telerik.com/UcABo

 

Inspect multiselect widget and hover class .k-widget.k-multiselect.k-header and you will see that margin  (also you can see it on attachment below). This doesn't show in dropdown list. My question is, how to remove that margin?

 

 

 

 

 

Stefan
Telerik team
 answered on 20 Oct 2016
1 answer
88 views

Hi Kendo Team,

While working with the spreadsheet's custom validation feature, my team stumbled on what seems to be a bug with the AND function when checking cell values.  When checking the LEN() of a cell's value before an ISNUMBER() check, the validation will sometimes completely ignore the ISNUMBER.  This bug does not seem to happen in every situation but when it does it can be nearly impossible to pinpoint in one's own code without accidentally fixing it by changing the order of logic.  I've managed to consistently replicate what I'm experiencing in the dojo link below:

     http://dojo.telerik.com/EMAKI

The dojo link contains your spreadsheet validation demo -- the only thing that has changed from the original demo is the validation in cells D3 and D4.  Both are observing cells F3 and G3, checking that F3 is a number and that G3 is empty.  The only thing different about the validation in cells D3 and D4 is the order in which we check the other two cells within the AND function.  However, you can note inconsistent behavior here the moment you run it.  You will see that while both D3/D4 cells become flagged if G3 is not empty, D3 does not seem to check whether or not F3 is a number.  Putting a non-numeric string into F3 or leaving it empty will cause D4 to display the warning but not D3.

 

So -- bug or am I overlooking something obviously wrong?

Thanks,

Jeff

Stefan
Telerik team
 answered on 20 Oct 2016
7 answers
920 views

This is in relation to a DataSource in a Kendo UI Grid that does server side filtering to an OData v4 service.

I know the solution to my problem, I just don't know how to get the DataSource to implement it.  How can I force the query that ends up going to the OData service to not include the time portion of a date? Is there a method I can implement that will allow me to modify the URL just before the http get is performed?

 

When I apply a filter with the type set to "is equals to" the get request for the service looks like this.

https://localhost/Application?$filter=(DOB eq 1997-01-27T00:00:00+00:00)

 

If I could just get the DataSource to request this instead...

https://localhost/Application?$filter=(DOB eq 1997-01-27)

My problem would be solved.  Anyone know how I can resolve this?  Thanks!

Scott
Top achievements
Rank 1
 answered on 20 Oct 2016
3 answers
813 views

Without grouping - right now, I have the aggregates configured in the footer (photo attached).

Is there a way to add the same aggregates row right below the headers (top of the grid above the data)? 

Alex Hajigeorgieva
Telerik team
 answered on 20 Oct 2016
1 answer
1.3K+ views

Here is an example which demonstrates the issue I am having. http://dojo.telerik.com/EcEgo

To reproduce the issue, delete the value in the numeric text box and than click validate button. You should see the error message in the <span data-for="UnitPrice" class="k-invalid-msg"></span> which is defined by me in the DOM. After than click inside the numeric text box (focus) and then click outside the numeric text box to lose focus. You'll see 2nd validation message to appear.

 

My question is - why this happens? Am I doing something wrong or this is a defect in NumericTextBox?

Thanks.

Stefan
Telerik team
 answered on 20 Oct 2016
1 answer
126 views

Hi,

when you have a grid with a scrollbar, then the command Buttons are not shown example:

 

http://dojo.telerik.com/utoFA/2

 

when you change the "2000px" width to "200px" then you see the details and remove button.

Dimiter Topalov
Telerik team
 answered on 20 Oct 2016
1 answer
819 views

I found this article: http://docs.telerik.com/kendo-ui/controls/layout/window/how-to/display-loading-overlay

But that seems to work with just one button. My button is in a grid, so there are multiple buttons with the id of showOverlay. Here's how everything looks:

@(Html.Kendo().Grid<vNPISearch>()
            .Name("npi-grid")
            .DataSource(dataSource => dataSource
                .Ajax()
                .Model(model => model.Id(x=>x.NPI))
                .PageSize(10)
                .ServerOperation(true)
                .Read(read => read.Action("NPI_Read", "Pecos")))
            .Columns(columns =>
            {
                columns.Template(x => { }).ClientTemplate("#=GetPecosStatus(PecosNPI) #").Width(50);
                columns.Bound(x => x.ProviderFirstName).Title("First Name");
                columns.Bound(x => x.ProviderLastName).Title("Last Name");
                columns.Bound(x => x.ProviderBusinessLocationAddressCity).Title("City");
                columns.Bound(x => x.ProviderBusinessLocationAddressState).Title("State");
                columns.Bound(x => x.NPI).Title("NPI");
                columns.Command(command => command.Custom("View Details").HtmlAttributes(new { id = "showOverlay" }).Click("showDetails")).Width(180);
            })
            //.ClientDetailTemplateId("template")
            .Scrollable(src => src.Height("auto"))
            .Sortable()
            .Pageable(pageable => pageable
                .Refresh(true)
                .PageSizes(true)
                .ButtonCount(5))
      )
 
@(Html.Kendo().Window().Name("Details")
    .Title("NPI Details")
    .Visible(false)
    .Modal(true)
    .Draggable(true)
    .Width(500)
    .Actions(builder => builder.Refresh().Close())
)
 
<script type="text/javascript">
    function showDetails(e) {
        e.preventDefault();
 
        var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
        var wnd = $("#Details").data("kendoWindow");
        wnd.refresh({
            // Url to the action fetching the partial view
            url: "/Pecos/GetNPIData",
            // The id passed to the action so that model can be found
            data: { npi: dataItem.NPI }
        });
        wnd.center().open();
    }
 
    $(function () {
        var windowWidget = $("#Details").data("kendoWindow");
 
        $("#showOverlay").click(function () {
            kendo.ui.progress(windowWidget.element, true);
        });
    });
</script>

 

Thank you for your help!

Boyan Dimitrov
Telerik team
 answered on 20 Oct 2016
1 answer
258 views

Using the Grid with inline batch editing, we noticed that when a script injection test was done, the server was throwing an error because the HTML tags are not encoded before posting. 

If you try the Batch Editing demo http://demos.telerik.com/kendo-ui/grid/editing and enter something like "<script>" into the Product Name column, the server will report a 500 error. 

A potentially dangerous Request.QueryString value was detected from the client (models=&quot;...uctName&quot;:&quot;&lt;script&gt;&quot;,&quot;UnitPrice...&quot;).

Is kendo.stringify not properly encoding the values before posting?  Suggestions to improve this scenario? 

Using Kendo UI for ASP.NET MVC R3 2016

 

Thank you. 

Vessy
Telerik team
 answered on 20 Oct 2016
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?