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: 6/4/2004 4:19:27 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 303 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
ghost0pz
Asp.Net User
Treeview, NavigateUrl Javascript, and Selected Style6/4/2004 4:19:27 PM

0

So, I have this problem. Whenever I put "javascript: DoSomething();" in the NavigateUrl property the Selected style never gets applied to the node. So I attempt to dig around the .htc file for the treeview and determine what might need to be changed.

So in the doNodeClick() method in the .htc file I changed the following code:

if (target == null || target.toLowerCase() == "_self")
return false;


to the following:

if (target == null || target.toLowerCase() == "_self")
{
selectNode(el);
return false;
}


That allows the select style to be applied to the text, but the images start disappearing. I know, I know sounds weird, but when I click on a node, seemingly randomly, the icons associated with the node disappear. I can right click on them and see the correct properties for the image. I can click "Show Picture" to make the image appear, but I can click around and the image will eventually disappear again.

So, if anyone has a recommendation to fix this then please let me know.

Thanks!
noslenj123
Asp.Net User
Re: Treeview, NavigateUrl Javascript, and Selected Style11/21/2007 11:28:45 PM

0

Too funny, 3 years later and I'm looking for a solution to this same problem.... STILL

 Anyone know how to let the selected style apply to a node when it's NaviageUrl is calling javascript?
 

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0: a developer's notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Pro ASP.NET 2.0 in VB 2005 Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006
Mastering Visual Basic .NET Authors: Evangelos Petroutsos, Pages: 1153, Published: 2002

Web:
Treeview, NavigateUrl Javascript, and Selected Style - ASP.NET Forums Whenever I put "javascript: DoSomething();" in the NavigateUrl property the Selected style never gets applied to the node. ...
ASP.NET 2.0 TreeView without Postback? Solved! | Bulahema Workshop May 19, 2006 ... NavigateUrl="javascript:void(0)" >. RadControls for ASP.NET AJAX TreeView - NavigateURL property empty ... Is there some way I can check (in JavaScript) whether the NavigateURL property actually contains something, and only redirect when this is ...
Shawn Wildermuth - Tagged Rants NET 2.0 TreeView control. This control is meant to show a tree of items and each item ... So I decided to make the NavigateUrl property “javascript:void(0)”. ... with a server-style select and others with the javascript:void(0) select. ...
.NET ASP.NET webcontrols ASP.NET TreeView control bug with ... May 27, 2008 ... NET TreeView control bug with NavigateUrl and Target - Per ... TreeView seems to be using javascript to mark the node as selected (in the GUI, ... but unfortunately I cannot access Css and Style attributes and some other ...

Menu control not displaying StaticSelectedStyle css style - ng.asp ... HI Jack, Can you suggest what I need to do to get the selected style working? .... navigateurl and target in a treeview ...






possibility to save treeview to xml?

treeview (microsoft internet explorer webcontrols) and xmldocument

treeview - multiple nodelevels from database

tabstrip rendering

adding dropdwon button command to toolbar

the page with treeview webcontrol could not be found on another client

problems

tabstrip selectedindexchange event is not firing

ie webcontrols tab/multipage state problem

with the help of xml how can i populate data in a treeview

how to install ie web controls in asp.net2.0

how to include internet explorer web controls in the tool bar

treeview control

treeview postback error and it's wired

please help with installing and running sample aspx

can i redistribute the microsoft.web.ui.webcontrols.dll with my commercial app?

view of treeview :(

i want to create tree view control on my web form

treeview behavior

tree view label side

collapsing old node on selecting new one

solution to: treeview showing only as text (still need permanent server solution!)

uiwebcontrols - treeview control

toolbar menu from the ie web control package

treeview webcontrol. where is the .htc file referenced? (asp.net 1.1)

treeview control is not available for asp.net

error while running build.bat file

parser error help plz for newbie

ie web control treeview for downlevel browsers

simple question

   
  Privacy | Contact Us
All Times Are GMT