|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
site maps & menu controlCONTROL properties to give me the menu format I need w/o success, even though I've literally copied from examples from books and support sites. Heres is the format I want on the leftside of my form. The "headings" do not have any url set as property, they are exactly that, just headings and I need it to appear vertically. Though I prefer the list displaying, even if they appear after "hovering" or clicking on heading that is fine. The actual code appears after below. Please help. thanks. Menu1 1Child1 1Child2 1Child3 Menu2 2Child1 2Child2 2Child3 Menu3 3Child1 3Child2 3Child3 <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode title="Menu1" > <siteMapNode url="1Child1.aspx" /> <siteMapNode url="1Child2.aspx" /> <siteMapNode url="1Child3.aspx" /> </siteMapNode> <siteMapNode title="Menu2" > <siteMapNode url="2Child1.aspx" /> <siteMapNode url="2Child2.aspx" /> <siteMapNode url="2Child3.aspx" /> </siteMapNode> <siteMapNode title="Menu3" > <siteMapNode url="3Child1.aspx" /> <siteMapNode url="3Child2.aspx" /> <siteMapNode url="3Child3.aspx" /> </siteMapNode> </siteMap> Bret,
I tweaked the sitemap.xml in the following way and i could able to produce the result as you expected. <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <!--don't disturb the top-level node--> <siteMapNode url="" title="" description=""> <!--Items for the menu1--> <siteMapNode url="" title="Menu1" description="" > <siteMapNode url="" title="1Child1" description="" /> <siteMapNode url="" title="1Child2" description="" /> <siteMapNode url="" title="1Child3" description="" /> </siteMapNode> <!--items for the menu 2--> <siteMapNode url="" title="Menu2" description="" > <siteMapNode url="" title="2Child1" description="" /> <siteMapNode url="" title="2Child2" description="" /> <siteMapNode url="" title="2Child3" description="" /> </siteMapNode> <!--items for the menu 3--> <siteMapNode url="" title="Menu3" description="" > <siteMapNode url="" title="3Child1" description="" /> <siteMapNode url="" title="3Child2" description="" /> <siteMapNode url="" title="3Child3" description="" /> </siteMapNode> </siteMapNode> </siteMap> If you want horizonal orientation of nodes go for Menu Control and if yo want vertical orientation of nodes go in for TreeView Control Thanks & Regards, Mark Nelson Show quoteHide quote "Bret" wrote: > I have spent hours trying to configure the web.sitemap and the webform MENU > CONTROL properties to give me the menu format I need w/o success, even > though I've literally copied from examples from books and support sites. > Heres is the format I want on the leftside of my form. The "headings" do > not have any url set as property, they are exactly that, just headings and I > need it to appear vertically. Though I prefer the list displaying, even if > they appear after "hovering" or clicking on heading that is fine. The > actual code appears after below. Please help. thanks. > > Menu1 > 1Child1 > 1Child2 > 1Child3 > > Menu2 > 2Child1 > 2Child2 > 2Child3 > > Menu3 > 3Child1 > 3Child2 > 3Child3 > > <?xml version="1.0" encoding="utf-8" ?> > <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > > > <siteMapNode title="Menu1" > > <siteMapNode url="1Child1.aspx" /> > <siteMapNode url="1Child2.aspx" /> > <siteMapNode url="1Child3.aspx" /> > </siteMapNode> > > <siteMapNode title="Menu2" > > <siteMapNode url="2Child1.aspx" /> > <siteMapNode url="2Child2.aspx" /> > <siteMapNode url="2Child3.aspx" /> > </siteMapNode> > > <siteMapNode title="Menu3" > > <siteMapNode url="3Child1.aspx" /> > <siteMapNode url="3Child2.aspx" /> > <siteMapNode url="3Child3.aspx" /> > </siteMapNode> > > </siteMap> > absolutely perfect! More importantly I see how you did the fix. thanks Mark.
Great having you out there. Show quoteHide quote "Mark Nelson" wrote: > Bret, > > I tweaked the sitemap.xml in the following way and i could able to produce > the result as you expected. > > <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > > <!--don't disturb the top-level node--> > <siteMapNode url="" title="" description=""> > > <!--Items for the menu1--> > <siteMapNode url="" title="Menu1" description="" > > <siteMapNode url="" title="1Child1" description="" /> > <siteMapNode url="" title="1Child2" description="" /> > <siteMapNode url="" title="1Child3" description="" /> > </siteMapNode> > > <!--items for the menu 2--> > <siteMapNode url="" title="Menu2" description="" > > <siteMapNode url="" title="2Child1" description="" /> > <siteMapNode url="" title="2Child2" description="" /> > <siteMapNode url="" title="2Child3" description="" /> > </siteMapNode> > > <!--items for the menu 3--> > <siteMapNode url="" title="Menu3" description="" > > <siteMapNode url="" title="3Child1" description="" /> > <siteMapNode url="" title="3Child2" description="" /> > <siteMapNode url="" title="3Child3" description="" /> > </siteMapNode> > > </siteMapNode> > > </siteMap> > > If you want horizonal orientation of nodes go for Menu Control and if yo > want vertical orientation of nodes go in for TreeView Control > > Thanks & Regards, > Mark Nelson > > > "Bret" wrote: > > > I have spent hours trying to configure the web.sitemap and the webform MENU > > CONTROL properties to give me the menu format I need w/o success, even > > though I've literally copied from examples from books and support sites. > > Heres is the format I want on the leftside of my form. The "headings" do > > not have any url set as property, they are exactly that, just headings and I > > need it to appear vertically. Though I prefer the list displaying, even if > > they appear after "hovering" or clicking on heading that is fine. The > > actual code appears after below. Please help. thanks. > > > > Menu1 > > 1Child1 > > 1Child2 > > 1Child3 > > > > Menu2 > > 2Child1 > > 2Child2 > > 2Child3 > > > > Menu3 > > 3Child1 > > 3Child2 > > 3Child3 > > > > <?xml version="1.0" encoding="utf-8" ?> > > <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > > > > > <siteMapNode title="Menu1" > > > <siteMapNode url="1Child1.aspx" /> > > <siteMapNode url="1Child2.aspx" /> > > <siteMapNode url="1Child3.aspx" /> > > </siteMapNode> > > > > <siteMapNode title="Menu2" > > > <siteMapNode url="2Child1.aspx" /> > > <siteMapNode url="2Child2.aspx" /> > > <siteMapNode url="2Child3.aspx" /> > > </siteMapNode> > > > > <siteMapNode title="Menu3" > > > <siteMapNode url="3Child1.aspx" /> > > <siteMapNode url="3Child2.aspx" /> > > <siteMapNode url="3Child3.aspx" /> > > </siteMapNode> > > > > </siteMap> > >
Global resources not localized on IIS
How can validator code get the FormView data object Using Custom Control in a FormView Using Ajax control in custom server control Validation Groups and Wizard step How to show initial default values in a detailsview form Can I Use RequiredFieldValidator inside a repeater ? Have validators take up no space if control is valid Why can't I get the FormView control's Paging controls to show? Checkboxlist Question |
|||||||||||||||||||||||