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

How to set position for popup windows close[x] button

1 Answer 235 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
sharon
Top achievements
Rank 1
sharon asked on 13 Apr 2016, 07:23 AM

Hi!

    I use popup edit mode for Add New button in the Grid, as below

  <EditFormSettings UserControlName="../UserControl/Detail.ascx" EditFormType="WebUserControl" PopUpSettings-Height="300px" PopUpSettings-Width="350px"><EditColumn UniqueName="EditCmdFrm"></EditColumn>

   I need to know how to set the position for popup windows close[x] button, as my [x] close button not displaying correctly on the screen, see attached file.

Thanks in advance!

SH

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 14 Apr 2016, 09:06 AM
Hi,

The close image is placed in a div with CSS class rgHeader. In order to target the images in the popup edit form header you can use the following selector.

.rgEditForm .rgHeader img {
}


With that said, it seems that custom styles are applied to the RadGrid. Please remove any custom styles that are added to the page and see if the behavior changes.

Regards,
Viktor Tachev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Ajax
Asked by
sharon
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or