TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shailaja.bhatnagar
NA
13
0
TreeNode.NavigateUrl issue
Jun 15 2017 10:45 PM
The Treeview node is a linked to a PDF which opens directly in a new browser tab when clicked. I want to call a procedure to store some values when I click on the node and before it opens PDF in new browser.
I tried SelectedNodeChanged event but it is not firing. Then I found on MSDN website that
When a node is in navigation mode, all selection events are disabled for that node. Clicking the node in navigation mode links the user to the
specific URL
I am populating node on demand
Dim TNode1 As New TreeNode
Dim CNode1 As New TreeNode
CNode1.Text = GetReportTitle(oDS.Tables(0).
Rows(i).Item("ABCD")) & " - " & oDS.Tables(0).Rows(i).Item("
ABSTRACT")
CNode1.NavigateUrl = Replace(oDS.Tables(0).Rows(i).
Item("FILEPATH").ToString, "E:\XYV", sWWWServer)
TNode.ChildNodes.Add(CNode1)
TNode.ExpandAll()
Reply
Answers (
2
)
Auto Login using Windows Credential with Active Directory
How to implement upload video in ASP.NET MVC 5