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

Closing Popup event

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Petr
Top achievements
Rank 1
Iron
Petr asked on 08 Feb 2016, 09:03 AM

Hi all,

I have a grid and I use Popup for editing row. I use client side event OnPopUpShowing to set popup position and size. The problem is that my data contains text with symbols '<>' which are not allowed for web request and I need to replace them before request is sent to server. I can do it simple by javascript when any button is clicked, but I am not able to detect closing button (from top right corner).

Is there any client-side event when popup is closing?

Or is it possible to remove/hide closing button when dialog is showing?

Thank you for any idea,

Petr

1 Answer, 1 is accepted

Sort by
0
Petr
Top achievements
Rank 1
Iron
answered on 08 Feb 2016, 09:20 AM

I hide the button by style definition:

.rgEditForm .rgHeader a {
    display: none;
}

The problem is solved.

Tags
Grid
Asked by
Petr
Top achievements
Rank 1
Iron
Answers by
Petr
Top achievements
Rank 1
Iron
Share this question
or