This is a migrated thread and some comments may be shown as answers.

Show additional information on clientside rowselect

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave Miller
Top achievements
Rank 2
Dave Miller asked on 16 Jun 2008, 03:52 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 17 Jun 2008, 11:14 AM
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
Tags
Grid
Asked by
Dave Miller
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or