Unplanned
Last Updated: 06 Jun 2022 11:17 by ADMIN
Daniel
Created on: 25 May 2022 05:14
Category: UI for Blazor
Type: Feature Request
1
CloseOnOverlayClick for TelerikGrid Popup

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

5 comments
ADMIN
Hristian Stefanov
Posted on: 06 Jun 2022 11:17

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.

Daniel
Posted on: 30 May 2022 22:28

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

ADMIN
Hristian Stefanov
Posted on: 30 May 2022 06:44

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/.

Daniel
Posted on: 26 May 2022 21:50

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

ADMIN
Hristian Stefanov
Posted on: 26 May 2022 13:56

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.