Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
System.Data.Datarowview
posted

I have bound a hierarchical data source to a Ultrawebmenu and it is showing system.data.datarowview in every menu item instead of the text from the datasource. Any ideas what I might be doing wrong? Below is my code...

<

 

asp:ScriptManager runat="server" > </asp:ScriptManager>

 

 

<ignav:UltraWebMenu ID="UltraWebMenu1" runat="server" JavaScriptFilename="" WebMenuTarget="VerticalMenu"

 

WebMenuStyle="DrillDown" JavaScriptFileNameCommon=""

 

DataSourceID="WebHierarchicalDataSource1" TargetFrame="" TargetUrl="">

 

<IslandStyle BackColor="LightGray" BorderStyle="Outset" BorderWidth="1px" Cursor="Default">

 

</IslandStyle>

 

<HoverItemStyle BackColor="DarkBlue" Cursor="Default" ForeColor="White">

 

</HoverItemStyle>

 

<Images>

 

<XPSpacerImage Width="0px" />

 

<SubMenuImage Url="ig_menuTri.gif" />

 

</Images>

 

<ItemStyle Cursor="Default" />

 

<DataBindings>

 

<ignav:ItemBinding DataMember="TransId" TextField="TransId" />

 

<ignav:ItemBinding DataMember="TransId"

 

TextField="FieldId" />

 

</DataBindings>

 

<DisabledStyle Font-Names="MS Sans Serif" Font-Size="8pt" ForeColor="Gray">

 

</DisabledStyle>

 

<Levels>

 

<ignav:Level Index="0" />

 

</Levels>

</

 

ignav:UltraWebMenu>

 

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

 

ConnectionString="<%$ ConnectionStrings:App_834ConnectionString2 %>"

 

SelectCommand="SELECT [TransId] FROM [tbl_enroll_changes]"></asp:SqlDataSource>

 

<asp:SqlDataSource ID="SqlDataSource2" runat="server"

 

ConnectionString="<%$ ConnectionStrings:App_834ConnectionString2 %>"

 

SelectCommand="SELECT [TransId],FieldId FROM [tbl_enroll_changes]"></asp:SqlDataSource>

 

 

<ig:webhierarchicaldatasource id="WebHierarchicalDataSource1"

 

runat="server">

 

<DataRelations>

 

<ig:DataRelation ChildColumns="FieldId" ChildDataViewID="viewSqlDataSource2"

 

ParentColumns="TransId" ParentDataViewID="viewSqlDataSource1" />

 

</DataRelations>

 

<DataViews>

 

<ig:DataView ID="viewSqlDataSource1" DataMember="TransId"

 

DataSourceID="SqlDataSource1" />

 

<ig:DataView ID="viewSqlDataSource2" DataMember="TransId"

 

DataSourceID="SqlDataSource2" />

 

</DataViews>

 

</ig:webhierarchicaldatasource>