Home - Forums-.NET - FlyTreeView (ASP.NET) - link to iframe

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

link to iframe
Link Posted: 14-Nov-2005 22:49
Hello !

I wanna show the new page to an iframe, when I set targetURL to iframe1 that always open an new windows , does anybody can do it success ?

Thanks  !
Link Posted: 15-Nov-2005 00:19
There're NavigateUrl and NavigateTarget properties of TreeNode that you should use to create a link. And you should set the NavigateTarget to the name of your IFRAME element in order to make it using the iframe.
Link Posted: 16-Nov-2005 03:44
ya, I'm trying to do it, but it always open to a new windows, how come ?

thanks !
Link Posted: 16-Nov-2005 09:34
Set the NavigateTarget to _self
Link Posted: 16-Nov-2005 21:53
Thanks for your attention at first  
If I set to _self so where can I set to IFRAME1 ??

Thanks anyway!
Link Posted: 17-Nov-2005 03:39
Chris,
Sorry, I misunderstood your task.

Definitelly you should set it to IFRAME name. Because FlyTreeView uses a hidden A element in your page with target and href properties set from the node. And thus its behavior is quiet the same as A element's one.
So you should set the IFRAME name attribute and set the NavigateTarget to the same value. That's it.