I've got a tall order and need pointers to the info...
I need to bind a WebMenu dynamically (using the iPod skin) to hierarchical data with n nodes.
The new WebHierarchicalDataSource looks promising for this. Can it bind to an ObjectDataSource? Are there any examples out there?
Also, it's not clear to me whether WebHierarchicalDataSource is a released product or available for production use.
Thanks!
Ken
Microsoft MVP [ASP.NET]
Hello,
You can use the property ImageUrl of ItemBinding instance to set some picture.
ib.ImageUrlField = @"http://someLink/somePicture.gif";
Also look that links:
For ImageUrl:
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/HTML/Infragistics2.WebUI.UltraWebNavigator.v7.3~Infragistics.WebUI.UltraWebNavigator.ItemBinding~ImageUrl.html
And for ImageUrlField:
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/HTML/Infragistics2.WebUI.UltraWebNavigator.v7.3~Infragistics.WebUI.UltraWebNavigator.ItemBinding~ImageUrlField.html
Hope this helps.
Hi Evan,
Thanks very much that's helpful.
Now for another challenge: What if I wanted to use that same sample but for each menu item, I needed to include an icon with the individual's image and perhaps some javascript? For example,
[image_of_davolio] Davolio [image_arrow]
[image_of_Fuller] Fuller [image_arrow]
[image_of_Tsawassen] 23 Tsawassen Blvd. [onclick='BLOCKED SCRIPTdoSomething(parameters);']
I think I'm getting close to what I need if you can help with this part.
Thanks! Ken
Please, find the attached sample project. I bind UltraWebMenu with WebHierarchicalDataSource dynamically.