get_element bug

2 posts, 0 answers
  1. Jorge
    Jorge avatar
    53 posts
    Member since:
    Jun 2009

    Posted 11 May 2011 Link to this post

    In javascript, list.get_element() is returning a SPAN instead of the whole DOM element containing items.
    If this is the intended behavior, how do I get the full DOM element?

  2. Vasil
    Vasil avatar
    1540 posts

    Posted 13 May 2011 Link to this post

    Hello Jorge,

    When the RadListView is rendered there are three html elements.

    1) A div with class="listLayout" that is containing the rendered elements from RadListView
    2) An Input with ID like "RadListView1_ClientState", that is used for storing client settings of the RadListView object.
    3) The span with ID "RadListView1" that you are getting when you use get_element()

    If "list" is the client object of your list view, to access the collection of all elements you could use:

    I hope this helps.

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top