DelegateCommand function..

3 posts, 0 answers
  1. TMLP
    TMLP avatar
    38 posts
    Member since:
    Jul 2009

    Posted 04 Aug 2011 Link to this post

    Hi I'm trying a code from your demo site at http://demos.telerik.com/silverlight/#TransitionControl/PerspectiveTransitions

    In "BusinessCards.cs" code,
    public BusinessCards()
    {
        this.SelectNext = new DelegateCommand(this.SelectNextPerson);
        this.SelectPrevious = new DelegateCommand(this.SelectPreviousPerson);
        ....
    }
    It doesn't recognize "DelegateCommand" function. Error:The type or namespace name 'DelegateCommand' could not be found (are you missing a using directive or an assembly reference?)...
    Can you advise me about this? Thank you.

    I'm running Silverlight Q2 2010 version.
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Aug 2011 Link to this post

    Hello,

    It seems that you're using too old version of the controls where DelegateCommand was not available.
    Is it possible for you to upgrade to a more recent version?

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. TMLP
    TMLP avatar
    38 posts
    Member since:
    Jul 2009

    Posted 08 Aug 2011 Link to this post

    yes, I figured DelegateCommand was not available before SL4. Downloaded the cureent version and it's working fine. Thanks.
Back to Top