Telerik Forums
Kendo UI for jQuery Forum
4 answers
138 views
Can the chart ui be made to show two different units on the y axis? For example on the left y axis it could show 0-100% and the right y axis shows 0-350kw.
Troy
Top achievements
Rank 2
 answered on 22 Dec 2011
2 answers
367 views
I want to show dropdownlist in grid, could you tell me how it is posssible?
Leo
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
96 views

I am posting this, because I might not be the only one who will come accross this situation.  I finished creating a form using the Kendo widgets and was testing it out by having the form submit to a traditional asp.net webpage.  I forget sometimes as a .Net developer that Microsoft handles a lot of things for us in the background.   Mostly because there is only one form allowed in a traditional .net webform page.  I recently moved to MVC.Net and love the fact that I can now have multiple forms with different actions.  I submitted my form and found no data in querystring or params for both methods.  I fixed the situation by adding a name element to my inputs.

If you are only accustomed to traditional Asp.net, as I was, you might not realize that you require a name element in your HTML inputs when submitting data to a webform page.  All of the Examples provided by the Kendo UI team are only providing the id element.  If you plan to use Kendo UI with traditional web forms coming from an HTML forms post to collect the data, remember to add the name element.  If you don't, you will find none of your data on the submit action. 


<input
class="OriginInput" style="width: 275px;" id="ORIGIN" name="ORIGIN"/>

I hope this helps someone else.

Cheers,
       Paul
Dimo
Telerik team
 answered on 22 Dec 2011
10 answers
782 views
Hi,

I've created one template and assign datasource to that template but data is not showing on webpage.
Following is my code:

 <script id="template" type="text/x-kendo-template">
            <div class="categoryBox">
                <div>
                    <strong>
                        #= categoryName #
                    </strong>                    
                    <a class="box-link" href="http://www.google.co.in">
                        Read More
                    </a>
                </div>
            </div>
            </script>
            <script type="text/javascript">
                $(document).ready(function () {

                    var template = kendo.template($("#template").html());
                    var category = [
                        { "categoryName": "Category1" },
                        { "categoryName": "Category2" },
                        { "categoryName": "Category3" },
                        { "categoryName": "Category4" },
                        { "categoryName": "Category5" },
                        { "categoryName": "Category6" }
                        ];

                    var dataSource = new kendo.data.DataSource({ data: category });

                    // read data from the remote service
                    dataSource.read();
                });
            </script>

Kind Regards,
Mangesh
Mangesh
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
94 views
The Kendo UI introduction page shows the script to add to your header;
 <!--Then paste the following for Kendo scripts-->
   
<script src="jquery-1.6.2.min.js" type="text/javascript"></script>
   
<script src="kendo.all.min.js" type="text/javascript"></script>

but these scripts are not included in the source download. It actually contains;
jquery.min.js
kendo.all.js
Kamen Bundev
Telerik team
 answered on 22 Dec 2011
1 answer
355 views

I wanted to find out what is the best practice for showing menu in the application if we are using KendoUI. Whether it should be rendered from the server side using <ul> <li> tags or whether we should add dynamically using a web-service.

I prepared a blog post with an example of how I did this but I am not too sure if this would be the recommended way going forward. -  http://piyushbhatt.blogspot.com/2011/12/kendoui-adding-menu-using-web-service.html 

Overall - I think we would need the functions in kendoUI objects' such a way that developer should not have to use selectors (like "li:last" or "li:first") etc and can work with the objects and methods only. 

Again this is not direct question per say - but to know your thoughts on best practices and how you think people will be using various widgets in large applications.
Kamen Bundev
Telerik team
 answered on 22 Dec 2011
8 answers
248 views
Hi
I can't get the NumericTextBox to work in my MVC project.
When I increase or decrease the number, the field loose its focus and show the formattet result.
It seams that the problem is the absolute reference with the css and js files. When I test the code in a local directory with relative references to css and js, everything works. But not from my MVC project.
I have tried the MVC extensions from codeplex.com, and it seams that they also have the same problem.
Any help?
Allan
TazDeveloper
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
228 views

Could you please set me straight?  I am initializing and kendo combobox with a simple call to kendoComboBox() which is causing it to load it's list from the select list that is rendered in html output which is great.  I then come along later and trigger a refresh of that list via the following function based on the selection of another combobox...
IIHS.EditPlanningVehicle.RefreshSeries = function (planningYear, makeName) {
    //Load a new list of options for vehicle definitions
    $.getJSON($("#mainForm #LoadNewListFormat").val().replace("makeName", makeName).replace("planningYear", planningYear),
        function (data) {
            $("#SourceVehicleVariantsId").kendoComboBox(data);
        });
};

This works mostly, but ends up creating a second dropdown element when clicking on the dropdown button for the combobox.  Is there a better way I can assign a new list to the dropdown, or do I need to switch to using dataSources?

Thanks.






Petyo
Telerik team
 answered on 22 Dec 2011
4 answers
374 views
I have a modal window containing several anchors. After clicking one of the anchors I need the new content to display in the existing modal window. I have tried several known methods to make this work, but all result in the creation of a new window - as if the target had been set to _top rather than _self. Any guidance is appreciated.
Chris
Top achievements
Rank 1
 answered on 21 Dec 2011
0 answers
166 views
I modified the “Detail Grid” which can be found here:


To use this example with a couple of Java actions instead of the RSS feed. However, I'm having problems filtering the detail data because of the fact that I’m omitting the type: "odata" in my HTML.



So, the original Employees data source looked like this:

dataSource: {
    type: "odata",
    transport: {
    },
    pageSize: 5,
    serverPaging: true,
    serverSorting: true
},




The original Orders data source looked like this:

dataSource: {
    type: "odata",
    transport: {
    },
    serverPaging: true,
    serverSorting: true,
    serverFiltering: true,
    pageSize:6,
    filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }
},




The modified Employees data source looks like this:

dataSource: {
    transport: {
        read:  {
            url: "/site/GetEmployee.action",
            dataType: "json",
        },
    },
    pageSize: 5,
    serverPaging: true,
    serverSorting: true
},




The modified Orders data source looks like this:

dataSource: {
    transport: {
        read:  {
            url: "/site/GetOrders.action",
            dataType: "json",
        },
    },
    serverPaging: true,
    serverSorting: true,
    serverFiltering: true,
    pageSize:6,
    filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }
},


You’ll notice that I had to make the change to: dataType: "json", in order for this example to work.

Also, if you look inside “kendo.all.js”, you’ll notice that “filter: { }” will only work with “odata”.

Now, any ideas how I can get my sample to work with filtering?
Leo
Top achievements
Rank 1
 asked on 21 Dec 2011
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
TextArea
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
+? 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?