Telerik Forums
Kendo UI for jQuery Forum
1 answer
111 views
I have a scenario where i need my calendar to be full screen. Currently there are only 2 letters that represent the day of the week. Is there a nice way to change these to be representative of the full name?
Dimo
Telerik team
 answered on 09 Jul 2012
3 answers
198 views
Is there any way to do this? Thanks very much!
Dimo
Telerik team
 answered on 09 Jul 2012
1 answer
123 views
I have a database table where the primary key is a combination of several fields:

Field1, Field2, Field3

If it was just one field (Field1) I could use 

.DataSource(dataSource => dataSource
,Server()
.Model(model => model.Id(p => p.Field1))
)

but how do I set the datakeys/model id when there are several fields?

(If I set the grid to be .Selectable and if I don't set the model id, I get an error message saying that the DataKeys aren't set.)

Thanks.
Petur Subev
Telerik team
 answered on 09 Jul 2012
3 answers
642 views
We are using a DataSource for a search result. When there are rows returned, we display a template in a ListView. When there is no data returned from the search we'd like to indicate 'No records to display' similar to the RadGrid setting.

What is the best way to do this? We can return 'No records to display' in the json response but it will not fit well into our template.
Robert
Top achievements
Rank 1
 answered on 09 Jul 2012
1 answer
83 views
I see documentation and example of hash navigation and views in Kendo UI Mobile but not for Web version. Are they available for the web version? Does mobile documentation apply to the web version as well or is it something entirely different? Thanks in advance.
Iliana Dyankova
Telerik team
 answered on 09 Jul 2012
4 answers
106 views
Is there a way of retrieving the configuration from a radial gauge? For example, a get function or similar property.
Deryk Robosson
Top achievements
Rank 1
 answered on 09 Jul 2012
0 answers
119 views
I'd like to do a custom operation when a specific tabs is selected, actually after the tab loads (or activates) would be best. Is there an example of tab strip events for mobile?
Chad
Top achievements
Rank 1
 asked on 09 Jul 2012
0 answers
92 views
hi all:
im use grid,config 
                   groupable: true,
                    scrollable:true,
                    sortable: true,
                    pageable: true
i hope in server paging,not in clientpaging,if my ds have 50000pages,if in client paging,need long time or browser no response,pls help me,i want in server paging,thanks.

Seaman
Top achievements
Rank 1
 asked on 09 Jul 2012
0 answers
181 views
Hi,
I have a model call Route, and in its create page there are multiple inputs to fill in and there are two grids, one is the available locations and the other is the selected locations, and user can move rows from one to another.

Now, I need to have the list of selected locations when handling create action in the controller. My question is, when a user clicks Save button, is there a way to bind the list of selected locations to a property in Route model (SelectedLocations which is
list of locations), or is it possible to post the datasource of the selected locations grid along with the rest of input fields?

I know the other way around, which is using jquery to create a string containing the selected locations ids and bind that string to some property in Route model, but I was wondering if KendoUI could post back the whole list.

Here is the empty selected location grid: 
@( Html.Kendo().Grid<Location>()
      .Name("selectedLocations")
      .BindTo((IEnumerable<Location>)ViewBag.Route.SelectedLocations)
      .Columns(columns =>
       {
              columns.Bound(p => p.Id).Title("ID");
              columns.Bound(p => p.StopLocation).Title("Stop Location");
       })
       .Selectable(s => s.Mode(GridSelectionMode.Single))
       .DataSource(dataSource => dataSource.Server().Model(model => model.Id(p => p.Id)))
       )

And here is how I move items from the available to the selected location grid:

$("#addStopBtn").click(function () {
        var sourceGrid = $('#availableLocations').data('kendoGrid');
        var destinationGrid = $('#selectedLocations').data('kendoGrid');
        sourceGrid.select().each(function (e) {
            var dataItem = sourceGrid.dataItem($(this));
            destinationGrid.dataSource.add(dataItem);
            sourceGrid.dataSource.remove(dataItem);
        });
 
        sourceGrid.refresh();
        destinationGrid.refresh();
    });

Thanks in advance.
Michel
Top achievements
Rank 1
 asked on 09 Jul 2012
0 answers
88 views

Requirements

Kendo UI Suite and Version


jQuery Version


Supported Browsers and Platforms


Components/Widgets used 



PROJECT DESCRIPTION 
[When running the project, with the connectionstring as it is in the web.config, no data is ever displayed from the grid. The Northwind db is in the App_Data folder, but nothing happens.

<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="Northwind" connectionString="metadata=res://*/App_Code.Northwind.csdl|res://*/App_Code.Northwind.ssdl|res://*/App_Code.Northwind.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\SQLEXPRESS;attachdbfilename=|DataDirectory|\Northwind.mdf;integrated security=True;user instance=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>

]
Bill
Top achievements
Rank 2
 asked on 08 Jul 2012
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?