How to set size of kendo grid editor popup

1 Answer 31 Views
Editor Grid
Edney
Top achievements
Rank 1
Edney asked on 28 Feb 2025, 08:17 PM | edited on 28 Feb 2025, 08:18 PM

Environment Info: ASP for .Net Core, taghelper kendo-grid

I have defined a template for a kendo grid popup editor. 

<editable mode="popup" template-id="popup-editor">
    <editable-window title="Add/Edit Collateral"/>
</editable>

This is the template

@using Kendo.Mvc.UI

@addTagHelper *, Kendo.Mvc

@model MyApp.Web.ViewModels.MyViewModel

<div id="divEditImpliedSupport">
<form method="post" id="frmImpliedSupport" asp-action="SaveImpliedSupport" asp-controller="ReviewApi">
<input type="hidden" asp-for="CollateralID" />
<div class="row">
<div>
<formgroup>
<formlabel asp-for="CollateralDescription" ></formlabel>
<div>
<forminput asp-for="CollateralDescription" style="width:400px;"></forminput>
</div>
</formgroup>
</div>
</div>
</form>
</div>

 

How do I set the size of the popup window?

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 05 Mar 2025, 05:00 PM

Hi Edney,

 

Thank you for contacting us.

You can achieve this requirement using the following approach:

<style>
    .k-window:has(.k-popup-edit-form){
        width:600px;
        height:500px;
    }
</style>
I have prepared a live example for your convenience:
https://netcorerepl.telerik.com/mJOxaflU59LnW3Hi16

Do you find this answer helpful? Let me know what you think.

 

Regards,
Eyup
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Editor Grid
Asked by
Edney
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or