Telerik Forums
Kendo UI for jQuery Forum
1 answer
280 views
I have a problem and I can't figure out how to solve.

1.  I'd like to present a list of records, grouped by a single column and the default (initial) presentation to the user should have the group collapsed, hiding the detail records for the user.  (I think we've got this one figured out).

2.  in addition to 1 above, I would like to apply the grouping on the server side before the Page size is applied.  The end result being if we have a Page Size of 10, we will show 10 groups, collapsed, regardless of how many detail records there are.  Basically set the paging on the grouping not the total number of detail records.

Any thoughts on how to accomplish this will be greatly appreciated.

 
Alexander Popov
Telerik team
 answered on 10 Jun 2014
1 answer
376 views
how to save kendo grid data to database using stored procedure in web based application using javascript? 
Alexander Popov
Telerik team
 answered on 10 Jun 2014
6 answers
186 views
hi,
I want to define in a mobile page 3 kendoMobileListView. 2 of them are regular list and the last one is endlessScroll listview.
the regular lists are shown but the endlessScroll listview is not shown
is it possible to define them in one page?
Ofer
Top achievements
Rank 1
 answered on 10 Jun 2014
1 answer
77 views
Hi,
Please, check my code here:
http://trykendoui.telerik.com/Ipij/12

I try add on template variable <div>#=ds# </div> in function
 function change(e) {
   ds = e.page; }
But i see 0 on (0-2) pages and only 3 page variable chache

Can anyone help me?
Petyo
Telerik team
 answered on 10 Jun 2014
1 answer
120 views
Hello there.

I'm working in an implementation using SignalR and the Kendo Scheduler. When a new task is created (for exemple), the SchedulerDataSource transport send the connection hub id to the server as an additional parameter:

parameterMap: function (options, operation) {
   if (operation == "destroy" && options.models) {
      return JSON.stringify({ taskId: options.models[0].Id, callerId: $.connection.hub.id });
   }
   if (operation !== "read" && options.models) {
      return JSON.stringify({ tasks: options.models, callerId: $.connection.hub.id });
   }
}

The server do whatever it has to do, and send a notification to every other user, except de caller:

[HttpPost]
public JsonResult CreateTask(List<ScheduledEvent> tasks, string callerId)
{
   ...create task and other stuff

   //broadcast the newly created object to everyone except caller
   var hubContext = GlobalHost.ConnectionManager.GetHubContext<Notebooks.Hubs.SchedulerHub>();
   hubContext.Clients.AllExcept(callerId).UpdateSchedule(task);

   //return the object to caller
   return Json(task);
}

Once the other clients receive a new task from the hub, it is added to the SchedulerDataSource:

hub.client.updateSchedule = function (scheduledEvent) {
   schedulerDataSource.add(scheduledEvent);
}

Everything seems to work fine, and it really took me some time to realize this behavior: if a client have the scheduler window open, this window is closed once the schedulerDataSource is updated. This is expected or am I doing something wrong?
Vladimir Iliev
Telerik team
 answered on 10 Jun 2014
1 answer
584 views
Hi, 

I want to send data from the Kendo Grid to a database. however, i dont want to send it directly, i want it to go through a c# method I have, before sending. 

I got it to the point where it calls the c# code inside of the controller. However, it isn't sending the data I have synced to the button.

here's the code.
@(Html.Kendo().Button()
        .Name("SentItems")
        .Content("Send Products")
        .Events(e => e.Click("SendData")))
 
 
function SendData()
    {
        alert('Sending Data');
        var gridData = $("#PLAGridMain").data("kendoGrid");
        var text = "Object properties are: ";
 
        $.ajax({
            url: '/Home/sendRows',
            cache: false,
            type: 'POST',
            contentType: 'application/json; charset=utf-8',
            data: JSON.stringify($("#PLAGridMain").data("kendoGrid").dataSource),
 
            complete: function()
        {
                alert("success: ");
        }
        })
    }
 
 
 
C# in HomeController:
 
[HttpPost]
        public void sendRows(Grid<string>)
        {
            //[DataSourceRequest] DataSourceRequest dataSourceRequest
            //send each row to the google MCC.
            string PLA = string.Empty;
        }
Alexander Popov
Telerik team
 answered on 10 Jun 2014
3 answers
83 views
Today after upgrading to 2014.1.528 I noticed my layouts (headers) keep disappearing from views while navigating.
It seems to happen only when I'm using slide transition as default for the whole app. 
It never happened before and I didn't change a thing to my code.
Here's an example:
http://jsbin.com/cipib/11/edit
Kiril Nikolov
Telerik team
 answered on 10 Jun 2014
1 answer
214 views
Hi,

Is there a way to export the diagram to a PNG/JPG file?

Thank you!
Hristo Germanov
Telerik team
 answered on 10 Jun 2014
1 answer
205 views
Hi,

We have a new requirement to cover in similar lines with the following link
http://jsfiddle.net/Rq7FH/

The Check All should be a button and should not have a check box. On clicking Check All, we should select all the items. The same item of the drop down should also show a button 'Done' on the right side to close the user selection.

Let me know if this can be achieved.
Dimiter Madjarov
Telerik team
 answered on 10 Jun 2014
3 answers
303 views
Hi All:

I would like to display combobox/dropdownlist with multiple rows.  
<input id="combobox" />
<script>
    $("#combobox").kendoComboBox({
        dataSource: [
          { id: 1, name: "Apples" },
          { id: 2, name: "Oranges" },
          { id: 3, name: "Grapes" },
          { id: 4, name: "Bananas" }
        ],
        dataTextField: "name",
        dataValueField: "id"
    });
</script>
I would like it to display as follows:
+--------------+
| Apples       |
| Oranges      |
| Grapes       |
| Bananas      |
+--------------+
This is being used as a navigation control on the left side of the form.

Phil

Kiril Nikolov
Telerik team
 answered on 10 Jun 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
Drag and Drop
Application
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
DropDownTree
ListBox
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
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?