RadControls for ASP .NET AJAX version
2010.2.713 and later
3.5 and later
|Visual Studio version
2008 or later
all browsers supported by RadControls for ASP .NET AJAX
When using the PopUp edit form in RadGrid
, the default location the popup appears in may not always meet the needs of the project. You may need to position the popup edit form on the center of the grid, the viewport or immediately below or above the edited item. This code library project gives you an ASP.NET AJAX extender control
that can be used to customize the popup location in RadGrid.
provides easy configuration for the display position
of the RadGrid
Popup edit form.
To setup the
- Enable the Popup edit mode in RadGrid (
- Add a
to your page and set the
TargetControlID of the extender
to the ID of the RadGrid.
Once the extender is attached to RadGrid, you
can configure the following extender properties:
RelativeTo - specifies the
object relative to which the popup will be positioned.
specifies the horizontal alignment of the popup relative to the
specifies the vertical alignment of the popup relative to the specified
specifies the offset (in pixels) from the specified horizontal position
and relative object.
VerticalOffset* - specifies
the offset (in pixels) from the specified vertical position and relative
EnablePopupMove - specifies
whether the popup can be dragged.
* The HorizontalOffset
properties are not applied when the HorizontalPosition
properties are set to Center
When the GridPopupPositionExtender is attached to RadGrid, the position of the edit form that is opened each time you edit an item will be set by the extender based on the setting you have defined.