How to access attributes when inputType = Text

2 posts, 0 answers
  1. Glen
    Glen avatar
    2 posts
    Member since:
    May 2014

    Posted 09 Sep 2014 Link to this post

    Is there a way to access the attributes when the input type is set to "Text" because I am getting an error when trying to retrieve an attribute using the sample code "alert(args.get_entry().get_attributes().getAttribute("attr"));"

    I am getting a  JavaScript runtime error: Object doesn't support property or method 'get_entry' .... any thoughts would truly be appreciated.

  2. Nencho
    Nencho avatar
    1666 posts

    Posted 12 Sep 2014 Link to this post

    Hello Glen,

    The reason for the experienced error is the fact that the get_entry method does not exist in the Text InputType context, like described in the following documentation article :


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top