Telerik Forums
Kendo UI for jQuery Forum
2 answers
405 views
I'm using the editor for a field that can be posted to the server.

                    @( Html.Kendo().EditorFor(model => model.TickerContent)
                           .Name("TickerContent")
                           .Encode(true)
                           .HtmlAttributes(new { style = "width:100%;height:440px" }))

On the same page as the form I have a list of items that I want to be able to edit, so I need to set the value of the editor. The demo code uses the following code to get and set the value of the editor:

<script>
    $(document).ready(function () {
        var editor = $("#Editor").data("kendoEditor");

        var setValue = function () {
            editor.value($("#value").val());
        };

        $("#get").click(function () {
            alert(editor.value());
        });

        $("#set").click(setValue);
    });
</script>

The value of variable editor is always undefined. My question is how can I get and set the editor value?

I tried var editor = $("#TickerContent").data("kendoEditor"); but the editor is still undefined.
Ryan
Top achievements
Rank 1
 answered on 23 Apr 2013
1 answer
78 views
Is there a way to get the New Kendo UI Menu to act like the following Telerik->Sitemap Control Sample
http://demos.telerik.com/aspnet-ajax/sitemap/examples/flow/defaultcs.aspx

I would like an Expaded Sitemap Menu Style to be placed on my website.

Much like the Telerik SiteMap -> Flow or SiteMap - Multiple Columns examples.

thanks

Larry
Alexander Valchev
Telerik team
 answered on 23 Apr 2013
1 answer
69 views

I want to achieve a result:    when i have many rows to show in the grid ,  if  the first colmun content of each row is the same  i want hide the content except the first coulmn 's 

 when  scrolling,  the first colmun content of the first  row  will  be fixed on it's previous positon  untill  another  column witch is unsame comes

just like the address book of iphone 

sorry  my  english is so poor .....  any suggestions?

Dimiter Madjarov
Telerik team
 answered on 23 Apr 2013
1 answer
423 views
Hi,

I have a scenario where I am trying to capture the enter key and trigger a bound click event for a view model.  The javascript is as follows:
$form.on("keydown", function (e) {
        if (e.keyCode == 13) {
            $("#mybutton").trigger("click");
             
        }
    });
and  mybutton is bound as such:
data-bind="click: AddPerson"
and the view model has a property named "AddPerson" that works fine when clicking the button, but does not work when issuing a jquery trigger("click")

Any ideas?

Thanks,
David A.


Alexander Valchev
Telerik team
 answered on 23 Apr 2013
1 answer
171 views
Is it possible to define a DataSource via a server wrapper and share it between Kendo controls, all via the server wrapper API for ASP.NET MVC?
Alexander Valchev
Telerik team
 answered on 23 Apr 2013
0 answers
90 views
How an use Push Notifications with Kendo UI Mobile ? I'm devloping an app that should work on IOS / android

Thanks
Aziz
Top achievements
Rank 1
 asked on 23 Apr 2013
2 answers
325 views
I am trying to use the server paging on a Kendo Grid.  However, when I click the a different page the call to the server is made twice.
$("#table").kendoGrid({
dataSource: {
transport: {
read: {
url: "/Analysis/addPortalDatasetstoTable",
data: { dataType: DatasetIdModel.dataType, dimensionsType: DatasetIdModel.dimensionsType, dsId: arr },
type: "POST",
dataType: "json",
traditional: true
}
},

schema: {
data: "data",
total: "total"
},
pageSize: 20,
serverPaging: true
},
height: 430,
filterable: true,
sortable: true,
pageable: true,
columns: [
{ field: "name", title: "Series Name", width: "130px" },
{ field: "category", title: "Category", width: "130px" },
{ field: "value", width: "130px" }
]

});


server call:
public JsonResult addPortalDatasetstoTable(DatasetIdModel model, int pageSize, int skip)
Petur Subev
Telerik team
 answered on 23 Apr 2013
1 answer
101 views

Hi,

I was tryinng use kendo grid and everythying works fine when I include kendo.all.min.js or kendo.web.min.js  in my page but it throws null reference exception when I use kendo.grid.min.js. I am using Jquery 1.9.1 and the latest kendo scripts I recently donwloaded. is there anything I missed?  the issue happens also for Kendo drop down and others too.

Thanks,
Ephrem
Atanas Korchev
Telerik team
 answered on 23 Apr 2013
1 answer
1.5K+ views
Hi, when I delete a row from a grid using a destroy command column, should it filter directly through to the dataSource's destroy transport? or do I have to manually code a remove event handler on the grid?
Alexander Valchev
Telerik team
 answered on 23 Apr 2013
6 answers
993 views
Hi,

I run into some problem with validator control from Kendo. I use one form in dialog Window for adding and editing existing data. This form validates just fine, but since I use it more than once with various data I have to somehow clear validation messages for each new instance of editing window.

It would be really nice to have a function like clearMessages()
Right now I overcame this issue by taking validation messages into seperate <span> object and modyfing their HTML with jQuery.
Rosen
Telerik team
 answered on 23 Apr 2013
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
Styling
ColorPicker
Pager
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?