CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 4/1/2004 10:29:43 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 48 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
SpaKa
Asp.Net User
SelectedNodeIndex cannot be set to an undisplayed node4/1/2004 10:29:43 AM

0

Hello,

I'm using Microsoft Treeview to navigate different intranet-pages.
If user expands an treenode i'm using a client-side script to handle this (to collapse all other nodes). Now I have the following problem:
If the treeview is initialized at the page_load the nodeIndex 0 is selected node.
if i click on this node the treeview expands. Clicking an new node (for example nodeindex 0.2) an error occurs:

"The node at index 0.2 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node (all parents of a selected node must be expanded). "

Is there anyone who can explain what's the reason for the error and how to fix this?

Thanks a lot
bitTwiddler
Asp.Net User
Re: SelectedNodeIndex cannot be set to an undisplayed node4/1/2004 7:42:03 PM

0

Would you mind pasting a few lines of script so I can see how you reference the treenodes through the DOM?

Thanks.
bitTwiddler
Asp.Net User
Re: SelectedNodeIndex cannot be set to an undisplayed node4/1/2004 10:10:12 PM

0

Never mind, I found some code in another post.

I'm new to the forum, and as I read through the threads I see many recurring issues that have already been addressed.

Thanks.
SpaKa
Asp.Net User
Re: SelectedNodeIndex cannot be set to an undisplayed node4/2/2004 5:19:03 AM

0

I would be grateful if you could post me the threads you've seen. I've read many threads too, but I didn't found one which describes the same problem (error-message):-)
bitTwiddler
Asp.Net User
Re: SelectedNodeIndex cannot be set to an undisplayed node4/2/2004 1:54:34 PM

0

SpaKa,

My last post may have given you the wrong impression. Actually, I wanted to do what you are doing, but didn't yet know how. I now know we can gain by looking at the javascript in the htc file. I saw one other thread reporting your error, but I don't recall a solution being posted. However, I did find a nice little routine to expand and collapse SELECTED nodes at this thread and it works fine for my needs.

Good luck.
bitTwiddler
Asp.Net User
Re: SelectedNodeIndex cannot be set to an undisplayed node4/2/2004 2:23:41 PM

0

Correction to last post (can we edit posts here?): That routine collapses the previously SELECTED node at the same and lower levels. My implementation required SelectExpands=true. If nodes are expanded apart from selection, they are not collapsed with this code. That's what I wanted.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Treeview control's selectednodeindex property in javascript - ASP ... The node at index 0.0 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node . ...
Treeview control's selectednodeindex property in javascript - ASP ... It says. The node at index 0.0 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node . Can some one help me ? ...
TreeView问题!加载出现问题,有时候出现,有时候又不出现!请教高手.NET ... SelectedNodeIndex cannot be set to an undisplayed node (all parents of a selected node must be expanded). 说明: 执行当前Web 请求期间, ...
.NET code: Loop Treeview Nodes Oct 20, 2004 ... The node at index 0.1 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node (all parents of a ...
Looking for TreeView Menu EXPAND / COLLAPSE ALL (How can i do it) When u EXPAND the Nodes and then select a node and then Press Collapse it gives Error:- "SelectedNodeIndex cannot be set to an undisplayed ...

TreeView - disable postback for selectedindexchange - ng.asp-net ... Exception: The node at index 0.0.0.1.0 is not currently displayed in the tree. SelectedNodeIndex cannot be set to an undisplayed node (all parents of a ...






passing data between ascx control

converting a windows applications to a web application

passing large amount of information to another page?

simple button action

capture close

how to handle this exception??

what would be the most efficient way to do this?

integration of flash

iis

help with function

null data

annoying configuration error

smartnavigation and server.transfer

how can a linkbutton be disabled until page loads and get enabled automatically when page fully loads?

function list

popup not coming out.

dynamically filling a drop down list

ispostback or not?

any alternative to response.redirect

dataset question

diff physical directory and virtual directory

date of every "day" between date x and y

ascx - this type of page not served - error!

asp:label question

arraylist vs array

ssl connection issues

xml and asp

does enter not count as a click?

need help badly on smtp mail

replace() method help

   
  Privacy | Contact Us
All Times Are GMT