Ticket T178174
Visible to All Users

ASPxPopupControl - Header has incorrect size

created 10 years ago

[DevExpress Support Team: CLONED FROM T176651: How to display ASPxGridView in the modal popup window]
Thank you very much for your help. I got the pop-up control to work. On the default page there is the button that opens up the pop-up. In the pop-up there is a grid, an item can be selected, and when Return Selection button is clicked, it returns several fields back to default (parent) page and pre-fills several form fields. NOW my problem is the way the pop-up looks and loads. I'm not sure why it is acting funny.
- the pop-up control looks different when clicked a second/third/etc time. Pop-up.jpg (first time clicked), i close pop-up, then click again, Pop-up2.jpg (second/third/etc time clicked). The header area blows up.
Thank you for your help in advance.

Show previous comments (3)
DevExpress Support Team 10 years ago

    Hi Welch,

    I've reviewed the provided file, but don't see any reason why the popup header increases its height when you click it several times. The older version should not affect anything. It looks like there are certain CSS classes code behind that affects this. Would you please provide us with a project that illustrates the issue?

      Hello Gosha,
      What i attached is exactly what is causing my issue. When i set a height, the popup looks exactly like the screenshot with header all blown up. When height is NOT set, the popup screen that looks normal comes up. BUT, sub-sequent clicks at random will popup with the blown up header. Additionally, there are no code behind CSS classes in the lastest PopUpTest.zip. This is quite frustrating as the sample you all provided works just fine, but when code is carried over to my project it has these issues…
      Thank you.

      DevExpress Support Team 10 years ago

        Hello,

        I created a sample project based on the code from your attachment. I tested it in Google Chrome, Firefox and IE11 browser. However, I cannot reproduce the issue. I've attached my sample project with a screencast for your reference.

        As for the possible cause of this issue, I agree with Gosha - commonly, this kind of problem is caused by specific CSS styles. Probably, you have referenced global CSS stylesheet (for instance, defined in you Master page), or you use a custom theme. I recommend you try the techniques from the K18570 - How to inspect CSS rules article - it will help you research CSS in action and find what rules cause this behavior. If this would not help, please modify my project to demonstrate the issue and send it back to me for further research. In this case, specify browsers' family/version that should be used for testing.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.