Telerik Forums
Kendo UI for jQuery Forum
2 answers
103 views
We have found a potential issue where suggestions change the letters you have typed into a combobox when you use filter: "contains" and suggest: true.

We think that when the filter is set to "contains", suggestions should still use a "startswith" pattern, except for when there is only one match 

A few test cases that can be tried at http://jsfiddle.net/AuSWr/ :

  1. If you type "ani", the suggestion will be "Alanis Morissette: Jagged Little Pill, Live" instead of "Animal Farm". This changes the three letters you've typed to "Ala". If you were to then continue typing the rest of the world "animal" for example, you end up with "Alamal" as your first three letters of "ani" have been replaced with "Ala".
  2. A similar result can be seen with the word "Shallow". We think this should not make a suggestion as there are no titles starting with "Shallow" but as the filter is set to "contains" you should still see these matches in the drop down list.
  3. If there is only one match, eg "Shallows" (matches with "Saltwater Experience: Sharks in the Shallows") then it makes sense to suggest this.
We think it should possibly be changed to operate like this or perhaps filter: "contains" and suggest: true are incompatible?

Cheers
JT
Top achievements
Rank 1
 answered on 23 Dec 2011
4 answers
152 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
423 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
126 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
805 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
109 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
372 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
295 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
253 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
410 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
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
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
Licensing
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
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?