Telerik Forums
Kendo UI for jQuery Forum
0 answers
90 views
The question in the title of the theme:)
Arni
Top achievements
Rank 1
 asked on 29 Nov 2011
3 answers
235 views
I'm using the menu widget in a jquery mobile application. 
JQuery mobile enhance all links, that theire content is loaded using an ajax request instead a normal post. 

Either this isn't working with the menu widget. Is the menu widget changing the url by javascript? How can I prevent this behaviour and enforce the widget that it uses the default browser behaviour or at least, to prevent kendo ui from handling the link and doing the forward myself?
Dimo
Telerik team
 answered on 29 Nov 2011
4 answers
139 views
I'm trying to apply a filter to a Data Source that is bound to XML. Everything works fine with everything else and all works as expected - all but filtering.

Too simplify things posting, if you look at the xml-data.html sample in the Data Source folder, how would you apply a filter to search for any book that contains 'CSS3' on the Title XML element? I've added server filtering to the Data Source.

Is it possible to filter with a XML scheme?
Atanas Korchev
Telerik team
 answered on 29 Nov 2011
2 answers
553 views
I'm trying to use the datasource to populate a grid, binding to some JSON data , supplied via an aspx page. I'm not sure if the data is in the correct format (although it is valid JSON sysntax) , or if I need to alter the definition of the datasource, but quite frankly I find the documentation far from helpful.

Do I need to change my code that's producing the JSON data (it's using a LINQ source, exporting a list to JSON using the jayrock library), or do I need to define the fields in the datasource? If so, how?

I've got so far:-
<script>
      var dataSource = new kendo.data.DataSource({
          transport: {
              read: {
                  url: "http://localhost:50331/GetPatList.aspx?srch=Benz",
                  dataType: "json",
                  data: {
                  }
              }
          }
      });
  
  </script>

But so far nothing happens ( is there an easy way to see if a datasource is getting any data without first binding it to anything - or a good way to debug it?).

The JSON data I'm providing in my aspx page looks like (it's fictional data for development purposes):-
[{"surName":"Benzene","foreName":"Alabaster","dOB":"1954-09-30T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Alabaster","dOB":"1940-01-03T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Alabaster","dOB":"1925-03-15T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Alphonso","dOB":"1960-12-21T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Alphonso","dOB":"1972-02-04T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Andrew","dOB":"1985-07-18T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Andrew","dOB":"1939-09-14T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Andrew","dOB":"1961-06-25T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Andrew","dOB":"1948-12-31T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Anya","dOB":"1978-02-01T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Anya","dOB":"1924-08-12T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Aphrodite","dOB":"1932-03-11T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Arbuthnot","dOB":"1930-07-19T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Ariarna","dOB":"1973-10-14T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Ariarna","dOB":"1946-02-04T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Armand","dOB":"1956-09-14T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Armand","dOB":"1976-06-05T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Armarni","dOB":"2010-01-04T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Armarni","dOB":"2000-09-16T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arnie","dOB":"1924-08-21T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arnie","dOB":"1998-11-23T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Arnie","dOB":"1972-05-31T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arnie","dOB":"1922-09-08T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arnold","dOB":"1980-07-09T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arnold","dOB":"1967-08-28T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arthurs","dOB":"2002-07-11T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Arthurs","dOB":"1947-06-09T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Banzai","dOB":"1967-11-29T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Banzai","dOB":"1941-09-17T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Banzai","dOB":"1964-12-09T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Basil","dOB":"1994-02-16T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Basil","dOB":"1969-07-27T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Bethany","dOB":"1975-12-11T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Biff","dOB":"1936-08-23T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Biff","dOB":"1969-10-24T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Biff","dOB":"1974-01-19T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Bongo","dOB":"1960-02-08T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Bongo","dOB":"1969-09-08T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Bongo","dOB":"1948-08-01T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Bongo","dOB":"1991-08-15T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Bongo","dOB":"1942-11-03T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Brenda","dOB":"1946-10-20T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Brenda","dOB":"1947-01-22T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Brenda","dOB":"1989-08-29T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Brett","dOB":"1941-10-16T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Brick","dOB":"2007-05-08T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Brick","dOB":"1988-09-29T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Bruce","dOB":"1921-01-13T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Bruce","dOB":"2010-03-01T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Ceejay","dOB":"2000-08-25T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Ceejay","dOB":"1979-10-08T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Cesarie","dOB":"2010-01-02T00:00:00.0000000+00:00"},{"surName":"Benzene","foreName":"Cesarie","dOB":"1938-04-15T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Charles","dOB":"1940-07-24T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Charles","dOB":"1958-08-28T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Charlotte","dOB":"1972-04-26T00:00:00.0000000+01:00"},{"surName":"Benzene","foreName":"Chelsea","dOB":"1957-10-17T00:00:00.0000000+01:00"}]


Thanks

AP
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 28 Nov 2011
18 answers
591 views
Supporting IE6 in Kendo UI requires numerous hacks and countless hours of specialized testing. If we had to choose between supporting IE6 or spending more time investing in new features, what would be the general preference?

Personally, for the type of development that Kendo UI targets (new projects, largely HTML5, etc.), I doubt IE6 is a common browser target. But I know IE6 is not yet 100% dead, and my perspective is biased.

What do you think? Should IE6 support remain in Kendo UI past the beta? Or should IE7 become the new IE6 for Kendo UI v1?

I'm curious...
Jadranko Dragoje
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
123 views
Hi!
I am using a grid with the very nice dnd grouping function. I have one request/ suggestion:
It seems that the group names displayed are those of the data field rather than the data title.
Is it possible to configure this? or would you consider changing it in a future release?

Obviously, I could name the data fields to correspond with the title, but our application will be localized, and one of the languages has special chars that are not allowed in variable names.

Nikolay Rusev
Telerik team
 answered on 28 Nov 2011
1 answer
190 views
Hello,

Check code,its of auto complete......

  <form action="incre2.jsp" method="get" name="userform" >
                <input id="input" name="text1"  type="text" style="width: 360px;"/>
         
                <input type="submit" value="add" >
</form>

After click on submit its not forwarding TEXT1 Parameter with request...
Please help me out          
Atanas Korchev
Telerik team
 answered on 28 Nov 2011
3 answers
140 views
Ok, here's the xml
<xml_api_reply version="1">
    <weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0">
        <forecast_information>
            <city data="Hamilton, ON"></city>
            <postal_code data="Hamilton,ON"></postal_code>
            <latitude_e6 data=""></latitude_e6>
            <longitude_e6 data=""></longitude_e6>
            <forecast_date data="2011-11-21"></forecast_date>
            <current_date_time data="2011-11-21 13:00:00 +0000"></current_date_time>
            <unit_system data="US"></unit_system>
        </forecast_information>
        <current_conditions>
            <condition data="Mostly Cloudy"></condition>
            <temp_f data="30"></temp_f>
            <temp_c data="-1"></temp_c>
            <humidity data="Humidity: 69%"></humidity>
            <icon data="/ig/images/weather/mostly_cloudy.gif"></icon>
            <wind_condition data="Wind: N at 10 mph"></wind_condition>
        </current_conditions>
        <forecast_conditions>
            <day_of_week data="Mon"></day_of_week>
            <low data="28"></low>
            <high data="41"></high>
            <icon data="/ig/images/weather/sunny.gif"></icon>
            <condition data="Clear"></condition>
        </forecast_conditions>
        <forecast_conditions>
            <day_of_week data="Tue"></day_of_week>
            <low data="37"></low>
            <high data="46"></high>
            <icon data="/ig/images/weather/chance_of_rain.gif"></icon>
            <condition data="Chance of Rain"></condition>
        </forecast_conditions>
        <forecast_conditions>
            <day_of_week data="Wed"></day_of_week>
            <low data="32"></low>
            <high data="50"></high>
            <icon data="/ig/images/weather/mostly_sunny.gif"></icon>
            <condition data="Mostly Sunny"></condition>
        </forecast_conditions>
        <forecast_conditions>
            <day_of_week data="Thu"></day_of_week>
            <low data="43"></low>
            <high data="50"></high>
            <icon data="/ig/images/weather/sunny.gif"></icon>
            <condition data="Clear"></condition>
        </forecast_conditions>
    </weather>
</xml_api_reply>

...and here's my schema
schema: {
            // specify the the schema is XML
            type: "xml",
            // the XML element which represents a single data record
            data: "/xml_api_reply/weather/forecast_conditions",
            // define the model - the object which will represent a single data record
            model: {
                fields: {
                    day_of_week: "day_of_week@data",
                    high: "low@data",
                    low: "high@data",
                    icon: "icon@data",
                    condition: "condition@data"
                }
            }
        },

...and the template
<ul id="weather-container">
 
</ul>
 
<script id="dashwidget-weather-template" type="text/x-kendo-template">
    <li>
        <div>#= day_of_week #</div>
        <div>#= condition #</div>
        <div>High: #= high #</div>
        <div>Low: #= low #</div>
    </li>
</script>


So I would like it structured like this:
<div>
  <div>CURRENT WEATHER</div>
  <ul>
      #repeater
          <li>DAILY WEATHER</li>
      #endrepeater
  </ul>
</div>

So I am clearly doing it WRONG :)  Since I'm only iterating over the weekday bits (so I wouldn't be able to get the current conditions).

How should I be re-working this?
Atanas Korchev
Telerik team
 answered on 28 Nov 2011
1 answer
194 views
Hi,

I am trying to implement kendo in our project. Where I have created 4 tab scrip. I want to refresh this tab script on button click. But it is not working. I have used  <    $("#tabstrip").data("kendoTabStrip").reload("#Exposure");  >.
 I will be highly thankful to you if you kindly help me for the same.
Nirmal
Top achievements
Rank 1
 answered on 28 Nov 2011
0 answers
151 views
How does one get the kendoCalendar to respect the "readonly" attribute on an input element?

Thanks in advance... 
Treg
Top achievements
Rank 1
 asked on 27 Nov 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?