This is a migrated thread and some comments may be shown as answers.

scheduler integrating problem with angularJS

8 Answers 222 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ahmad
Top achievements
Rank 1
ahmad asked on 03 Jul 2015, 04:30 PM

i am trying to add the scheduler into my existing webpage using angularJS .

i started with  :

<div data-ng-controller="MyCtrl">
<div data-kendo-scheduler="kendoScheduler" data-k-options="schedulerOptions" >
<span data-k-event-template class='custom-event'>{{dataItem.title}}</span>
<div data-k-all-day-event-template class='custom-all-day-event'>{{dataItem.title}}</div>
</div>
</div>

 then i created the controller and injected kendo-directives in the  module 

as a result i am getting these two warnings : 

k-event-template without a matching parent widget found. It can be one of the following: ?^^kendoScheduler
k-all-day-event-template without a matching parent widget found. It can be one of the following: ?^^kendoScheduler

 

attached is what i see on the browser (chrome) .

i am using "kendo-ui": "~2015.2.624+Official" , "jquery": "~2.1.4",

8 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 06 Jul 2015, 09:04 AM
Hello Ahmad,

You should remove the "data-" prefixes from the templates as they are not supported currently:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
ahmad
Top achievements
Rank 1
answered on 06 Jul 2015, 05:03 PM

thank you for you answer, i did the changes but still getting the same results,

 here is my controller : http://plnkr.co/edit/hsHFPAdxo40mJ3L1FpWr?p=catalogue.

i am using a state that define the direction and the controller :

        {
                state: 'scheduler',
                config: {
                    url: '/scheduler',
                    views: {
                        'content@demo': {
                            templateUrl: scheduler.template.html',
                            controller: 'MyCtrl as vm'
                        }
                    }
                }
            }

 

 

0
ahmad
Top achievements
Rank 1
answered on 06 Jul 2015, 05:46 PM
forgot to mention that i am using gulp
0
Vladimir Iliev
Telerik team
answered on 08 Jul 2015, 07:01 AM
Hello Ahmad,

The reason the example is still not runable in the provided demo is:
  • required Kendo UI and angular scripts are not included
  • Kendo UI directives are not set as dependency for the current module
  • Current module have no corresponding app

For your convenience I updated the example with the above changes:


Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
ahmad
Top achievements
Rank 1
answered on 08 Jul 2015, 02:16 PM

i am trying to do bower install for the professional version : bower install https://bower.telerik.com/bower-kendo-ui.git i got this error : bower bower-kendo-ui#*         ECMDERR Failed to execute "git ls-remote --tags --heads https://bower.telerik.com/bower-kendo-ui.git", exit code of #128 fatal: Authentication failed for 'https://bower.telerik.com/bower-kendo-ui.git/'  i

used my account email address when i am trying to access, do i need a special account to do that ?

0
Vladimir Iliev
Telerik team
answered on 10 Jul 2015, 05:12 AM
Hi Ahmad,

As stated in our documentation you will need the email and password of an active Telerik account to access the bower package:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
ahmad
Top achievements
Rank 1
answered on 10 Jul 2015, 11:49 AM

i know this information already, i am trying to use the email and the password of the account i created but it's not allowing me to install. please check the response i am getting (in my previous post).

 thanks 

0
Vladimir Iliev
Telerik team
answered on 13 Jul 2015, 07:30 AM
Hello Ahmad,

Apologize if I was not clear enough - by "active Telerik account" I mean account that have active licence (not a trial one). 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
ahmad
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
ahmad
Top achievements
Rank 1
Share this question
or