Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Collapse]DevExpress.Web.ASPxScheduler.Scripts
   [Expand]ActiveViewChangingEventArgs Class
    ActiveViewChangingEventHandler Delegate
   [Expand]AppointmentClickEventArgs Class
    AppointmentClickEventHandler Delegate
    AppointmentDragEventHandler Delegate
    AppointmentDropEventHandler Delegate
   [Expand]AppointmentPropertyNames Class
    AppointmentResizeEventHandler Delegate
    AppointmentResizingEventHandler Delegate
   [Expand]AppointmentsSelectionEventArgs Class
    AppointmentsSelectionEventHandler Delegate
   [Expand]ASPxAppointmentType Class
   [Expand]ASPxClientAppointment Class
   [Expand]ASPxClientAppointmentDeletingEventArgs Class
    ASPxClientAppointmentDeletingEventHandler Delegate
   [Expand]ASPxClientAppointmentDragEventArgs Class
   [Expand]ASPxClientAppointmentDragInfo Class
   [Expand]ASPxClientAppointmentDropEventArgs Class
   [Expand]ASPxClientAppointmentFlags Class
   [Expand]ASPxClientAppointmentOperation Class
   [Expand]ASPxClientAppointmentResizeEventArgs Class
   [Expand]ASPxClientAppointmentResizingEventArgs Class
   [Expand]ASPxClientAppointmentToolTipShowingEventArgs Class
    ASPxClientAppointmentToolTipShowingEventHandler Delegate
   [Expand]ASPxClientDailyRecurrenceControl Class
   [Expand]ASPxClientFormBase Class
   [Expand]ASPxClientMonthlyRecurrenceControl Class
   [Expand]ASPxClientPoint Class
   [Expand]ASPxClientRect Class
   [Expand]ASPxClientRecurrenceControlBase Class
   [Expand]ASPxClientRecurrenceInfo Class
   [Expand]ASPxClientRecurrenceRange Class
   [Expand]ASPxClientRecurrenceRangeControl Class
   [Expand]ASPxClientRecurrenceType Class
   [Expand]ASPxClientRecurrenceTypeEdit Class
   [Collapse]ASPxClientScheduler Class
     ASPxClientScheduler Members
     ASPxClientScheduler Constructor
    [Expand]ASPxClientScheduler Events
    [Collapse]ASPxClientScheduler Methods
      AppointmentFormCancel Method
      AppointmentFormDelete Method
      AppointmentFormSave Method
     [Expand]Cast Method
      ChangeFormContainer Method
      ChangePopupMenuContainer Method
      ChangeTimeZoneId Method
      ChangeToolTipContainer Method
      DeleteAppointment Method
      DeselectAppointmentById Method
      GetActiveViewType Method
      GetAllDayAreaHeight Method
      GetAppointmentById Method
      GetAppointmentProperties Method
      GetGroupType Method
      GetResourceNavigatorVisible Method
      GetScrollAreaHeight Method
      GetSelectedAppointmentIds Method
      GetSelectedInterval Method
      GetSelectedResource Method
      GetToolbarVisible Method
     [Expand]GetTopRowTime Method
      GetVisibleAppointments Method
      GetVisibleIntervals Method
      GotoDate Method
      GoToDateFormApply Method
      GoToDateFormCancel Method
      GotoToday Method
      HideLoadingPanel Method
      InplaceEditFormCancel Method
      InplaceEditFormSave Method
      InplaceEditFormShowMore Method
      InsertAppointment Method
      NavigateBackward Method
      NavigateForward Method
      PerformCallback Method
     [Expand]Refresh Method
      RefreshClientAppointmentProperties Method
      ReminderFormCancel Method
      ReminderFormDismiss Method
      ReminderFormDismissAll Method
      ReminderFormSnooze Method
     [Expand]SelectAppointmentById Method
      SetActiveViewType Method
      SetAllDayAreaHeight Method
      SetGroupType Method
      SetHeight Method
      SetResourceNavigatorVisible Method
     [Expand]SetSelection Method
      SetToolbarVisible Method
     [Expand]SetTopRowTime Method
      ShowAppointmentFormByClientId Method
      ShowAppointmentFormByServerId Method
     [Expand]ShowInplaceEditor Method
      ShowLoadingPanel Method
      ShowSelectionToolTip Method
      UpdateAppointment Method
   [Expand]ASPxClientSchedulerRefreshAction Class
   [Expand]ASPxClientSchedulerToolTipData Class
   [Expand]ASPxClientTimeInterval Class
   [Expand]ASPxClientToolTipBase Class
   [Expand]ASPxClientWeekDays Class
   [Expand]ASPxClientWeekDaysCheckEdit Class
   [Expand]ASPxClientWeeklyRecurrenceControl Class
   [Expand]ASPxClientWeekOfMonth Class
   [Expand]ASPxClientYearlyRecurrenceControl Class
   [Expand]ASPxSchedulerDateTimeHelper Class
   [Expand]ASPxSchedulerGroupType Class
   [Expand]ASPxSchedulerViewType Class
   [Expand]CellClickEventArgs Class
    CellClickEventHandler Delegate
   [Expand]DailyRecurrenceValuesAccessor Class
   [Expand]DefaultRecurrenceRuleValuesAccessor Class
   [Expand]MenuItemClickedEventArgs Class
    MenuItemClickedEventHandler Delegate
   [Expand]MonthlyRecurrenceValuesAccessor Class
   [Expand]MoreButtonClickedEventArgs Class
    MoreButtonClickedEventHandler Delegate
   [Expand]ShortcutEventArgs Class
    ShortcutEventHandler Delegate
   [Expand]WeeklyRecurrenceValuesAccessor Class
   [Expand]YearlyRecurrenceValuesAccessor Class
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxClientScheduler.ChangePopupMenuContainer Method

Changes the container that the ASPxScheduler pop-up menu belongs to.

Namespace:DevExpress.Web.ASPxScheduler.Scripts
Assembly:JavaScript

Expanded Syntax

Parameters

container
Type: Object
An object that serves as the new container for the pop-up menu.

Expanded Remarks

If ASPxScheduler control is placed within a container control, there might be a situation where scheduler's pop-up menus overlap the container borders (IE6 and IE7). When it happens, menus get clipped. A real situation - the ASPxScheduler inside the ASPxSplitter.

The ChangePopupMenuContainer method is implemented to overcome this obstacle. This method enables you to pull the menus out to the form's level so they can be displayed intact. In this simple case, one line of code is enough:

To restore the menu in its original container, call this method as follows:

In a situation where the ASPxScheduler is placed within the ASPxCallbackPanel, you have to put menu back in its original container before the ASPxClientCallbackPanel.PerformCallback is called. This is important, because menus are re-created when the Scheduler is reloaded after the callback. Then, the container is changed again to remove clipping. The following code snippet illustrates how to accomplish this task:

Expanded See Also

How would you rate this topic?​​​​​​​