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
    Admin
    Nencho avatar
    1457 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 :

    http://www.telerik.com/help/aspnet-ajax/autocompletebox-onclienttextchanged.html

    Regards,
    Nencho
    Telerik
     

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top