TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mic keeey
NA
22
0
UltraWebTree Help Please
Dec 3 2007 9:31 AM
Hi,
Ive decided to implement a webtree using the Infragistic Control to help make my report viewer look clean and easy to use...
However, Im new to programming so I dont know a great deal about the infragistics controls.
So far, I have created top root nodes and child nodes as well as top items and subitems. (See below..)
// root nodes with child nodes for each root
for (int i = 0; i < 5; i++)
{
rootNode = new Node();
rootNode.Text = "Root Node" + i.ToString();
for (int j = 0; j < 5; j++)
{
childNode = new Node();
childNode.Text = "Child node " + i.ToString() + " " + j.ToString();
rootNode.Nodes.Add(childNode);
}
treeAddCollections.Nodes.Add(rootNode);
}
// top level items with matching subitems for each item
for (int l = 0; l < 5; l++)
{
topItem = new Item();
topItem.Text = "Top Item " + l.ToString();
for(int m = 0; m < 5; m++)
{
subItem = new Item();
subItem.Text = "Sub Item " + l.ToString() + " " + m.ToString();
topItem.Items.Add(subItem);
}
menuAddCollections.Items.Add(topItem);
}
I was wondering whether anyone can show me some examples of code that uses the UltraWebTree control to point me in the right direction as to where to go next....??
Any help would greatly be
appreciated.
Thanks
Reply
Answers (
0
)
grid view control (adding a template column dynamically)
rss feeds for pictures