Telerik Forums
UI for ASP.NET MVC Forum
1 answer
250 views
I have the following grid:

@(Html.Kendo().Grid<MyApp.WebUI.Models.MyModel>()
                    .Name("grid")
                    .Columns(columns =>
                    {
                        columns.Bound(m => m.codeType).ClientTemplate("#=codeType.code_type#").Width(75);
                        columns.Bound(m => m.codeVersion).ClientTemplate("#=codeVersion.code_version#").Width(75);
                    })
                    .Editable(editable => editable.Mode(GridEditMode.InCell))
                    .Events(events => events.DataBound("onDataBound"))

Both columns use a combo box for the EditorTemplate.
I am looking for a solution that disables the 2nd column on default.  Then based on value selected for 1st column, column 2 is either enabled or stays disabled.

Any guidance would be much appreciated.
Kiril Nikolov
Telerik team
 answered on 20 Jan 2015
2 answers
258 views
I have some cascading drop downs, that work well when first loaded, but when submitting the form and form is not valid the form is reloaded. The cascading dropdowns are populated as before but this time the cascaded dropdown does not send a value.
I can see with IE F12 tools that when I select from the list a span is loaded with the text value of my selection, but the input has no value. I can see when I do he same with the top dropdown that the input is populated with a value.
Thanks
Georgi Krustev
Telerik team
 answered on 20 Jan 2015
1 answer
455 views
Hi,

I am facing a problem when I don't want to show All elements" column in order to show, by default, all elements in a pivotgrid. 
Here is what I have currently;
pivotgrid.jpg

I also would like to remove the pivotgrid's footer which shows the total, located at the bottom of the grid. 
Here is what I would like to have ;
new.jpg
Georgi Krustev
Telerik team
 answered on 20 Jan 2015
2 answers
110 views
Hello,

Is there any themes availables for Orchard built with kendo uI, I have been unable to find anything in Orchard gallery.


Thanks for answers
cs
Sebastian
Telerik team
 answered on 19 Jan 2015
2 answers
112 views
I have some JavaScript running in the save event of the edit window of the scheduler to validate some input, if the validation fails I want to stop the windpow from closing, how can I do this?
I have tried
event.stopPropagation();
return false

Thanks
Alan Mosley
Top achievements
Rank 1
 answered on 19 Jan 2015
3 answers
123 views
I need to develop Grid controls for a database to provide CRUD operations. The only issue is we got around 600 tables thus looking at ideas on how to make the ASP.MVC grid control razor code more generic. My idea is to decorate the properties on a object with attributes, where I am lost is the Razor part.  May be I have to go all JS and skip Razor code generation ? 

Thoughts ?

Jay
Nikolay Rusev
Telerik team
 answered on 19 Jan 2015
2 answers
179 views
I want to close an edit window via script. How to do this.
Thanks
Alan Mosley
Top achievements
Rank 1
 answered on 16 Jan 2015
1 answer
154 views
I have a bunch of views that just contain grids.
Most of the code is identical. Is it possible to create a partial view with the grid and just pass it values to build it?
I want to reduce the amount of code I need to change when I need to change all grids
Petur Subev
Telerik team
 answered on 16 Jan 2015
1 answer
136 views
Hi,
I am try to looking for the solution to fix  kendo Grid's vulnerability, the vulnerability had find by WebInpsect vulnerability scanner.
when the scanner send a attack post parameter like:

sort=%0d%0aSPIHeader:%20SPIValue&page=1&pageSize=6&group=&filter=&AreaId=-1&DisciplineId=-1&FieldId=-1&MajorId=-1&Keyword=

the scanner attack sort parameter,  I got a error  "DbSortClause expressions must have a type that is order comparable.", that seems sort parameter value problem, but I never assign sort parameter,

another problem is the scanner send another attach paramter "sort=&page=1%0d%0aSPIHeader:%20SPIValue&pageSize=6&group=&filter=&AreaId=-1&DisciplineId=-1&FieldId=-1&MajorId=-1&Keyword="
I got a exception 
 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal) +14345541

It's seems another Poor Error Handling issue in kendo grid.

Can any one give me some suggestion to fix those problems ?

Thanks, Regards,
Roger Hsu










Dimo
Telerik team
 answered on 16 Jan 2015
2 answers
119 views
Hi,

How to smoothly fadeIn/fadeOut a ClientDetailTemplateId, when the template is plain HTML and not another kendo.grid ??

This is the grid:
@(Html.Kendo().Grid<CompanyDomainView>()
    .Name("customer-grid")
    .ClientDetailTemplateId("customerTemplate")
    ........
And here is the beginning of the template:
<script id="customerTemplate" class="gridtemplates" type="text/x-kendo-tmpl">
    <section>
        <div class="k-widget inline-grid-box">
.....

Thank you.
Jacob
Top achievements
Rank 1
 answered on 16 Jan 2015
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?