Advertisement

04.15.2008 at 01:35AM PDT, ID: 23322953
[x]
Attachment Details

Asp.Net TreeView Control Question

Asked by edjones1 in Visual Studio .NET 2005, Programming for ASP.NET, Visual Studio .NET 2003

Hi

I just can't work this one out. I've got a treeview control on my page which has one expandable menu list.

What I'm trying to do it have a diferent colour background for the expanded menu(child nodes) thasn that of the main menu(parent). Also if possible to have then expanded menu to be a bir narrower too.  Sounds simple but unless I'm missing somthing or have gone mad I just can't get it to work.  PLease help!

ThanksStart Free Trial
1:
2:
3:
4:
5:
6:
7:
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMap" ExpandDepth="0" NodeIndent="3" NodeWrap="True" BorderWidth="0px">
                        <ParentNodeStyle CssClass="menuparent" />
                        <HoverNodeStyle CssClass="menuhover" />
                        <LeafNodeStyle Width="3px" CssClass="menunodeexpand" />
                        <NodeStyle CssClass="menunode" />
                        <SelectedNodeStyle CssClass="menunodeexpand" />
                    </asp:TreeView>
[+][-]04.15.2008 at 01:45AM PDT, ID: 21356960

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 01:51AM PDT, ID: 21356985

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 02:14AM PDT, ID: 21357071

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Programming for ASP.NET, Visual Studio .NET 2003
Sign Up Now!
Solution Provided By: paulop1975
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.15.2008 at 02:16AM PDT, ID: 21357091

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628