This is a migrated thread and some comments may be shown as answers.

PanelBar databound event handling

0 Answers 37 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Tomica
Top achievements
Rank 2
Tomica asked on 21 Mar 2013, 10:30 PM
**** 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.

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Tomica
Top achievements
Rank 2
Share this question
or