Telerik Forums
Kendo UI for jQuery Forum
6 answers
359 views
I try to pass few additional URL parameters when navigating to local View. One parameter passed correctly (like this: "/#quotes?type=SHARES"). But if I pass two or more parameters (e.g. "/#quotes?type=SHARES&country=RU") javascript error occurred: "Uncaught TypeError: Cannot call method 'getAttribute' of undefined". 

Method: 
kendo.initWidget 

line: 
role = element.getAttribute("data-" + kendo.ns + "role");

Please describe how to pass correctly few parameters to local views!
Vladimir
Top achievements
Rank 1
 answered on 28 Dec 2012
1 answer
259 views
HI,
      I have used kendo grid edit ,Empty column validation working fine. but i will give the space inside the editable textbox in grid . the validation not working.I will all empty string to database.


Thanks
Parthasarathi M
Alexander Valchev
Telerik team
 answered on 28 Dec 2012
1 answer
70 views
Is there a simple way in Kendo Mobile to simulate the "Drawer" effect?

Similar to the latest Facebook ios mobile, where the left side slides out with links to Favorites, News Feed, etc. Then it slides back in after clicking.
Jordan
Telerik team
 answered on 28 Dec 2012
1 answer
105 views

I'm testing very standard kendo charts, every time i click on the pie chart or any of the other charts, for example, i'm getting the "out of stack space" in the browser. Anyone else getting this?

        $(document).ready(function () {
            $("#piechart").kendoChart({
                dataSource: ds_array
                seriesDefaults: {
                    type: "pie",
                    labels: {
                        visible: true
                            }
                },
                title: {
                    text: "Monthly Revenue per Location"
                },
                legend: {
                    position: "bottom"
                },
                series: [{
                    field: "revenue",
                    categoryField: "location"
                }],
                tooltip: {
                    visible: true,
                    format: "N0"

                }

            });


        });
Atanas Korchev
Telerik team
 answered on 28 Dec 2012
1 answer
361 views
Hi All,

How to hide loading progress bar in kendo drop-down list? In case of no items coming from database, just I have to display "-select item-" in cascade drop-down scenario. Keep showing loading bar even though no items coming from database in my view. Immediate help would be appreciated.

Thanks.
Atanas Korchev
Telerik team
 answered on 28 Dec 2012
1 answer
140 views
Hi,

I know it's not completely a classic Kendo issue, but I believe most of us want answer for that, so please kindly share your experience and a solution if you have one.

I'm able to bind ListView to Web API (MVC 4)

I'm using the ICENIUM by the way...

var productTransport = new kendo.data.RemoteTransport({
    read: {
        url: "http://localhost:1822/api/products",
        dataType: 'jsonp',  
        type: 'GET'
    }
});
 
var datasource = new kendo.data.DataSource({
    transport: productTransport
});
 
  $("#MyListView").kendoMobileListView({
        dataSource: datasource,
        template: kendo.template($("#listviewHeadersTemplate").html())
    });
That works fine!

Now I want to secure the API call and want to send Username/Password with the API call in Cross Domain (after all its mobile app...)

1) the user (on the mobile app) need to enter his username/password when application launch.
2) I need to Authenticate the user with an API call for Login... if user pass the authentication, Return some ApiKey
3) this APIKey need to be sent on every API call that is secure and decorated with [Authorize]

Do you have a solution for this?

I attach Web API project, Please fill free to modify it to achieve that.
I'm 3 days on that and read lot of documentation, so any help is appreciated.

Thanks

Moti

Atanas Korchev
Telerik team
 answered on 28 Dec 2012
2 answers
68 views
This page is not working specifically the click which opens up the details.

If i try the one in http://demos.kendoui.com/mobile/application/index.html ,they  work.


How can  i get my sample to work ? i tried in chrome and on iphone in both a click on the list view item points to  index.html#../../content/mobile/application/play-music.html , wherein it shud have been index./content/mobile/application/play-music.html and navigation fails

Thanks
Sam
Top achievements
Rank 1
 answered on 28 Dec 2012
2 answers
331 views
I unable to validate the dropdownlist if the user select "Please select" value when the update button is clicked

I have inline editing grid implementing foreign key column. In the foreignKey.cshtml i also add the option label ("Please select").



View in grid:
columns.ForeignKey(p => p.EmployeeID, (System.Collections.IEnumerable)ViewData["testStatus"], "EmployeeID", "EmployeeName");

//Model:
 [Required(ErrorMessage = "Required")]
 [DisplayName("Employee ")]
 [UIHint("GridForeignKey")]
 public int EmployeeID { get; set; }

//Shared/GridForeignKey.cshtml

@(
 Html.Kendo().DropDownList()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
        .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
        .OptionLabel("Select value")

)
David
Top achievements
Rank 1
 answered on 28 Dec 2012
6 answers
1.0K+ views
Open a window using an iframe.  

How, using jQuery, would you get a reference to the window (from within the window) so you can close it?

Nathan
Top achievements
Rank 1
 answered on 27 Dec 2012
16 answers
318 views
I posted here since there is no forum for mobile apps yet.  I have some simple questions. 
1. If I build a simple one or two page Kendo web app, approximately how much of it can be moved to a native style Android app without major re-work?
2.  I assume my server side data service will be the same for both.  Correct?
3.  Please briefly enlighten us on the differences and similarities.

I would like to start a Kendo app in about 2 weeks and deploy it on Android in February 2012.  Making it a web app first would help with the testing and give us some leeway on when the mobile version is ready for prime time.

As an FYI to other developers.  We are seeing several useful apps for pocket sized android devices and tablets for a large manufacturiing facility.  Think: supervisors having notifications and live data in their pocket as needed and inspectors and maintenance people having always current procedures in their hands or pocket.  The pricing makes android devices more attractive than traditional industrial devices.

I'm a .Net web and windows programmer and Kendo looks like the easiest way for me to get into mobile by leveraging my html and javascript skills.

Thanks,
Steve F
Marc
Top achievements
Rank 1
 answered on 27 Dec 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
AIPrompt
TimePicker
AICodingAssistant
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
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
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?