This is a migrated thread and some comments may be shown as answers.

Popup Edit Form - CSS and Z-Index Questions - How To Use In DIV With Overflow: Hidden?

1 Answer 171 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jgill
Top achievements
Rank 1
jgill asked on 16 Nov 2009, 03:26 AM
Hello,
I'm having some issues trying to use the Popup Edit Form in a RadGrid that is located inside a DIV with the overflow set to hidden.  When Insert/Edit is clicked in the RadGrid the PopupEdit form is displayed, but it is cut off due to the DIV overflow requirement (due to the rest of the layout, the div needs to retain the overflow: hidden).

Is there a way to get the Popup Edit form to show without the window contents being cut off despite the container div having a overflow setting of hidden, other that re-positioning the Popup so it does not appear near the edges (if this is the only way, then is it possible to not allow the user to move the Popup)?

        RadGrid1.MasterTableView.EditMode = GridEditMode.PopUp 
        RadGrid1.MasterTableView.EditFormSettings.PopUpSettings.Modal = True 

/* column container */ 
.containerinmulticolumn { 
    position:relative;   
    clear:both; 
    float:left; 
    width:100%;         /* width of whole page */ 
    overflow:hidden;        /* This chops off any overhanging divs...some some CSS left out of post */ 


1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Nov 2009, 04:13 PM
Hello jgill,

"Is there a way to get the Popup Edit form to show without the window contents being cut off despite the container div having a overflow setting of hidden"

No, I am afraid this is not possible. The observed behavior is in accordance with the CSS standards.

In your case I suggest you to not use a popup edit form or reposition it with Javascript. You may also modify its width and height. The popup edit form can always be moved by the user.

Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
jgill
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or