SelectedNodeStyle.ImgURL bug?

Discussion in 'ASP .Net' started by =?Utf-8?B?SmFtZXMgSmVmZmVyaWVz?=, May 9, 2006.

  1. Heyas! Using the TreeView control on a website built in VS 2005, the
    SelectedNodeStyle.ImgURL setting doesn't seem to work.

    Here are my settings:
    ImgSet = "Custom"
    NodeStyle.ImgURL = 'image1.gif"
    NodeStyle.ForeColor = "Black"
    SelectedNodeStyle.ImgURL = 'image2.gif"
    SelectedNodeStyle.ForeColor = "Blue"


    When I select a node, the selected node text changes from black to blue
    as expected, but the image stays as image1.gif. Is there something I
    might have set elsewhere overriding the SelectedNodeStyle.ImgURL
    setting?
    =?Utf-8?B?SmFtZXMgSmVmZmVyaWVz?=, May 9, 2006
    #1
    1. Advertising

  2. Well, so much for the "MSDN Managed Newsgroup Support" part my MSDN
    subscription.

    "James Jefferies" wrote:

    > Heyas! Using the TreeView control on a website built in VS 2005, the
    > SelectedNodeStyle.ImgURL setting doesn't seem to work.
    >
    > Here are my settings:
    > ImgSet = "Custom"
    > NodeStyle.ImgURL = 'image1.gif"
    > NodeStyle.ForeColor = "Black"
    > SelectedNodeStyle.ImgURL = 'image2.gif"
    > SelectedNodeStyle.ForeColor = "Blue"
    >
    >
    > When I select a node, the selected node text changes from black to blue
    > as expected, but the image stays as image1.gif. Is there something I
    > might have set elsewhere overriding the SelectedNodeStyle.ImgURL
    > setting?
    >
    =?Utf-8?B?SmFtZXMgSmVmZmVyaWVz?=, May 26, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Re: BUG? OR NOT A BUG?

    John, Sep 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    534
  2. =?Utf-8?B?Y3lyaWVsMTkyMEBub3NwYW0ubm9zcGFt?=

    ASP.NET Treeview selectedNodeStyle

    =?Utf-8?B?Y3lyaWVsMTkyMEBub3NwYW0ubm9zcGFt?=, Apr 14, 2006, in forum: ASP .Net
    Replies:
    7
    Views:
    6,662
    dany7487
    May 29, 2007
  3. AcuZod
    Replies:
    0
    Views:
    701
    AcuZod
    Apr 24, 2006
  4. Replies:
    0
    Views:
    3,091
  5. Sunny

    Treeview SelectedNodeStyle Problem

    Sunny, Jul 3, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    925
    Sunny
    Jul 5, 2006
Loading...

Share This Page