i am using radtreeview databind... here is my code...
<telerik:RadTreeView ID="RadTreeView1" runat="server" DataFieldID="emailid"
DataTextField="name" DataSourceID="SqlDataSource1" Skin="Sitefinity" >
<DataBindings>
<telerik:RadTreeNodeBinding Expanded="true" />
</DataBindings>
</telerik:RadTreeView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
cs page code is....
protected void Page_Load(object sender, EventArgs e)
{
connectionString = System.Configuration.
ConfigurationSettings.AppSettings["connstring"];
SqlDataSource1.ConnectionString = connectionString;
SqlDataSource1.SelectCommand =
"select * from chat_status where tempstatus='online'";
}
from this i can able to get the names from my table but its not look like treeview structure...
i am getting only the root node.. whats wrong with this code... plz help me...
thanks..in advance...