Telerik Forums
UI for ASP.NET MVC Forum
3 answers
157 views
Hi,

The _adjustRowsHeight function in the Kendo Grid code throws an exception if columns are resized in a grid containing locked columns while the grid is empty. These lines are causing the issue:

for (idx = 0; idx < length; idx++) {
    if (rows[idx].style.height) {
        rows[idx].style.height = rows2[idx].style.height = "";
    }
 
    var offsetHeight1 = rows[idx].offsetHeight;
    var offsetHeight2 = rows2[idx].offsetHeight;

If the grid is created by the Kendo MVC wrapper, "rows" contains one <tr class='k-no-data'> while rows2 is empty. I'd link to a jsfiddle reproducing the problem, but the k-no-data row is only added by the MVC wrapper.

Once this happens it's impossible to resize any columns until the page is reloaded. Is this a known issue?

Thanks,
Nick

Alex Gyoshev
Telerik team
 answered on 25 Dec 2014
3 answers
204 views
Hi, since I've started using Kendo UI server wrapper controls, the Intellisense has never worked.  Now that I'm getting into more complicated and less documented features, I kinda need it.  Any troubleshooting tips?
Alexander Popov
Telerik team
 answered on 25 Dec 2014
3 answers
482 views
Attached is the sample project where we use grid along with tabstrip.

We Do NOT see the drill down of 2nd  tab when we open the dril-down from Top to bottom. It means we in the attached snapshot when we click on Project1 to Project4 then only project1 shows the tab named "Second". The rest projects : Project 2 , 3, 4 do not show the second tab and it cannot be selected also when clicked on it. (Refer: Issue_TopToBottom.jpg)

But the bottom to top works well (Refer: Issue_BottomToTop.jpg)

Please give us a solution at the earliest.

Dimo
Telerik team
 answered on 24 Dec 2014
1 answer
158 views
Actually in my project I have a requirement to use drop down list in kendo grid. I have both sorting and filtering option. When I apply for filter for the dropdown list column, it displays value of the dropdown list in the filter. I want to display description or text in the filter. Kindly help me on this.

Petur Subev
Telerik team
 answered on 24 Dec 2014
1 answer
107 views
Is it possible to add Hyperlink which can take to a new View on Stacked Bar Chart.

Please let me know.

Alex Gyoshev
Telerik team
 answered on 24 Dec 2014
2 answers
147 views
Hi, I'm finding conflicting posts on how to add a checkbox column to the grid.  I am using the HtmlHelper/server-side wrapper.  Any help would be appreciated.

My requirement is to allow for a checkbox column on the grid. 
Each checkbox click/unclick must select/unselect the row. 
When rows selected by clicking/dragging the checkboxes should be selected.
The checkbox column needs to have a check-all/uncheck-all header checkbox.

Attached is a small screenshot of our grid from Telerik for AJAX.
Bob
Top achievements
Rank 1
 answered on 23 Dec 2014
3 answers
130 views
I have an MVC page that has many controls on it, including a Telerik MVC grid. Most of my editors are using DataAnnotations for validation (Required, Range, etc.). However, I'm trying to come up with a way to validate whether or not at least one item exists within the grid. Is there a way to do this? Nothing is jumping out at me in the documentation. Any help would be welcome!
Alexander Popov
Telerik team
 answered on 23 Dec 2014
11 answers
445 views
I have a very unique problem here. There are times when I have multiple UI MVC Grids on a page. And the new export to excel works great for it. But what I need to be able to do is export 1 or more grids on the page to a single PDF and in the Excel export each grid to a tab in the excel document. Is there a way to do this?
T. Tsonev
Telerik team
 answered on 23 Dec 2014
5 answers
293 views
I have a dropdownlist in a grid EditorTemplate:

@(Html.Kendo().DropDownList()
    .Name("EnvironmentID")
    .DataValueField("EnvironmentID")
    .DataTextField("Name")
    .DataSource(d =>
    {
        d.Read(r => r.Action("GetEnvironmentsJsonResult", "Home").Data("getCustomerID()")).ServerFiltering(true);
    }
    )
    .OptionLabel("Environment")
)
getCustomerID is:
function getCustomerID() {
        var row = $(event.currentTarget).closest("tr");
        var grid = $(event.currentTarget).closest("[data-role=grid]").data("kendoGrid");
        var dataItem = grid.dataItem(row);
        return { customerID: dataItem.CustomerID };
    }
this works in chrome, because the event is there, but not in firefox. I've tried passing this and event to the method, but that doesn't seem to work because this isn't a click and an event doesn't exist? How do get the customerID from the row the ddl is in?
Alexander Popov
Telerik team
 answered on 22 Dec 2014
1 answer
805 views
Hi, for a filterable grid column, I would like to set the filter type to "contains" and hide the filter icon.  Is this possible?  Below is column I am working with.

This was easily achievable in Telerik AJAX grid but I have trouble navigating documentation for Kendo.  It took me a while to dig through forum posts to find how to set the filter control width.

columns.Bound(m => m.PatientName).Title("Patient Name").Width(170).Filterable(f => f.Cell(c => c.InputWidth(130)));
Rosen
Telerik team
 answered on 19 Dec 2014
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
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?