RadControls version |
2011.1.413.40
|
.NET version |
2.0
|
Visual Studio version |
2008 & 2010
|
programming language |
C#
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
[enter description here, together with step-by-step instructions on how to use the project]
Hi - i have a radtreeview control with the following design. Depending on data that is being bound i would like to add a DetailTemplate to just that particular row. How can i do the same. thank you
<
telerik:RadTreeList runat="server" ID="RadTreeList" DataKeyNames="ID" ParentDataKeyNames="PID"
OnNeedDataSource="RadTreeList_NeedDataSource" AutoGenerateColumns="false" PagerStyle-AlwaysVisible="true"
PagerStyle-Mode="NextPrevAndNumeric" PageSize="10" AllowPaging="true">
<Columns>
<telerik:TreeListBoundColumn DataField="AfflName" HeaderText="Name" UniqueName="AfflName">
</telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID">
</telerik:TreeListBoundColumn>
<telerik:TreeListTemplateColumn UniqueName="Addr" HeaderText="Address" DataField="Addr" >
<ItemTemplate>
<asp:Label ID="addr" runat="server"><%# Eval("Addr") %></asp:Label>
</ItemTemplate>
</telerik:TreeListTemplateColumn>
</Columns>
</telerik:RadTreeList>