Show additional information on clientside rowselect

2 posts, 0 answers
  1. Dave Miller
    Dave Miller avatar
    64 posts
    Member since:
    Oct 2004

    Posted 16 Jun 2008 Link to this post

    This link shows how to show an indicator for selected items on rowselect

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

    How would I access an item in a row and change it's visible property to true on RowSelected or false on RowDeselected clientside. In particular it is a placeholder showing additional information.

    Thanks,
    Dave
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 17 Jun 2008 Link to this post

    Hello Dave,

    I guess the easiest way to implement the required scenario is by using CSS only.

    For example:

    ASPX

    <telerik:GridTemplateColumn> 
        <ItemTemplate> 
            <div class="hideMe"> content visibility toggles </div> 
            content is always visible 
        </ItemTemplate> 
    </telerik:GridTemplateColumn> 
     

    CSS

     
    .hideMe 
        display : none ; 
     
    .SelectedRow_Skin  .hideMe 
        display : block ; 



    Kind regards,
    Dimo
    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
Back to Top