PanelBar databound event handling

1 posts, 0 answers
  1. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 21 Mar 2013 Link to this post

    **** Update ****

    Never mind, another sad case of user error. I had not noticed that I was on the DataBound event and not the ItemDataBound event.

    Works as expected now.
    ..............................................................................

    I have a PanelBar which is bound to a SQL datasource.

    Based on database content I would like to set the ImageUrl for certain top-level nodes.

    I am familiar with this process with TreeView, where I can access "e.node.imageurl"

    I don't see any "node" options for PanelBar items, and maybe I need to do a CType or similar operation that I have done for toolbar items.

    Prefer VB example, thanks.

Back to Top