Telerik Forums
Kendo UI for jQuery Forum
2 answers
72 views
For example - a grid 
    @(Html.Kendo().Grid<CustomerModel>()
          .Name("ExampleGrid")
          .Pageable()
          .Sortable()
          .Groupable()
          .Resizable(resize => resize.Columns(true))
          .Reorderable(reorder => reorder.Columns(true))
          .Columns(columns =>
              {
                  columns.Bound(c => c.Name);
                  columns.Bound(c => c.System).Width(190);
                  columns.Bound(c => c.Principal).Width(190);
              })
          .DataSource(s => s
              .Ajax().Read(r => r.Action("GetContacts", "Example"))
              .PageSize(15))
          )   

is filled with data and then you want to - from the client JS - call READ so that the data is refreshed, but you want to send some parameters to the controller.

I've searched the web and and the best I can find is:
        var $grid = $("#ExampleGrid").data("kendoGrid");
        $grid.dataSource.read.data = viewModel;
        $grid.dataSource.read();

but, even though data is set to the correct object, the object is never sent to the server (confirmed by IE F12 Developer tools Network sniffer)

So, how do you send data back to the server when you tell the grid to read?
Lee Saunders
Top achievements
Rank 1
 answered on 25 Feb 2014
2 answers
160 views
As anybody run into a problem using a resource with a Guid as an ID. Tired following and it just doesn't work. No updates or inserts are saved.

.Resources(resource =>
            {
                resource.Add(m => m.ID)
                    .Title("Teacher")

                    .DataTextField("Text")
                    .DataValueField("Value")
                    .DataColorField("Color")
                    .BindTo(new[] { 
        new { Text = "Alex", Value = "6F727774-330A-8504-EF07-04B9FBA7FFBF", Color = "#f8a398" } ,
        new { Text = "Bob", Value = "0C47060A-6C5F-4E84-77B1-129F0AD3EFCE", Color = "#51a0ed" } ,
        new { Text = "Charlie", Value = "08254AAF-373D-EC35-167C-28EE79B01F53", Color = "#56ca85" } 
    });
            })
Brian
Top achievements
Rank 2
 answered on 25 Feb 2014
2 answers
487 views
Hi,

Here is attached the area line I must design. I've been able to add the top solid line without any issue, however I struggle to add the subtle gradient as a filler. Is this possible?

Thanks
Michaël
Top achievements
Rank 1
 answered on 25 Feb 2014
3 answers
288 views
Hi,
using KendoUI Web with the Kendogrid control, i need to center the editform in popup edit mode. I am able only change the title, the witdh.
How can i do it ?
Moreover i've seen that when i change the width of the popup, the inside container does't span the new popup area size, because a css class k-edit-form-container is alaways applied with a fix width of 400px. How can i fix it ?
Antonio
Top achievements
Rank 1
 answered on 25 Feb 2014
1 answer
360 views
Hi,

We are trying to create the Pie chart:

I have few queries about it:

1) We want to set Series Label background color
same as series color. Is it possible with Kendo Chart?

2) I want to set the Series Label text from the
value of one of the Property ( say LabelText) of data which I am binding to chart.
Is it possible? How can I do that?

3) Change the color of line joining the series and series
label, same as that of series color

Please see the sample chart which we are drawing
in Silverlight using Telerik Radchart.

Regards,
Prashant gham
Iliana Dyankova
Telerik team
 answered on 25 Feb 2014
1 answer
124 views
Hi I am using Kendo Grid with autorefresh each 5 seconds, The problem is that after refresh when table is rebuild, selection of the row is lost and restoration is visible, what I mean is I can see blinking of selection during data update.In telerik extension there was an event OnRowDataBinding wich was triggerd after each row data binding and we could restore selection very nice, but here is only event DataBound and Kendo says to loop throu all items but because of that selection restoration is very visible and it looks terrible. What I could do ?function onParkedOrderGridDataBound(e) {

var data = this.dataSource.view();
var dataItem = data[0];
var tr = $parkedOrderGrid.find("[data-uid='" + dataItem.uid + "']");
AcceleratorDealingUiKendoGridCheckBoxSelector.MarkRowAsSelected(tr, true);
var $row = $(tr);
$row.addClass("k-state-selected");
}
Dimo
Telerik team
 answered on 25 Feb 2014
3 answers
86 views
I have a simple mobile form using listview that works fine in safari. When pinning the app to the home screen the listview is pushed up by the keyboard and you cannot get to the input fields.

I have installed 2013.3.1414.

Thanks,
Richard
Kiril Nikolov
Telerik team
 answered on 25 Feb 2014
2 answers
133 views
For the navbar if the title is very long it goes over the top of the back button shown on the left. How would I go about padding the title so that it wordwraps rather than going over the back button?

I've tried some style settings with out any success.

<header data-role="header">
<div data-role="navbar">
<span data-role="view-title"></span>
</div>
</header>

Thanks
Keith Avery
Keith Avery
Top achievements
Rank 1
 answered on 25 Feb 2014
1 answer
768 views
I am attempting to use a ListView to create a simple discussion board style capability. So far, so good except for one nagging problem. I can't figure out how to get a new item to appear in edit mode at the bottom/end of the list. The documentation says that .add() adds the item as the first item. I've found some reference to using the data source to add an item at the end, but even if I do that it still seems to add at the top and doesn't go into edit mode anyway.

Is there any way to accomplish this?
Nikolay Rusev
Telerik team
 answered on 25 Feb 2014
1 answer
104 views
Hello,

I want to use a DataViz Chart (line chart or area chart) to display chronological data. It is necessary that the category axis covers a month from the beginning to the end. The baseUnit property will be set to "days".

The current month causes a problem: My application does not calculate any values in advance. Therefore, the chart hides all categories for dates in the future.

Is it possible to avoid this adjustment?
Iliana Dyankova
Telerik team
 answered on 25 Feb 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
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
ScrollView
Switch
BulletChart
Licensing
QRCode
ResponsivePanel
TextArea
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?