or
protected override void OnInit(EventArgs e){ HtmlForm form = (HtmlForm)this.Controls[3];form.Controls.Add(new RadAjaxManager());}public void AddAjaxSetting(Control ajaxified, Control updated, RadAjaxLoadingPanel loading){HtmlForm form = (HtmlForm)this.Controls[3];RadAjaxManager ajax = form.Controls[1] as RadAjaxManager;ajax.AjaxSettings.AddAjaxSetting(ajaxified, updated, loading);}protected void Page_Load(object sender, EventArgs e){ (this.Master as PortalMaster).AddAjaxSetting(button, panel, loading);}ajax.AjaxSettings.AddAjaxSetting(ajaxified, updated, loading); line. All variables are pointing to correct objects (ajax, button, panel, loading).I have developed my site in following environment.
.netframework 2.0
ajax 2.0 where there is no issue
I am running my site in following environment.
.net framework 4.0 wihout converting it into 4.0
Getting following types of error.
Microsoft JScript runtime error: 'RadMenu' is undefined
Microsoft JScript runtime error: 'RadTabStrip' is undefined
Microsoft JScript runtime error: 'RadControlsNamespace' is undefined
Microsoft JScript runtime error: 'RadGridNamespace' is undefined
Microsoft JScript runtime error: 'RadTabStrip' is undefined
what should be done to solve this issue?
<TimeSlotContextMenus> <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server"> <Items> <telerik:RadMenuItem Text="Peter" /> <telerik:RadMenuItem Text="Adam" /> <telerik:RadMenuItem Text="Niclas" /> <telerik:RadMenuItem Text="Jones" /> </Items> </telerik:RadSchedulerContextMenu> </TimeSlotContextMenus>Is it possible? If so, how do I do it?
I'm using C# and the Rad v2010.3.1317.40.
Sincerely, Thomas