Telerik Forums
Kendo UI for jQuery Forum
1 answer
134 views
I have a Kendo grid:

@(Html.Kendo().Grid<Grid>().Name("Grid")
.DataSource(ds => ds
.Ajax()
.Model(model => model.Id(m => m.ID))
.Read(read => read.Action("Grid_Read", "Sessions", new {sessionId = ViewBag.SessionID}))
.Update(update =>
update.Action("Grid_Update", "Sessions", new {
sessionId = ViewBag.SessionID, qcStateId = 'currently selected qcstatusheader value'}))
.PageSize(10)
.Batch(true)
)
.ToolBar(toolbar =>
{
toolbar.Template(
"| Set selected to: " + @Html.Partial("EditorTemplates/QCStatusHeader"));
}
)

QCStatusHeader:

@(Html.Kendo().DropDownList()
.Name("QCStatusHeader")
.DataValueField("Id")
.DataTextField("Name")
.BindTo((List<NomadBase.Web.ViewModels.Shared.QCStateViewModel>)ViewBag.PossibleQCStatesHeader)

)

How do I get the selected value from the QCStatusHeader dropdownlist into my update call to the controller?
Thanks.
Spirent
Top achievements
Rank 1
 answered on 13 Aug 2014
3 answers
134 views
Hello,

I have just started using Kendo UI. I have data access function in class file. I want to give data source = function in class file which is returning a data table. I also want to call add, delete and exit functions in class file from javascript. An example about this would be extremely helpful
Atanas Korchev
Telerik team
 answered on 13 Aug 2014
5 answers
179 views
I created a stock chart with 2 panes.
I added major grid lines to both category axis, but it is visible only in one the upper pane.
Only when I comment out the upper pane  majorGridLines property, i see the grid lines in the lower pane.
T. Tsonev
Telerik team
 answered on 13 Aug 2014
1 answer
134 views
I was hoping to detect whether ctrlKey was pressed from the event object passed to the onSelect event, but I can't find it anywhere.
Is it being stripped on purpose or is it hiding somewhere?
Kiril Nikolov
Telerik team
 answered on 13 Aug 2014
1 answer
158 views
Hi,
So I am having this problem while refreshing a bar chart, where if a page has a scrollbar and I am scrolling to the bottom after the chart loaded but before the refresh happens only part of the chart will get updated until hovering over the chart. If I don't scroll, everything works as expected.

I updated the telerik demo to show what happens: http://runner.telerik.io/fullscreen/UQOp

Any ideas why it is doing that? (I am using version 38.0.2120.0 canary (64-bit)) I have also tried the pie chart and it appears to work as expected.

Thanks,
Hristo Germanov
Telerik team
 answered on 13 Aug 2014
2 answers
130 views
Dear experts,

I need to display summary in a Grid, and the details in a treeview, using Ajax.

Please help.

Thanks,
Dmitriy
Dmitriy
Top achievements
Rank 1
 answered on 13 Aug 2014
10 answers
5.4K+ views
Hi,

is it possible to set a fixed row height in grid, and suppress word wrapping / multi line, so that
each row has the same hight.

I have seen some examples to solve it like

.k-grid table {
    table-layout: fixed;
}

but doesn't really work.

Thanks
Thomas

Iliana Dyankova
Telerik team
 answered on 13 Aug 2014
1 answer
1.1K+ views
I have a drop down list using remote data with autoBind set to false.  I can set the initial value and text for the drop down using the value and text properties just fine:

ddlBuilding = $("#ddlBuilding").kendoDropDownList({
    width: 400,
    height: 250,
    dataTextField: "Description",
    dataValueField: "Code",
    value: myBuilding.Code,
    text: myBuilding.Description,
    optionLabel: {
        Description: "",
        Code: ""
    },
    dataSource: {
        transport: {
            read: {
                dataType: 'json',
                url: myServiceUrl
            }
        }
    },
    autoBind: false
}).data("kendoDropDownList");

My issue is that the control does not seem to have a value until the data source is read.  Before the data source is read, $("#ddlBuilding").val() returns NULL and ddlBuilding.value() returns undefined.  Once a user clicks the drop down and the data source is loaded, both of these statements return the proper values.

If a user needs to make changes on a form to other fields, but not to this drop down, how am I to know the proper value if no selection is a valid choice?  Is there a way to tell if the data source for the control has been read or not?
Kiril Nikolov
Telerik team
 answered on 13 Aug 2014
7 answers
432 views
Hi,
I 've some problems to use the progress in IE 11. If i do:
​<body>
<
div id="toto" style="width:150px;height:150px;background-color:pink"></div>​
</
body>
​<
script
kendo.ui.progress($("#toto"), true);​
</
script>
i can see some k-loading nodes added to the dom but nothing is visible.
Example

Thanks
- Ced -
Cedric
Top achievements
Rank 1
 answered on 13 Aug 2014
1 answer
116 views
Hello,

I had a quick search through the forum for this issue but haven't found anything to the effect... When using inline editor, if the editable box is right at the top of the page, the tools menu (which is always displayed above) is actually displayed off-screen. You can see this issue by clicking on "Edit this example" from here: http://demos.telerik.com/kendo-ui/editor/all-tools

Shouldn't the menu location be more intelligent, i.e. detect if it's being displayed off-screen and adjust the position to being below, or even over the top (since you can move the bar anyway)?

Many thanks
Kiril Nikolov
Telerik team
 answered on 13 Aug 2014
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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?