This is a migrated thread and some comments may be shown as answers.

java Script Function

3 Answers 39 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rishi
Top achievements
Rank 1
Rishi asked on 28 Aug 2008, 10:53 AM
i want to do some thing like window.open ()   function of javascript.
on the click of TreeView Leaf Node.

I tried  NavigateUrl Property of TreeViewNode  But It opens the new page in same window.

i m using LoadOn Demand functionality.

i  also tried to add attributes at run time.


Any Suggestions.


Thanks & Regards
Rishi Kasnia
(GrayCellTechnologiesExports)

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 28 Aug 2008, 11:09 AM
Hello Rishi,

You can use the NavigateUrl and set the Target property of the node if you want the page to open in a new window.

All the best,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rishi
Top achievements
Rank 1
answered on 28 Aug 2008, 11:12 AM
Hi Veskoni

What should be the value of Target Property.
0
Paul
Telerik team
answered on 28 Aug 2008, 12:13 PM
Hi Rishi,

The Target property sets or returns where to open a link.
  • _blank - the target URL will open in a new window
  • _self - the target URL will open in the same frame as it was clicked
  • _parent - the target URL will open in the parent frameset
  • _top - the target URL will open in the full body of the window
Kind regards,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Rishi
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Rishi
Top achievements
Rank 1
Paul
Telerik team
Share this question
or