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); |
} |
} |
The above code works fine. And the refresh is eliminated using RadAjaxManager, but for further development process we need do do the above function in client side. I dnt hve an idea whether its is possible, or is there any better method that can be followed to do this in client side.
Thanks in Advance.
Arun.M