Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ASP
<asp:TextBox runat="server" ReadOnly="true" ID="AssetItemTextBox"></asp:TextBox><telerik:RadGrid ID="AssetItemListGrid" SkinID="ReadOnlyRadGrid1" runat="server" 
          AutoGenerateColumns="False" GridLines="None"  DataSourceID="AssetListDataSource" OnItemCommand="AssetRadGrid_ItemCommand"   Visible= "false">
      <MasterTableView ClientDataKeyNames="UserAccountID" DataKeyNames="UserAccountID" DataSourceID="AssetListDataSource">
                  
      <RowIndicatorColumn>
      <HeaderStyle Width="20px"></HeaderStyle>
      </RowIndicatorColumn>
                <ExpandCollapseColumn>
                 <HeaderStyle Width="20px"></HeaderStyle>
                 </ExpandCollapseColumn>
         <Columns>
                        <telerik:GridBoundColumn DataField="UserAccountID" DataType="System.Int32" HeaderText="UserAccountID"
                            ReadOnly="True" SortExpression="UserAccountID" UniqueName="UserAccountID" Visible="false">
                        </telerik:GridBoundColumn>
                        
                        <telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name"
                            UniqueName="Name">
                        </telerik:GridBoundColumn>
                        
                         <telerik:GridBoundColumn DataField="AssetTag" HeaderText="AssetTag" SortExpression="AssetTag"
                            UniqueName="AssetTag">
                        </telerik:GridBoundColumn>
                        
                        <telerik:GridButtonColumn CommandName="Select"  Text="Select"></telerik:GridButtonColumn> 
          </Columns>
       </MasterTableView>
     
             <ClientSettings>
                     <ClientEvents OnRowClick="RowSelected" />
                    <Selecting AllowRowSelect="true" />
             </ClientSettings>
                
     </telerik:RadGrid>  


[Modified: added pre tags]
Posted
Updated 8-Apr-10 8:56am
v2

1 solution

I assume that telerik gave you both documentation and access to forums where you could ask this of people who are all using this library.  I also assume that intellisense works on the telerik controls, allowing you to find the answer for yourself.  Of course, if you really get stuck, you might try posting an actual detailed question instead of a code dump.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900