N
NJP
Hi Guys,
I have a simple treeview on my webform (C# 2.0). I am dynamically
populating the treeview with nodes. On my leaf nodes i want to have
text seperated by a large amount of blank space like shown below
Name BirthDay Photograph
Parent
|__Child1 20/08/1982 c:\documents
\file111\child1.jpg
|__Child2 19/02/1992 c:\documents
\file111\child2.jpg
however when I populate the treenode using the code below
TreeNode service = new TreeNode(ChildName + " " +
BirthDay + " "+ Photograph,
child.ID.ToString(),"","ChildDetails.aspx?CID=" + child.ID,"");
I get the tree below
Name BirthDay Photograph
Parent
|__Child1 20/08/1982 c:\documents\file111\child1.jpg
|__Child2 19/02/1992 c:\documents\file111\child2.jpg
All the whitespaces in between have been trimed to One whitespace.
How
can I try and make sure that I get the requisite whitespace. I have
tried \t as well but that didnt work either. Your help is much
appreciated.
Thanking You,
NJP
I have a simple treeview on my webform (C# 2.0). I am dynamically
populating the treeview with nodes. On my leaf nodes i want to have
text seperated by a large amount of blank space like shown below
Name BirthDay Photograph
Parent
|__Child1 20/08/1982 c:\documents
\file111\child1.jpg
|__Child2 19/02/1992 c:\documents
\file111\child2.jpg
however when I populate the treenode using the code below
TreeNode service = new TreeNode(ChildName + " " +
BirthDay + " "+ Photograph,
child.ID.ToString(),"","ChildDetails.aspx?CID=" + child.ID,"");
I get the tree below
Name BirthDay Photograph
Parent
|__Child1 20/08/1982 c:\documents\file111\child1.jpg
|__Child2 19/02/1992 c:\documents\file111\child2.jpg
All the whitespaces in between have been trimed to One whitespace.
How
can I try and make sure that I get the requisite whitespace. I have
tried \t as well but that didnt work either. Your help is much
appreciated.
Thanking You,
NJP