Javascript code being stripped

2 posts, 0 answers
  1. claudz
    claudz avatar
    39 posts
    Member since:
    Jul 2007

    Posted 29 Sep 2008 Link to this post

    Hello Telerik Team,

    We are trying to add a bit of javascript to a list item so that it gives a hyperlink that will open a collapsed group in a grouped list view.

    For example:
    <A onclick="javascript:ExpCollGroup('4-1_','img_4-1_');return false;" href="javascript:">link</a>

    This is the same code that sharepoint places on an + icon on the page to expand/collapse the group.

    However, the javascript code is being stripped.

    Is there anyway to allow javascript code in a list?


  2. George
    George avatar
    859 posts

    Posted 30 Sep 2008 Link to this post

    Hi Claudz,

    Please reivew the following help article that describes how to achive the desired behavior:

    I hope this helps.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top