Telerik Forums
Kendo UI for jQuery Forum
1 answer
106 views
If I don't use a template, the register icon shows correctly.

Here's a fiddle with my issue - http://jsfiddle.net/schapman/VzbaN/ 
Nikolay Rusev
Telerik team
 answered on 11 Sep 2012
1 answer
219 views
Hi,

I have a little problem. It's certainly not difficult but i don't find a solution.
I have a combobox with the list of month. Below this combobox i have a grid whiwh is reading the fetch.php
I would select a month in the combo box and send the value to fetch.php (for an example : janvier -> 1) and the grid would be refreshed with this new parameter.
i tried with  :
<h3>Choisissez le mois</h3>
            <input id="input" placeholder="Select fabric..." />
 
            <button class="k-button" id="valid">Valider</button>
         
            <script>
                $(document).ready(function() {
                    // create ComboBox from input HTML element
                    $("#input").kendoComboBox({
                        dataTextField: "text",
                        dataValueField: "value",
                        dataSource: [
                            { text: "Janvier", value: "1" },
                            { text: "Février", value: "2" },
                            { text: "Mars", value: "3" },
                            { text: "Avril", value: "4" },
                            { text: "Mai", value: "5" },
                            { text: "Juin", value: "6" },
                            { text: "Juillet", value: "7" },
                            { text: "Août", value: "8" },
                            { text: "Septembre", value: "9" },
                            { text: "Octobre", value: "10" },
                            { text: "Novembre", value: "11" },
                            { text: "Décembre", value: "12" }
                        ],
                        filter: "contains",
                        suggest: true,
                        index: 0
                    });
 
                    // create ComboBox from select HTML element
                    $("#select").kendoComboBox();
 
                    var input = $("#input").data("kendoComboBox");
 
                    $("#valid").click(function() {
                        $.get("data/fetch.php", { mois:input.value()} );
                        alert(input.value())   
                        });
                    });
            </script>
alert() is ok but $.get doesn't work. If i wrote the $_GET['mois'] in fetch.php the result is ok.
Thanks a lot for your help
jules
Top achievements
Rank 1
 answered on 11 Sep 2012
0 answers
408 views

::Edited :: Solved by changing  Inherits="System.Web.Mvc.ViewPage<MVC3TelerikDemo.Models.Department>"

To

Inherits="System.Web.Mvc.ViewPage<IEnumerable<MVC3TelerikDemo.Models.Department>>"

Hi,

I am new with Telerik and trying to bind Linq.Table to the Kendo Dropdown. Following is the code.

-------Action Method---------

public ActionResult DropDownList()
{
DepartmentsDataContext context = new DepartmentsDataContext();
return View(context.Departments);

--------View Page--------

<%: Html.Kendo().DropDownList()
.Name("ddlDept")
.DataTextField("Name")
.DataValueField("DepartmentID")
.BindTo(Model)
.SelectedIndex(0)
%>

I get the following error:  CS1502: The best overloaded method match for 'Kendo.Mvc.UI.Fluent.DropDownListBuilder.BindTo(System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.DropDownListItem>)' has some invalid arguments

Thank you.

Yeou

Yeou
Top achievements
Rank 1
 asked on 11 Sep 2012
2 answers
894 views
Hello friend,

I am trying to redirect to an action of my controller fro kendo grid but i am unable to do it. can somebody please help me out in this

thanks
Uttam
Top achievements
Rank 1
 answered on 11 Sep 2012
11 answers
295 views
Steps:
  1. Initialize the combo (assuming it's already populated in the markup as a select->option with text and values)
    $("#combo").kendoComboBox({
            filter: "contains"
        });
  2. Add a couple of characters to the end of the first item, thereby making it "technically" invalid as it's not an item in the combo
  3. Click your button to validate
  4. Passes
  5. Pick a new item from the combo
  6. Add a couple characters to the end
  7. Click button again
  8. Fails validation
Vesselin Obreshkov
Top achievements
Rank 2
 answered on 11 Sep 2012
0 answers
217 views
Hello,
I've implemented a Grid in MVC4 exactly like the following example (.cshtml version):
http://demos.kendoui.com/web/grid/local-data.html

The grid populates with no problem, but when I try to Sort(or filter) it performs a Server request, I get the loading graphic over the grid and then the grid goes empty. I can see through Fiddler that when i click sort, it makes a request to the server passing sort parameters in the query string. Seems like the ServerOperation(false) is not working for me when I try to sort in the client side. Any ideas?

I am using version 2012.2.710.340

Thanks in advance.
Tonny
Top achievements
Rank 1
 asked on 10 Sep 2012
2 answers
444 views
Right now our application has two pages, ProjectHome and ProjectInfo.

ProjectHome provides a list of all the Projects in the database. ProjectInfo provides information specific to the selected Project.

Each Project has several types of data connected to it, each provided through a DataSource, and displayed in a Grid.

I am working on a Filter panel on the ProjectHome page that will allow a user to filter through the list of Projects by targeting specific fields and searching for specific values. So far, this has proven "easy" (lots of manual filter management code required, but not difficult to construct) for flat fields like "Title" and "Size". It is not so simple, however, for complex data connected to the Projects themselves, such as "Team Members". On the ProjectInfo page for a given Project, the Team Members DataSource contains several fields: "Last Name", "First Name", and "Role". Each Project may have multiple Team Members attached to it.

I need to be able to filter through Projects from the ProjectHome page by passing values through the KendoUI DataSource filter() method, which works fine for flat fields, as I said, but does not appear to work for nested data. As a result, I find myself unable to filter Projects by Team Member on the ProjectHome page, because if I provide the ProjectList DataSource with the contents of the TeamMember DataSource within a single column, it creates a complex nested data structure. I can flatten this out to some kind of comma-separated list using the parse() method on the ProjectList DataSource, but then filtering becomes overly complex for the TeamMember field (since it contains three subfields).

Is there any supported way which would allow me to filter through the ProjectList DataSource while looking through the nested data of the Projects' TeamMember DataSource(s)?
Adrian
Top achievements
Rank 1
 answered on 10 Sep 2012
0 answers
81 views
I'm trying to decide between KendoUI and another UI framework. The sticking points for me right now are minor so I wanted to put them out there in hopes that they are actually trivial or in the works...

* What additional DataViz types does KendoUI plan to support/develop?
* Is a radar chart (for multivariate data) anywhere in the works?
Terry
Top achievements
Rank 1
 asked on 10 Sep 2012
1 answer
173 views
Hey there,

I'm working on a messaging module that groups messages into date "categories," similar to something that you would find in Outlook Express (Today, Yesterday, Last Week etc...).

The ListView works wonderfully with a grouped dataSource, but I'm having trouble putting it all together with a loadMore button. When the button is pressed the older messages are loaded just fine, but a new ListView header template is being rendered for the new items, even if they are within the same grouping as the previous items. This results in potentially having multiple headers for each grouping, defeating the purpose of the grouped data in the first place.

Is there any way I can work around this and have the ListView items group themselves properly after pressing the loadMore button?

Thanks for any advice you can give!

- Erik
Georgi Krustev
Telerik team
 answered on 10 Sep 2012
1 answer
93 views
Hello,
There is a behavioral discrepancy between datepicker and datetimepicker when using yyyy-MM-ddTHH:mm:ssZ datetime format. Is there something wrong with parseFormats parameter? Below is the sample code.
http://jsfiddle.net/Q92EL/
Georgi Krustev
Telerik team
 answered on 10 Sep 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
Chat
DateRangePicker
Dialog
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?