http://www.telerik.com/community/forums/thread/b311D-bhcat.aspx
I'm trying to load an XML file C:\treeview.xml
I've tried manipulating this code about 100 different ways
Anyone see what I'm doing wrong? I'm a newb, I admit it -
I'm trying to load an XML file C:\treeview.xml
I've tried manipulating this code about 100 different ways
Anyone see what I'm doing wrong? I'm a newb, I admit it -
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim xmlTree As RadTreeView = New RadTreeView
xmlTree.ID = "RadTreeView1"
xmlTree.ContentFile = "C:\treeview.xml"
Controls.Add(xmlTree)
End Sub
I have already created this treeview in the designer - I'm not certain what I've done here is correct. It tells me that
xmlTree.ID = "RadTreeView1"
xmlTree.ContentFile = "~/tree.xml"
Aren't valid - XMLtree.ID and XMLTree.contentfile aren't members of Telerk.wincontrols.UI.radtreeview.
Sorry in advance - I've ready everything I could find :/
Thanks!
Jim
7 Answers, 1 is accepted
0
Hi Jim,
RadTreeView for WinForms does not currently have the capability to load data from an XML file. We are planning to introduce this feature in the Q2 2007 release of RadControls for WinForms, due in the Fall.
Regards,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadTreeView for WinForms does not currently have the capability to load data from an XML file. We are planning to introduce this feature in the Q2 2007 release of RadControls for WinForms, due in the Fall.
Regards,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
JulioR
Top achievements
Rank 1
answered on 23 Jul 2007, 08:17 AM
Hi Telerik Team,
I would like to know when are you planning to launch Q2 2007 containing the load XML capability like in ASP treeviews. I have used the ASP controls and I'm very happy with them, but I hoped to find at least the samed functionality for winforms controls (honestly, I'm a little bit dissapointed :-(... I know is one of the first releases, so I hope you will fill the gaps in short with the new version.
Could you please give us an exact date for the new version?
Thanks in advance & regards,
Julio
I would like to know when are you planning to launch Q2 2007 containing the load XML capability like in ASP treeviews. I have used the ASP controls and I'm very happy with them, but I hoped to find at least the samed functionality for winforms controls (honestly, I'm a little bit dissapointed :-(... I know is one of the first releases, so I hope you will fill the gaps in short with the new version.
Could you please give us an exact date for the new version?
Thanks in advance & regards,
Julio
0
Hello JulioR,
Thank you for your question.
The treeview will have XML serialization / deserialization in Q2 2007, which is due in September. The only non-serializable part will be the controls that are hosted inside a treeview, as the Control class is not serializable.
This feature is already developed and is currently in initial testing phase. In case you want to test it for your case, please open a support ticket and request the latest treeview build - we will gladly send it to you..
All the best,
Rob
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for your question.
The treeview will have XML serialization / deserialization in Q2 2007, which is due in September. The only non-serializable part will be the controls that are hosted inside a treeview, as the Control class is not serializable.
This feature is already developed and is currently in initial testing phase. In case you want to test it for your case, please open a support ticket and request the latest treeview build - we will gladly send it to you..
All the best,
Rob
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
craig
Top achievements
Rank 1
answered on 06 Dec 2007, 12:45 PM
hi there,
can i assume that the ability to bind xml directly to an instance of the treeview is now available, and if so, do you have any examples ?
thanks
c
can i assume that the ability to bind xml directly to an instance of the treeview is now available, and if so, do you have any examples ?
thanks
c
0
Well, craig, binding to XML as in XML Data Binding is not yet available. Rather XML serialization/deserialization functionality has been implemented. For more information on XML serialization, please refer to the XML Serialization example in the Quick Start application.
All the best,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
All the best,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
craig
Top achievements
Rank 1
answered on 10 Dec 2007, 10:31 AM
hi there,
i see an example in c# but nothing in vb.net ?
any chance of a vb.net example ?
thanks
craig
i see an example in c# but nothing in vb.net ?
any chance of a vb.net example ?
thanks
craig
0
Hm, it seems that we have not converted this exact scenario to VB, craig. Sorry for this. You could try using our code converter to convert the C# code to VB.NET, or wait for the Q3 release (due in a couple of weeks) when the VB.NET examples will be fully synchronized with the C# examples.
Let me know if you experience problems in the conversion process.
Regards,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Let me know if you experience problems in the conversion process.
Regards,
Jordan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center