Telerik Forums
Kendo UI for jQuery Forum
1 answer
132 views
I have a grid that is formatting the dates correctly when the grid initially loads.  We have a toolbar with a drop down that will send a request to the server to fetch new data.  When I insert the returned data into the grid, the date formatting goes away.  

I included a small example of what is happening.  The "Bind to Data Source" button is replacing the data through the kendo.data.DataSource object and the "Bind to Grid Data" button is replacing the data through the grid's datasource (I know it's essentially the same thing but I thought I'd try both methods anyway).

The only thing I can think of is if I destroy the grid and render a new one every time I fetch data.  That's not a horrible problem but I didn't know if there was a more elegant way of doing this.

Thanks!

Here's a fiddle: http://jsfiddle.net/schapman/ypKrC/1/ 
Nikolay Rusev
Telerik team
 answered on 11 Sep 2012
1 answer
157 views
Hi,

I am receiving an error in the grid navigator after I update the datasource and refresh a grid.

To update the dataSource in a Grid I do this:
MyGrid.dataSource.data(myDataSource);
MyGrid.refresh();

 When I first create my grid everything works fine, but after the update above, when I click on a page number I receive the following error:
DOM Exception: NOT_FOUND_ERR (8)

The error occurs inside kendo.ui.all.min.js in the statement c.table[0].replaceChild(i,c.tbody[0]).

Can you help me ???
Jendusak
Top achievements
Rank 1
 answered on 11 Sep 2012
1 answer
122 views
Recently i start work with titanium for developing ios apps and androis apps , so i want to know is this kendoUI support titanium ,
if Yes then how to configure it in mac os. ?

which is better platform for developing ios and android apps and games? [ optional question]
Ali
Top achievements
Rank 1
 answered on 11 Sep 2012
1 answer
135 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
250 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
437 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
936 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
321 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
243 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
467 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
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?