Telerik Forums
Kendo UI for jQuery Forum
5 answers
140 views
Hello,
 
When I click on the button to initiate an actionsheet, I'm getting the following error:

Microsoft JScript runtime error: Unable to get value of the property 'openFor': object is null or undefined. This is happening in kendo.all.min.js.

Here is the code:

<script
type="text/javascript">
     function
GoToPrev(e) {
         alert(
'c=' + e.context + ', t=' + e.target);
         document.forms[0].submit();
     }
</script>

<a
data-role="button" data-rel="actionsheet" href="#goTo">Go To</a>

<ul
data-role="actionsheet" id="goTo">
     <
li><a data-action="GoToPrev">Previous Asset</a></li>
     <
li><a data-action="GoToNext">Next Asset</a></li>
</
ul>
 
Thx...Bob Baldwin
Trabon Solutions
Licensed users of Telerik Devcraft Complete
Bob
Top achievements
Rank 1
 answered on 12 Mar 2013
7 answers
596 views
Hi, Ive got a chart ( please see attachment ) I was wondering is it possible to set different colour for different value. The values are from 0 to 5 ( the labels are changed manually in the chart ).
Im using  WCF  service, that means im receiving data in json format.
Thank You in advance,
neil
Iliana Dyankova
Telerik team
 answered on 12 Mar 2013
3 answers
245 views
I can get the date to display using this code, however, when it get posted to the server it just posts it as 01/01/0001. Also, every-time edit is hit why does the date column become empty?     

iwofreportSource = new kendo.data.DataSource({
        transport:
            {
                read: {
                    url: '/iwof/get-iwof-report/',
                    dataType: 'json'
                },
                create: {
                    url: '/iwof/add-iwof-report',
                    dataType: 'json',
                    type: 'Post',
                    complete: function (e) {
                        $("#iwof").data("kendoGrid").dataSource.read();
                    }
                },
                update:
                {
                    url: '/iwof/update-iwof-report',
                    dataType: 'json',
                    type: 'Post',
                    complete: function (e) {
                        $("#iwof").data("kendoGrid").dataSource.read();
                    }
                },
                destroy: {
                    url: '/iwof/delete-iwof-report',
                    type: 'POST',
                    dataType: 'json'
                }
            },
        async: true,
        batch: false,
        pageSize: 10,
        schema: {
            "model": {
                id: "Id",
                fields: {
                    Id: { editable: false, nullable: true },
                    DueToAE: { editable: true, type: "date" },
                }
            }
        }
      
    });

    var grid = $("#iwof").kendoGrid({
        dataSource: iwofreportSource,
        scrollable: false,
        pageble: true,
        filterable: false,
        resizable: true,
        toolbar: ["create"],
        width: 1000,
        sortable: { mode: 'multiple' },
        pageable: {
            refresh: true,
            pageSizes: true
        },
        columns: [
            { field: "DueToAE", title: "Due To AE", format: "{0:MM/dd/yyyy}" },  
        ],
        editable: "inline", // enable inline editing

    });

Vladimir Iliev
Telerik team
 answered on 12 Mar 2013
3 answers
137 views
Is there a sample project that uses the MVVM framework along with the HTML5 widgets and OpenAcess as the data tier?  While I have found many small samples for each part I have not found one combining them.  It would be nice to see what a "Best Practice" would be in laying out the Visual Studio project.  I am working on a small project that I want to use they technologies on.
Petur Subev
Telerik team
 answered on 12 Mar 2013
1 answer
127 views
Hello Everybody

I'm trying to implement the scrollview widget on my iphone device but got the below error.
When I run on my computer it works perfectly but when i ran it from my i phone it doesn't work.
My code looks exactly like in the example in the documentation(I attached a screenshot).
I'm working on windows 7 with safari 5.1.7 and with iphone 4S with o.s 5.1.1.

I would appreciate any kind of help.

Thanks
  

Iliana Dyankova
Telerik team
 answered on 12 Mar 2013
1 answer
1.2K+ views
Hi ,
In my scenario, have to call web service with StartDate of string type  (POST operation), 
am using JSON. Stringify method to convert data into json format .

My problem is while stringifying my data , date is going back by one day.

code:
    var tStartDate = $("[Name=StartDate]").data("kendoDatePicker").value()
            value is : Mon Mar 04 2013 00:00:00 GMT+0530 (India Standard Time) (here time 00:00:00)

    JSON.stringify(tStartDate)
                     This giving :  2013-03-03T18:30:00.000Z instead of 2013-03-04T18:30:00.000Z
So how can I get correct Date here ? in our DB using DateTimeOffset type for storing this date value 

Please help me out .



Georgi Krustev
Telerik team
 answered on 12 Mar 2013
6 answers
56 views
I am using kendo ui mobile beta version...But it does not support IOS-6...But works fine in blackberry and windows 7..

Anybody please help me..
Any help will be appreciated.........
Kamen Bundev
Telerik team
 answered on 12 Mar 2013
3 answers
930 views

I would like to be able to style the treeview more. I’m using the spriteCssClass, but would also like to add a custom cssclass-name for the complete line  (<li>).  I should be able to define this for each treeview line individually.

Because sometimes i want to change the background color of a certain line (including the sprite), adapt the height of a line, or make other css-changes. How can i do this?

Dimo
Telerik team
 answered on 12 Mar 2013
2 answers
140 views
Hi Guys,

How i can make autocomplete shrink when resizing the screen.

Thank you
David
Top achievements
Rank 1
 answered on 12 Mar 2013
1 answer
82 views
Hi, Kindly provide the sample code of tree binding using read.URL. I am having hierarchical data.


Thanks.
Daniel
Telerik team
 answered on 12 Mar 2013
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
Iron
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
Iron
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?