set_expandendImageUrl throws error

3 posts, 1 answers
  1. jorge
    jorge avatar
    23 posts
    Member since:
    Apr 2007

    Posted 16 Apr 2008 Link to this post

    Creating a clone of a node on the client side, the following code throws a JS error "Object doesn't support this property or method".  Using latest build 2008_1_415.

    newNode.set_expandendImageUrl(node.get_expandedImageUrl());  
     

    this other line works fine:

    newNode.set_imageUrl(node.get_imageUrl());  
     

    Jorge
  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 18 Apr 2008 Link to this post

    Hi jorge,

    The problem is that you have misspelled the name of the javascript function.
    You used set_expandendImageUrl while it should be set_expandedImageUrl

    I hope this helps.

    All the best,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jorge
    jorge avatar
    23 posts
    Member since:
    Apr 2007

    Posted 18 Apr 2008 Link to this post

    Duh!  Sorry for wasting your time.

    Jorge
Back to Top