I am new to the Infragistics Net Advantage for ASP.NET product and am trying to convert a web site from 2008.3 to 2011.2. Our site currently uses uses the UltraWebMenu control to build menus dynamically from database queries and we need to convert to the WebDataMenu control to make the site compatible with the IE9 browser. Since the Infragistics web site is woefully inadequate for finding info on building menus and setting their appearance dynamically, I need some help. Does anyone know of a site that provides a good pimer on the WebDataMenu control and especially building menus dynamically?
Thanks,
Roger
Hello dpinkston Please let me know if you have any other questions regarding the menu. Was Todor's answer helpful
Hi Roger,
Here is a simple example how to bind webdataMenu on SQL Data source.
In aspx.
="server">
</
>
<
="1">
="CategoryName"/>
In C#:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
this.WebDataMenu1.DataSource = this.SqlDataSource1;
this.WebDataMenu1.DataBind();
}
In the example I use SQL data source I use the wizard to create the connection string and the select command. it takes all the categoryNames from the Categories table from the Northwind DB. After that these items are bound to the menu items of the WebDataMenu
I hope that will help you