scheduler integrating problem with angularJS

9 posts, 0 answers
  1. ahmad
    ahmad avatar
    5 posts
    Member since:
    Jun 2015

    Posted 03 Jul 2015 Link to this post

    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",

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 06 Jul 2015 Link to this post

    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!
     
  3. ahmad
    ahmad avatar
    5 posts
    Member since:
    Jun 2015

    Posted 06 Jul 2015 in reply to Vladimir Iliev Link to this post

    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'
                            }
                        }
                    }
                }

     

     

  4. ahmad
    ahmad avatar
    5 posts
    Member since:
    Jun 2015

    Posted 06 Jul 2015 in reply to ahmad Link to this post

    forgot to mention that i am using gulp
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 08 Jul 2015 Link to this post

    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!
     
  6. ahmad
    ahmad avatar
    5 posts
    Member since:
    Jun 2015

    Posted 08 Jul 2015 in reply to Vladimir Iliev Link to this post

    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 ?

  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 10 Jul 2015 Link to this post

    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!
     
  8. ahmad
    ahmad avatar
    5 posts
    Member since:
    Jun 2015

    Posted 10 Jul 2015 in reply to Vladimir Iliev Link to this post

    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 

  9. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 13 Jul 2015 Link to this post

    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!
     
Back to Top