|
-
Jan 14th, 2004, 09:12 AM
#1
Thread Starter
Fanatic Member
treeview
Hi,
I have placed a treeview control on a web form in asp.net
I have named it tvTrades and the visible property is set to true.
When running the code, it runs fine but it does not display the treeview on the page (i.e. a blank web page comes up)?
Do you know why?
Thanks
This is what I am using...
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
PopulateTree()
End Sub
Private Sub PopulateTree()
Dim tvFirst As New TreeNode
tvFirst.Text = "Parent"
Dim tvSecond As New TreeNode
tvSecond.Text = "Child1"
Dim tvThird As New TreeNode
tvThird.Text = "Child2"
End Sub
Last edited by fmardani; Jan 14th, 2004 at 09:32 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|