I have a Treeview that is Bindable with an XSD file, but in lines of XSD has properties that have the Name, and other lines of the same property that has no name. And when I run this application returns an error because of this problem. As I outline this
problem. thank you
Can you give us a little more to go on to try to reproduce your issue? What TreeView are you using and in what type of application (ASP .NET, Windows Forms, Silverlight, etc.)? If you have a full sample that will reproduce it, that would be great.
I was looking on the internet an example, enter in "http://view.xmlgrid.net/" and you will see that the structure of the tree is dynamic, dependent of the uploaded file, but can be any uploaded file that works
jo_nathanss
0 Points
6 Posts
Help with treeview
Oct 04, 2012 02:08 PM|LINK
I have a Treeview that is Bindable with an XSD file, but in lines of XSD has properties that have the Name, and other lines of the same property that has no name. And when I run this application returns an error because of this problem. As I outline this problem. thank you
<xs:complexType>
<xs:sequence>
<xs:element name="internacionalizacao" type="tns:Internacionalizacao" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Internacionalizacao">
<xs:sequence >
<xs:element name="idIdioma" type="xs:integer" minOccurs="0" nillable="true"/>
<xs:element name="nomeIdioma" type="xs:string" minOccurs="0" nillable="true"/>
<xs:element name="nomeAnalito" type="xs:string" minOccurs="0" nillable="true"/>
<xs:element name="descricaoAnalito" type="xs:string" minOccurs="0" nillable="true"/>
</xs:sequence>
</xs:complexType>
This is an excerpt from my XSD
cts-mgraham
Contributor
3318 Points
642 Posts
Microsoft
Re: Help with treeview
Oct 10, 2012 05:02 PM|LINK
Can you give us a little more to go on to try to reproduce your issue? What TreeView are you using and in what type of application (ASP .NET, Windows Forms, Silverlight, etc.)? If you have a full sample that will reproduce it, that would be great.
jo_nathanss
0 Points
6 Posts
Re: Help with treeview
Oct 15, 2012 11:51 AM|LINK
Asp.net com webforms... Here is my treeview and i bind with xml using codebehind
<asp:TreeView ID="TreeView" runat="server" ImageSet="Arrows" LineImagesFolder="~/TreeLineImages" ShowLines="True" Width="959px" ExpandDepth="1" Height="194px" Style="margin-left: 0px" OnSelectedNodeChanged="TreeViewXSD_SelectedNodeChanged">
<DataBindings>
<asp:TreeNodeBinding DataMember="xs:complexType" TextField="name" ImageUrl="~/Images/complexType.png" />
<asp:TreeNodeBinding DataMember="complexType" ImageUrl="~/Images/complexType.png"/>
</DataBindings>
jo_nathanss
0 Points
6 Posts
Re: Help with treeview
Oct 15, 2012 12:41 PM|LINK
I was looking on the internet an example, enter in "http://view.xmlgrid.net/" and you will see that the structure of the tree is dynamic, dependent of the uploaded file, but can be any uploaded file that works
cts-mgraham
Contributor
3318 Points
642 Posts
Microsoft
Re: Help with treeview
Nov 25, 2012 02:51 PM|LINK
Sorry for lack of response. Just going through old ones here. Did you find a resolution? What is the error that you get?