How Can Edit Popup Windows in Grid

1 Answer 17 Views
Grid
Abdulsalam Elsharif
Top achievements
Rank 2
Iron
Iron
Abdulsalam Elsharif asked on 01 Sep 2021, 01:13 PM

Hello

I used popup window to edit a row in grid, I want to know how can I customize the popup windows (Edit title, Size, Hide some fields, Submit button title ,,, etc)

Anyone can help please? 

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar
Telerik team
answered on 03 Sep 2021, 04:18 PM

Hello Abdulsalam Elsharif,

There are two approaches you can try or a combination of both of them:

Option 1: Use a custom template for the popup window that appears when you edit a record in the Grid. Here is a project that uses UI for AST.NET MVC and demonstrates how we can define a custom editor template for the Grid. 

Option 2: Use the edit event of the Grid. In the function executed when the event is triggered, use Javascript/jQuery selectors to get a reference to the elements you want to change in the popup window. Once you have the references, in the same function you can apply the desired changes.

I hope the above details will help you implement what you need in your application. 

Regards,
Petar
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.

Tags
Grid
Asked by
Abdulsalam Elsharif
Top achievements
Rank 2
Iron
Iron
Answers by
Petar
Telerik team
Share this question
or