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 add Cancel button Grid with InlineEditing
Title:
B
I
{code}
?
I want to be able to click on the edit button and have save and cancel button show up, right now I have only Save button. Can you direct me to an example? Html.Awe().Grid("ValidationGrid") .Mod(o => o.PageInfo().InlineEdit(Url.Action("ValidationSave"), Url.Action("ValidationSave"), true, false, false))
Save Changes
Cancel
Riya Dasgupta
asked at 26 Jun 2024
Answers
B
I
{code}
?
There's a demo here: https://demo.aspnetawesome.com/GridInlineEditDemo that you could use as a guide there you can see in the view code that the `Html.InlDeleteColumn(gridId)` helper is used to generate the necessary html for the delete/cancel button (cancel when the row is in edit mode)
Save Changes
Cancel
Omu
answered at 27 Jun 2024
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