By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,354 Members | 907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,354 IT Pros & Developers. It's quick & easy.

Tree view questions - Can I have more than one root? Can I de-link the current node?

P: n/a
Hello,

I am just looking at the tree view control, which looks very good, but
has some apparent limitations. This could easily be my lack of
experience with it. Specifically, I have two questions...

1) I would like to have more than one root for the tree. Although this
may sound odd, it can be logical in certain cases. For example, I have
some e-commerce sites where the navigational links are split into two
sections, one containing general site links (home, shopping basket,
contact, etc) and one for the product catalogue. This helps separate the
product pages from the support pages, making it easier for visitors to
shop.

I would like to use a tree view control for the product catalogue links.
I don't want one single root link, I just want the top-level categories
listed, with subcategories listed below them. Can I do this?
2) Is it possible to have the current page rendered as plain text, not a
link? It does not make sense to offer a link to the page they are
already viewing, and having it as plain text makes it clearer where in
the tree view they are. I couldn't see any option to render the current
node as plain text instead of a link. Is there one?

TIA
--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Are you using the Treeview asp.net 1.1 or 2,0 version?
Patrick
"Alan Silver" <al*********@nospam.thanx> wrote in message
news:3v**************@nospamthankyou.spam...
Hello,

I am just looking at the tree view control, which looks very good, but
has some apparent limitations. This could easily be my lack of
experience with it. Specifically, I have two questions...

1) I would like to have more than one root for the tree. Although this
may sound odd, it can be logical in certain cases. For example, I have
some e-commerce sites where the navigational links are split into two
sections, one containing general site links (home, shopping basket,
contact, etc) and one for the product catalogue. This helps separate the
product pages from the support pages, making it easier for visitors to
shop.

I would like to use a tree view control for the product catalogue links.
I don't want one single root link, I just want the top-level categories
listed, with subcategories listed below them. Can I do this?
2) Is it possible to have the current page rendered as plain text, not a
link? It does not make sense to offer a link to the page they are
already viewing, and having it as plain text makes it clearer where in
the tree view they are. I couldn't see any option to render the current
node as plain text instead of a link. Is there one?

TIA
--
Alan Silver
(anything added below this line is nothing to do with me)

Nov 19 '05 #2

P: n/a
>Are you using the Treeview asp.net 1.1 or 2,0 version?

2.0, sorry forgot to mention. Actually, I didn't know the control had
changed between versions!!
Patrick
"Alan Silver" <al*********@nospam.thanx> wrote in message
news:3v**************@nospamthankyou.spam...
Hello,

I am just looking at the tree view control, which looks very good, but
has some apparent limitations. This could easily be my lack of
experience with it. Specifically, I have two questions...

1) I would like to have more than one root for the tree. Although this
may sound odd, it can be logical in certain cases. For example, I have
some e-commerce sites where the navigational links are split into two
sections, one containing general site links (home, shopping basket,
contact, etc) and one for the product catalogue. This helps separate the
product pages from the support pages, making it easier for visitors to
shop.

I would like to use a tree view control for the product catalogue links.
I don't want one single root link, I just want the top-level categories
listed, with subcategories listed below them. Can I do this?
2) Is it possible to have the current page rendered as plain text, not a
link? It does not make sense to offer a link to the page they are
already viewing, and having it as plain text makes it clearer where in
the tree view they are. I couldn't see any option to render the current
node as plain text instead of a link. Is there one?

TIA
--
Alan Silver
(anything added below this line is nothing to do with me)



--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #3

P: n/a
Anyone have an answer here? Surely I'm not the only person using this
control?
Hello,

I am just looking at the tree view control, which looks very good, but
has some apparent limitations. This could easily be my lack of
experience with it. Specifically, I have two questions...

1) I would like to have more than one root for the tree. Although this
may sound odd, it can be logical in certain cases. For example, I have
some e-commerce sites where the navigational links are split into two
sections, one containing general site links (home, shopping basket,
contact, etc) and one for the product catalogue. This helps separate
the product pages from the support pages, making it easier for visitors
to shop.

I would like to use a tree view control for the product catalogue
links. I don't want one single root link, I just want the top-level
categories listed, with subcategories listed below them. Can I do this?
2) Is it possible to have the current page rendered as plain text, not
a link? It does not make sense to offer a link to the page they are
already viewing, and having it as plain text makes it clearer where in
the tree view they are. I couldn't see any option to render the current
node as plain text instead of a link. Is there one?

TIA


--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.