
Hi,
I am creating Rad Menu dynamically. Following is the code. Even I tried following code in Page_Load().
But still its not working...
Why? Can anyone help me?
public partial class _Default : System.Web.UI.Page
{
RadMenu menu;
protected override void CreateChildControls()
{
base.CreateChildControls();
menu = new RadMenu();
menu.ID = "radmenucontrol";
menu.Items.Add(new RadMenuItem("Google", "http://www.google.com"));
menu.Items.Add(new RadMenuItem("Google1", "http://www.google.com"));
menu.Items.Add(new RadMenuItem("Google2", "http://www.google.com"));
menu.Items.Add(new RadMenuItem("Google", "http://www.google.com"));
menu.Items.FindItemByText("Google").Items.Add(new RadMenuItem("Yahoo", "Default.aspx"));
menu.Items.FindItemByText("Google").Items.Add(new RadMenuItem("Yahoo1", "Default.aspx"));
this.Controls.Add(menu);
menu.ItemClick += new RadMenuEventHandler(menu_ItemClick);
}
void menu_ItemClick(object sender, RadMenuEventArgs e)
{
Response.Redirect("http://www.google.com");
}
}
Hi,
Rad grid is used to update record on double click, It uses ObjectDataSource and has a TypeName which points to a business layer type, Update happens fine. We have a validation in stored procedure, when stored procedure fails in updating, it returns a status updation failed, could you suggest me
1. how to get the status form business layer and present the status to user ?
2. Another observation update fails in IE6, but works in IE 7 and Firefox - Is there any Common fix for this issue.
Regards,
Martin
