Telerik Forums
Kendo UI for jQuery Forum
0 answers
65 views
 
Hi All,

Im using a direct url search to load the page accordingly. The string query in the url will be of the following format //atest.html#{value1}.{value2}.{value3}

When ever this eearch is done, we can see that the title bar of the page gets appended with the query values i.e. like #{value1}.{value2}.{value3}.  This remains the same even when I try to manually set the title bar value.

Can you tell me if any script from kendo.web.min.js page is getting overridden to set this value?
Shalini
Top achievements
Rank 1
 asked on 26 Nov 2012
5 answers
471 views
Does the ListView support reordering items using Drag & Drop? I'm considering using the control for a photo gallery like page, but one of the main things is the ability for the user to reorder the items.

I've got a jsFiddle project started (based on the ListView example). If you could show how it's done, I would appreciate it. http://jsfiddle.net/jWRVA/
charan
Top achievements
Rank 1
 answered on 26 Nov 2012
1 answer
88 views
Is there any way to disable moving a kendo Window around using the alt and direction keys? Alt+left and Alt+right are standard keys for navigating backward and forward in a browser's history! Why would they be overwritten? Personally, I think this a very poor idea, and it should be possible at least to disable overwriting these standard functions. How can it be done?
Stephen
Top achievements
Rank 1
 answered on 26 Nov 2012
1 answer
319 views
I'm new to kendoUI.
I found the odata definition in kendo.data.odata.js, here's the code snippet:
........
$.extend(true, kendo.data, {
        schemas: {
            odata: {
                type: "json",
                data: "d.results",
                total: "d.__count"
            }
        },
        transports: {
            odata: {
                read: {
                    cache: true, // to prevent jQuery from adding cache buster
                    dataType: "jsonp",
                    jsonpCallback: "callback", //required by OData
                    jsonp: false // to prevent jQuery from adding the jsonpCallback in the query string - we will add it ourselves
                },
.......
The common way to use odata I see in this forum is like this:
var data = new kendo.data.DataSource({
    type: "odata",
    transport: {
    }
});
The pre-defined callback funtion will be invoked by kendo framework automatically, but I want to do some extra things in this pre-defined callback. When I try to use it another way(as follows), it seems it does NOT work, perhaps kendo framework don't allow user to use $.ajax() manually.
......
type:
"odata",
serverFiltering: true,
transport:{
            read: function(options){
                $.ajax({  //!!won't work when type is odata
                    url:"http://my_test_url",
                    dataType:"json",
                    data:options.data,
                    success:function (result) {
                        options.success(result);
                        doUserDefinedCallback(); //do my callback
                    }
                });
            }
        }
......
But I use a tricky way, it will take another server call and looks ugly somehow, here's the code snippet:
.......    
type: "odata"//using odata
serverFiltering: true,
transport: {
    read: {   //can NOT using $.ajax() manually here
url:"http://my_test_url"
    }
},
schema:{
    data: function(response){
        doServerCallFirst_Then_DoUserDefinedCallback(); //actually I do another server call here, then do my callback when the call returns.
        return response.d.results;
    }
}
.......
I need to use odata type, is there some better solution? Any help will be with great appreciation.
Daniel
Telerik team
 answered on 26 Nov 2012
0 answers
74 views
Hi,

Is there a built in progress indicator when I apply dataSource on the ListView from a remote data source?

//Initialize the result ListView with the selected template part
        $("#searchResults").kendoMobileListView({
            dataSource: this.getSearchData(),
            template: templatePart,
            endlessScroll: true,
            scrollTreshold: 30 //treshold in pixels
        });
Anton Swanevelder
Top achievements
Rank 2
 asked on 26 Nov 2012
1 answer
77 views
let's say my dataSource returns an id such as {id: 1}

and i'm using a template

columns: [ {field: "id", template: "<a href='javascript:;' id='#= id #' />#= id #</a>"} ...


how would I get it to show up as <a href="javascript:;" id="1">#1</a> as ##=id # won't work

Nikolay Rusev
Telerik team
 answered on 26 Nov 2012
1 answer
252 views
var products = [{"id": "12345"}]

is there anyway to attach some logic to that and replace that with a product name in the template?

eg. (if id = 12345) { template: <span>Some Product Name</span>} else { template: <span>#= id #</span>}


Nikolay Rusev
Telerik team
 answered on 26 Nov 2012
1 answer
109 views
How can we attach a Controller Action of Select in Kendo ListView?

Thanks

Anil Lakhani
Nikolay Rusev
Telerik team
 answered on 26 Nov 2012
0 answers
232 views
I need Jalali calendar, in my php web site, but I don't know how can I have it with kendo UI.
Maryam
Top achievements
Rank 1
 asked on 26 Nov 2012
4 answers
200 views
Hello, seems silly, but I can't figure it out.

I have a Grouped Listview being filled by an external datasource. I want the listview to appear exactly as your demo on the site where it's embedded in the "iphone simulator" with the lines/border between the same list items in each grouping. No matter how I try this on my phone or my desktop to test I cannot reproduce that same appearance and for all intents when I examine the code and styles in use on each element it appears the same. What am I missing here? How do I get that thin border on the elements between the groups as in the demo on the site?

Thanks!
Firas
Top achievements
Rank 1
 answered on 26 Nov 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?