Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:619303
More Search Options
RSS Available
Matching Posts
Re: how to use Treeview Control in asp.net???
It is probably this stupid thing: Have you added the control to page controls? page.controls.add(tv) If you create objects dynamically you have to tell ASP.NET to render them in the client page, if you don't do that controls just exist in server memory.
Posted to
Internet Explorer Web Controls
(Forum)
by
Dmerayo
on 8/12/2005
Re: Adding TreeNodes of TreeView Dynamically....
Hi, You need to look for the node in the level you add it. Your example would be: TreeView tree = new TreeView(); TreeNode userTools = new TreeNode(); userTools.Text="User Tools"; tree.Nodes.Add(userTools); TreeNode userTool1 = new TreeNode(); userTool1.Text="User Tool 1"; tree.Nodes[tree.Nodes.IndexOf(userTools)].Nodes.Add(userTool1); // tree.Nodes[0].Nodes.Add(userTool1); // This also works TreeNode userTool2 = new TreeNode(); userTool2.Text="User Tool 2"; tree.Nodes[tree.Nodes.IndexOf(userTools
Posted to
Internet Explorer Web Controls
(Forum)
by
Dmerayo
on 8/10/2005
Re: Problems with TreeView and TreeNodeSrc property
I've found out that the problem is that when event is launched the data from the TreeView is not available because I don't use ViewState (I cannot because the tree fully expanded is 3.5Mb of data with about 13000 nodes, and it is the small version, the big one has about 200K nodes) I will try some other way like loading whole tree as a server variable and get the expanded nodes from there, as I am not sure I can delete parts of the tree from ViewState. At least the tree data is static.
Posted to
Internet Explorer Web Controls
(Forum)
by
Dmerayo
on 8/10/2005
Problems with TreeView and TreeNodeSrc property
Hello, I have an problem with TreeView IE control . I create a TreeView statically and add 15 nodes to it, every node has a reference to a xml file using TreeNodeSrc and TreeNodeXsltSrc , this far everything works fine. Then I control expand event on the server to keep track of expanded nodes (I don't want to use ViewState because it is a really BIG tree) but when I try to expand one of the nodes loaded from the xml files an exception is launched because that node does not exist as children of their
Posted to
Internet Explorer Web Controls
(Forum)
by
Dmerayo
on 8/9/2005
Re: TreeView and XML
Hello, That error is quite tricky because it occurs both when the xml file is in wrong format or the control cannot find the xml file. I've found out that when you fill TreeNodeSrc and TreeNodeXsltSrc properties in a static treeview you need to write an URL (either relative or absolute) and when you create the component dynamically you have to use a real path in your computer. What I have not been able to do is to bind an xml file to a TreeNode dynamically. I hope it helps you. Regards, Diego Merayo
Posted to
Internet Explorer Web Controls
(Forum)
by
Dmerayo
on 8/9/2005
Page 1 of 1 (5 items)
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
ASP.NET:
Bytes by MSDN: Brad Abrams Interview with Billy Hollis: Silverlight 4, RIA Services and VS2010
Mix Online:
Pictures or it Didn't Happen
Channel 9:
Reactive Extensions API in depth: even more Zip
TechNet Edge:
SDL For Agile
Mix Online:
Test Lab Note
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online