Author: sunitsanghavi | Posted on: 4/22/2008 10:01:10 AM | Views : 420

Hi,

The Menu control is binded at the runtime using xmldatasource.

It does binds correctly and the menu display is okay.

The issue is regarding the DynamicSelectedStyle property which isnt working even though I have mentioned it.

All the other properties of the Dynamic Style does work. Again it works correctly when data source is SiteMapDataSource but it doesnt work with xmldatasource.

Below is my code:

********

xmlDataSource.Data = menudataset.GetXml

MenuTop.DataSource = "xmlDataSource"

MenuTop.DataBind()

********

<DynamicSelectedStyle BackColor="#FFCC66" Go to the complete details ...