Telerik Forums
Kendo UI for jQuery Forum
1 answer
128 views
I saved the Grid edit demo to a new directory and updated the links and it worked fine.
Then I want to change the data path to the same file on my site so I copied the text from the link
http://demos.kendoui.com/service and saved it as Products.jsonp

Both files are in the example directory and it will not bind the data even after I changed the read: path
to match where  I put Products.jsonp (not sure about the directory structues if any are required).

It would be great to get a feel for the grid edit component if anybody can help please.

Here's the code I have:

                $(document).ready(function () {
                    var crudServiceBaseUrl = "http://mydot.com/KendoUI/examples", //(This is where my files are now)
                        dataSource = new kendo.data.DataSource({
                            transport: {
                                read:  {
                                    url: crudServiceBaseUrl + "/Products",
                                    dataType: "jsonp"
                                },
                                update: {
                                    url: crudServiceBaseUrl + "/Products/Update",
                                    dataType: "jsonp"
                                },
                                destroy: {
                                    url: crudServiceBaseUrl + "/Products/Destroy",
                                    dataType: "jsonp"
                                },
                                create: {
                                    url: crudServiceBaseUrl + "/Products/Create",
                                    dataType: "jsonp"


Why does this data not bind? Can anybody help?

Thank you...
Pedro
Top achievements
Rank 2
 answered on 10 Jan 2012
0 answers
147 views
Hi,

Is it possible to add runat="sever" to main UL of Treeview to bind it with ASP .net 4.0?

Or

How can i control tree view events (i.e. onclick etc) using ASP.net functions?

<ul id="treeview" runat="server">
<li>Item1</li>
<li>Item2</li> 
</ul>

Something like above code.

Please suggest.

Thanks
pratikshah91
pratik
Top achievements
Rank 1
 asked on 10 Jan 2012
1 answer
82 views
Hi all,

I'm having a KUI ComboBox with 4 values and pre-selecting the fourth value by using the "index : 3" property => it works as expected (the fourth value is selected when the page is loaded.

Now, I'm adding the "suggest : true" property => it does not work as expected (the first value is selected instead of the fourth value)

<!DOCTYPE html>
<html>
    <head>
        <link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.common.min.css" rel="stylesheet"/>
        <link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.default.min.css" rel="stylesheet"/>
        <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
        <script src="http://cdn.kendostatic.com/2011.3.1129/js/kendo.all.min.js"></script>
    </head>
    <body>
 
            <input id="input" />
 
            <script>
               $(document).ready(function() {
                    // create ComboBox from input HTML element
                    $("#input").kendoComboBox({
            dataSource:[
                            { text: "Cotton", value: "1" },
                            { text: "Polyester", value: "2" },
                            { text: "Cotton/Polyester", value: "3" },
                            { text: "Rib Knit", value: "4" }],
            suggest:true,
            index:3
            });
                });
 
            </script>
        </div>
    </body>
</html>

Is it the desired behavior to have "suggest : true" to override the "index" property ?

Thanks,

Julien
Georgi Krustev
Telerik team
 answered on 10 Jan 2012
0 answers
70 views
Grid focus is not rectangled shaped.
Can this be fixed?
Screenshot is attached.
Jadranko Dragoje
Top achievements
Rank 1
 asked on 10 Jan 2012
0 answers
126 views
I found the row templates difficult to implement in large grids, in particular with alternate shading. So I came up with some jquery solution. First of all, we need an own style

<style>
.highlight { background:yellow; }
</style>

Then we need a function that is executed inside the document.ready block that will highlight all fields with content "-1".

$(".k-grid-color").bind('click', function () {
$('td').each(function(){
if ($(this).text().indexOf('-1') > -1) {
$(this).toggleClass("highlight");
        }
});
});

And we need a nice button, to switch on the light

{ text: "Color", className: "k-grid-color"}

Maybe that is of use also for some more coders.
underscore
Top achievements
Rank 1
 asked on 10 Jan 2012
5 answers
170 views
Instead of having the sub-items in the menu control expanding out from the left to the right, I would like them to go from right to left.

How would I accomplish this?
Kamen Bundev
Telerik team
 answered on 10 Jan 2012
0 answers
212 views
This is a Visual Studio 2010 Solution for KendoUI AutoComplete.
Features
  • Separation of Concerns. 
  • Uses Models, Html helpers
  • Separate JavaScript files
  • Demonstrates writing your data provider, with filtering
  • Roughly follows the KendoUI examples, focusing on MVC 3.
  • No Database necessary, all data is hard coded.
  • Round trip of data from Server to Client, post back to Server.
  • Step by Step instructions, with commentary in an included Help file.
  • After first web page, move at a fast clip.

This is a great place for MVC 3 newbies to learn to use the KendoUI toolkit.

Download includes Visual Studio 2010 Solution plus KendoUI Web - AutoComplete Help file.
Note: The contents of the file were entirely created by myself, and are independent of Telerik.

To get AutoComplete.zip,  https://www.mediafire.com/?7ke2r42yv4z0i05
You will see advertisements during the short download.

William
Top achievements
Rank 1
 asked on 10 Jan 2012
1 answer
120 views
Hello,

I am having an odd problem.  I have created a grid and put my data into it, and set the grid to editable.  However, when you click on the grid cells, they blank out and no editor appears.  Yet, if I put other data into the grid (say a twitter feed) the data is editable.  I have created a JSFiddle to show this functionality.  Can anyone help me find the source of my problem?

http://jsfiddle.net/jkappel/njR79/ 

Jay
Top achievements
Rank 2
 answered on 09 Jan 2012
2 answers
225 views
To use the .less output from the ThemeBuilder, the documentation says: "The LESS output of the ThemeBuilder depends on the template.less theme template that is distributed along with the Kendo UI source."

Problem is, no tempate.less file is shipped or any .less file...
Gabriel
Top achievements
Rank 1
 answered on 09 Jan 2012
3 answers
335 views
I am using the splitter with a vertical orientation, and I would like to know if it is possible to set the height of the splitter panes so that their contents are initially shown without a scrollbar?

Thanks,
Gary
Dimo
Telerik team
 answered on 09 Jan 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
Dialog
Chat
DateRangePicker
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?