ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to pass title in grid edit popup
Title:
B
I
{code}
?
I am using grid crud popup as below columns.Add(new Column { ClientFormat = GridUtils.EditFormatForGrid("ActivityNoteGrid", "ActivityNoteID"), Width = 32 }.Mod(o => o.Nohide())); columns.Add(new Column { ClientFormat = GridUtils.DeleteFormatForGrid("ActivityNoteGrid", "ActivityNoteID"), Width = 50 }.Mod(o => o.Nohide())); When the popup loads I want some text in title of popup, currently it shows "Edit ControllerNameIHave" in title, I want different title, how to achieve that ?
Save Changes
Cancel
SalesARM
asked at 09 Sep 2021
the `GridUtils.EditFormatForGrid` generates a call to `awe.open` like here: https://demo.aspnetawesome.com/PopupDemo#Open-without-initialization you can see in the mentioned demo that the title can also be specified, you can modify the `EditFormatForGrid` or create another method where you'll have title as a parameter
at 09 Sep 2021
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK