Hello guys,
I am using radmenu and it is binded through a database. The code looks something like this.
I am using radmenu and it is binded through a database. The code looks something like this.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//CODE TO GET THE POPULATED DATASET STARTS
classMenuListing MenuListing = new classMenuListing();
DataSet ds = new DataSet();
ds = MenuListing.getMenuAgainstRole(ds, 14);
//CODE TO GET THE POPULATED DATASET ENDS
MenuBar.DataFieldID =
"ID";
MenuBar.DataFieldParentID =
"ParentID";
MenuBar.DataNavigateUrlField =
"LinkBasicURL";
MenuBar.DataTextField =
"LinkDisplayText";
MenuBar.DataSource = ds;
MenuBar.DataBind();
}
}
I have a field in the database which provides access keys for each menu item. How will i bind the accesskey field to the radmenu. Like I binded (MenuBar.DataNavigateUrlField = "LinkBasicURL";) URL field.
Thanks,
Mansoor Nadeem