Hi I was wondering if there is a way for us to have the functionality of CloseOnOverlayClick like on Dialogs for the Create/Edit Popup in the TelerikGrid?
I can't seem to find the option within the TelerikGrid -> GridSettings -> GridPopupEditSettings component
Thanks,
Daniel
Hi Daniel,
Thank you for clarifying.
I confirm the feature here will stand for a CloseOnOverlayClick parameter in the Grid popups. Similar to how it is in the Window and Dialog.
I've also updated my last response.
Regards,
Hristian Stefanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Hristian,
I don't think they are similar, the CloseOnOverlayClick already exists on both the Dialog and Window. All I am requesting is to be able to set that for the Grid's popup, I don't see the need for an event to be fired if they are cancelled.
At the moment our application utilize CloseOnOverlayClick on all Dialogs and Windows, so it's a bit of a disjoint UX to also not have that functionality on the TelerikGrid CRUD Operations.
A simple example of what I would like to achieve:
```
<TelerikGrid OnRead=@HandleRead OnUpdate=@HandleUpdate OnCreate=HandleCreate OnDelete=HandleDelete ConfirmDelete=true EditMode=GridEditMode.Popup>
<GridSettings>
<GridPopupEditFormSettings Columns=2 ColumnSpacing="12px" />
<GridPopupEditSettings MaxWidth="520px" Width="100vw" CloseOnOverlayClick="true" />
</GridSettings>
<GridColumns>
...Normal TelerikGrid Columns here
</GridColumns>
</TelerikGrid>
```
Thanks,
Daniel
Hi Daniel,
Thank you for providing additional details.
I'm marking this item as "Unplanned". As a creator of the feature request, you will receive email notifications for future status updates.
Regards,
Hristian Stefanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hey Hristian,
I would probably say that the functionality of the CloseOnOverlayClick would be the same as just clicking the close button of the popup (which already appears for the TelerikGrid popups).
Thanks,
Daniel
Hi Daniel,
While reviewing the described functionality, one extra question appeared on my mind. If it's convenient, let's cover it below.
What is the expected behavior when the popup closes with the potential functionality (CloseOnOverlayClick) - to cancel the editing or confirm the changes from the editing?
I look forward to your reply.
Regards,
Hristian Stefanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.