Telerik Forums
Kendo UI for jQuery Forum
3 answers
235 views
I know this should be easy, but I'm having a hell of a time trying to get my remote data source working with templates. Can you give a quick example of how to bind a json datasource to a template (not inline)? Thanks!

I've tried all of the demos online, but none seem to work as I'd expect.
d2uX
Top achievements
Rank 1
 answered on 28 Aug 2012
0 answers
99 views
Hi kendo,

How to bind data  to grid control in server side . My application is not an MVC arch . We are using asp.net webforms .
I need to call WCF with input paramters .
 Samle code of calling service .
yantraClient.PoolSchedule(ref serviceIdentityContract, ref poolScheduleContract, out serviceErrorContract);


How to implement the above calling method .Please Reply ASAP.


Thanks,
Nawaz




Randhir
Top achievements
Rank 1
 asked on 28 Aug 2012
0 answers
154 views
Hi,

I am trying to keep the checkboxes from the grid using a temporary buffer in javaScript,  like the Rosen example in the link:

http://www.kendoui.com/forums/ui/grid/grid-editing-issue-with-template-columns.aspx

But I am using Kendo MVC UI, with HTML Helpers, instead of pure HTML.
The problem is that the data-uid changes each time I change from page 1 to page n, and later on come back to page 1.
The data-uid is changing each time I change the page and come back to the same page, is there a way to make it fix ?

Best Regards,
Tito Morais
Tito
Top achievements
Rank 1
 asked on 28 Aug 2012
1 answer
227 views
Hi

I have a simple razor page using the Listview

   @(Html.Kendo().ListView<MVCTicketSystem.ViewModels.TicketDetail>(Model)
          .Name("listView")
          .TagName("div")
          .ClientTemplateId("list-view-template")          
          .DataSource(dataSource => dataSource
                                        .Model(model => model.Id("TicketEntryId"))                                        
                                        .PageSize(5)                                        
                                        .Create(create => create.Action("TicketDetail_Create", "Ticket").Data("TicketInfo"))
                                        .Read(read => read.Action("TicketDetail_Read", "Ticket").Data("TicketInfo"))
                                        .Update(update => update.Action("TicketDetail_Update", "Ticket"))
                                        .Destroy(destroy => destroy.Action("TicketDetail_Destroy", "Ticket"))                                        
                                        .Sort(f=>f.Add(p=>p.DetailDate).Descending())                                                                                                        
          )
          .Pageable()          
          .Editable())

The Create method works but the object is partially populated at the server side and I need to visualize this data when the object is added to the list. So I need to either trigger a refresh of the current page or of the added object or something simular after the create.

I've searched the forum but can't find an answer to this problem which is strange as I guess everyone needs this kind of behavior.

best regards
Petur Subev
Telerik team
 answered on 28 Aug 2012
4 answers
2.1K+ views
Hi I've got a grid and one of the columns is bound ta boolean value. I would like to format it to something else other than true and false (On / Off for instance), and i realize I don't know how to do that. With a format field inside the columns property? How would such a format look like? Thanks in advance!
Iliana Dyankova
Telerik team
 answered on 28 Aug 2012
0 answers
79 views

@

 

using Kendo.Mvc.UI

 

@

 

using Kendo.Mvc.UI.Fluent

 

@

 

using SpineWMS.Domain

 

@model

 

IList<SpineMenu>

 

 

@(Html.Kendo().TreeView()

.Name(

 

"Outline")

 

.BindTo(Model, (

 

NavigationBindingFactory<TreeViewItem> mappings) =>

 

{

mappings.For<

 

SpineMenu>(binding => binding

 

.ItemDataBound((item, layer) =>

{

item.Text = layer.MenuText.ToString();

 

 

}

));

 

}

 

)

)

 
Why above code is giving error "Object reference not set to an instance of an object."

in _Layout.cshtml

 

<

 

 

li>@{this.Html.RenderPartial("~/Views/Menu/Index.cshtml");}</li>

 

Abdul Batin
Top achievements
Rank 1
 asked on 28 Aug 2012
0 answers
60 views
Hi,
I  using tabstrip and create form to get data in tabstrip,I found this problem!!

after I submit form button to get data but require validationMessage dosn't show alert message

can I fix this Problem,Thankyou
Nanthaphol
Top achievements
Rank 1
 asked on 28 Aug 2012
0 answers
99 views
I defined a panelbar on left and a grid right.
and I expand the panelbar,the grid's toolbar expand the same time.Is this the css problem?
I repeat it on jsFiddle http://jsfiddle.net/9Aj9E/4/  
tan
Top achievements
Rank 1
 asked on 28 Aug 2012
2 answers
724 views
My result is a JSON object that looks like: 

[{"pk": 1, "model": "adr.country", "fields": {"codetxt": "RUS", "codeint": 643, "name": "\u0420\u043e\u0441\u0441\u0438\u044f"}}, {"pk": 2, "model": "adr.country", "fields": {"codetxt": "UKR", "codeint": 443, "name": "\u0423\u043a\u0440\u0430\u0438\u043d\u0430"}}, {"pk": 3, "model": "adr.country", "fields": {"codetxt": "BLR", "codeint": 523, "name": "\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c"}}]

My code:

$("#country").kendoComboBox({
                    placeholder: "Выберите страну...",
                    dataTextField: "codetxt", //not working
                    dataValueField: "codeint ", //not working
                    dataSource: {
                        serverFiltering: true,
                        type: "json",
                        transport: {
                            read: "http://localhost:8001/countries/"
                         }
                    }
                });

How can i get data in  kendoComboBox ?
Thanks! 

Phil
Top achievements
Rank 2
 answered on 28 Aug 2012
0 answers
75 views
Hi,

Is there a way to set read only on a per row basis?

We are using batch editing similar to this demo:

http://demos.kendoui.com/web/grid/editing.html 

We would like to add custom locking/unlocking of rows so that rows are only editable once they have been unlocked.

Thank you

Chris
Christopher
Top achievements
Rank 1
 asked on 28 Aug 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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?