| protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e) |
| { |
| if (e.Item.AccessKey.ToString() == "1") |
| { |
| Control control = LoadControl("home.ascx"); |
| control.ID = control.ToString(); |
| ContentPlaceHolder1.Controls.Clear(); |
| ContentPlaceHolder1.Controls.Add(control); |
| } |
| else |
| { |
| Control control = LoadControl("abt.ascx"); |
| control.ID = control.ToString(); |
| ContentPlaceHolder1.Controls.Clear(); |
| ContentPlaceHolder1.Controls.Add(control); |
| } |
| } |
Hi. On RadMenu1_ItemClick i dynamically load a usercontrol to the content placeholder and the refresh is handled by the AjaxManager. Thanks to telerik. For further development process i need the above functionality to be done using javascript, Is that possible. If there are any other method to be done please let me know.
Thanks in Advance
Arun.M