Telerik Forums
UI for ASP.NET MVC Forum
2 answers
658 views

I have a grid where it is like an invoice sheet.

Quantity

Cost

Discount

TotalAmount

 

The TotalAmount column has a client template that calculates its value via Quantity, Cost, and Discount . This column when you try to edit it will refresh with the correct value from the implementation of the client template. However, we would like to refresh this cell whenever the other three values are changed... and then we will change the TotalAmount field to read only...

How could we go about accomplishing this?

 

Thanks
AJ

Viktor Tachev
Telerik team
 answered on 24 Oct 2016
3 answers
393 views

Is there any way to achieve this? I found that I have to choose between one of the two options, and I'd like to keep them both.

Thanks in advance.

Kostadin
Telerik team
 answered on 24 Oct 2016
5 answers
132 views

We are getting an 'undefined is not an object' error in kendo.web.js in the built-in leafDatacells function.

I believe this is called when the grids are loading. It happens in several of our pages.

 

  a = $(a);
  var indexA = a.attr(indexAttr);

We recently updgraded our Kendo controls and are now experiencing a (somewhat random) value-undefined error.
The error occurs in the Kendo.Web.js file in function leafDataCells(container) {..}
In the second line of code above a is undefined so it throws an exception trying to use a.

When debugging it does not seem consistent so its hard to trace through the code.
However here are the details that popup when it happens:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; InfoPath.3; .NET4.0C; .NET4.0E)
Timestamp: Mon, 27 Apr 2015 20:57:02 UTC
Message: 'undefined' is null or not an object
Line: 1
Char: 667171
Code: 0
URI: http://

dev-sptd/bundles/kendo?v=oYZbo7NQSLuvHxwnjnakMZia9RBFZeO-xvVApBboXHo1

We do use grid sorting but is there an alternative to using leafDataCells function or a way to disable it and still sort, or is this a bug that needs to be worked on?

Thanks

Rosen
Telerik team
 answered on 24 Oct 2016
4 answers
166 views

Hi,

I have the following listview below - what I want to have is that at every reload ($("#gridMitglied").data("kendoListView").dataSource.read();) and after paging
the first row should be visible (listview Scrolling) - the listview is not selectable!

now after a reload or changing the page not the first row is visible which is not usable...

@(Html.Kendo().ListView<SEARCH_GPDB>()
        .Name("gridMitglied")
        .TagName("div")
        .ClientTemplateId("template")
        //.ClientAltTemplateId("templatealt")
        //.Selectable(ListViewSelectionMode.Single)
        .Pageable(pageable => pageable
            .Refresh(true)
            .ButtonCount(5)
        )
        .DataSource(dataSource => dataSource
            .Ajax()
            .Read(read => read.Action("Mitglied_Read", "Suche").Data("Suche"))
            .PageSize(20)
        )
        .Pageable()
)
Robert Madrian
Top achievements
Rank 1
Veteran
Iron
 answered on 21 Oct 2016
1 answer
184 views

I'm using kendo html helper mvc with the next code in the View: 

@(Html.Kendo().Grid(Model)
            .Name("Grid")
            .HtmlAttributes(new { })
            .Columns(columns =>
            {
                columns.LoadSettings(new List<GridColumnSettings>() { new GridColumnSettings() { Hidden = true } });
                columns.Bound(c => c.TextCol1).Hidden(true);
                (....)
            })
            .RowTemplate(@<div class="objLst">
            <div class="row">... ... ...</div ></div>)

 

I need to group the elements of the grid using javascript. I have the next code:

var grid = $("#Grid").data("kendoGrid");
grid.dataSource.group({field:"TextCol1" });

 

but when I run the javascript instruction, the application (kendo grid) makes an GET request to the server to group the data. I need that the grouping run only on the client side.

It's possible? Or I should migrate all code to javascript?

Thank you.

 

Konstantin Dikov
Telerik team
 answered on 21 Oct 2016
1 answer
215 views

Is there a way to create a wizard inside a kendo window with postback on each step? 

Tried following this link, but wasn;t able to get : http://developer.telerik.com/featured/step-wise-forms-with-asp-net-mvc-and-kendo-ui/

Grids inside kendo tabs do not work ( no ajax calls being made to populate grids ).

Danail Vasilev
Telerik team
 answered on 21 Oct 2016
3 answers
318 views

Hello!!!

I'm using MVC Scheduler with a all day event template. 

<script id="event-template" type="text/x-kendo-template">
    #if(data.IsControl && hasControlElement(data)) {#
            #= title#
     #}else {#
    <div class="amagat">
    </div>
    #}#
</script>

I want to hide all the events with the template that contains <div class="amagat"/>

I've tried it by javascript and css, but no luck... 

<style>
    .k-event > .amagat {visibility: hidden ; display: none}
</style>

 

I've attached two images with the current result and the desired result.

 

Thanks!!

Veselin Tsvetanov
Telerik team
 answered on 20 Oct 2016
1 answer
129 views

Hi,

I have a requirement where i want only visible columns json data send to server. This is so because user will have ability to hide columns client side. Requirement is create excel at server side with only visible columns.

Regards,

Pankaj

Vasil
Telerik team
 answered on 20 Oct 2016
3 answers
438 views

Hi guys,

I have a few problems with my brandnew grid. The situation is this: I added a grid to an mvc view. I made the grid columns filterable with the filterable: true setting.
The grid also contains a column with a checkbox to enable multiselect and a submit button to process the selection. If I tick a few boxes and process the selection everything works fine. If I use the filter and then select multiple rows to process, the list returned to the controller contains the wrong number of records or no records at all.

Furthermore, only rhe 'contains' option in the filter produces results, if I choose another option I get a grid with no results. I put the code for the View, ViewModel, Controller, the _layout.cshtml and the bundle.config in the attached zip. I'm afraid I couldn't get it in to a working project, because of the necessary data. I hope you'll still be able to figure out what's going wrong.

Cheers,

Mirjam

 

Angel Petrov
Telerik team
 answered on 20 Oct 2016
1 answer
145 views

We've noticed long running requests in the worker processes in IIS, some have been sitting for anywhere between 1 hour to 3/4 hours.

The request URL is:

/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=    

Any ideas what could be causing this?

 

Thanks in advance.

Vessy
Telerik team
 answered on 20 Oct 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
Upload
ComboBox
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
ListView (Mobile)
Pager
Accessibility
ColorPicker
DateRangePicker
Wizard
Security
Styling
Chat
MediaPlayer
TileLayout
DateInput
Drawer
SplitView
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Licensing
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?