ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid Crud Popup Demo when the Entity has an Id not called "Id"
Title:
B
I
{code}
?
I am following your Grid Crud Popup Demo. When i was trying to Edit new Column { ClientFormat = Html.EditFormatForGrid(grid), Width = 30 }.Mod(o => o.Nohide()) I always got a Null Referrence because of the missing ID But i had the id in the Column new Column { Bind = "PrinterID", Width = 50, Hidden = true }.Mod(o => o.Nohide()), and also where to Change, the Windows Text, Okay and Cancel Button Text ?
Save Changes
Cancel
c4
asked at 20 Nov 2019
Answers
B
I
{code}
?
please read the comment above `public class DinnersGridCrudController : Controller` from here: https://demo.aspnetawesome.com/GridCrudDemo click "show code" -> controller tab -> read comments above the mentioned line if you're using the `InitCrudPopupsForGrid` html helper from our demos, and you want to change buttons texts you'll have too look inside this helper and set the texts on the `InitPopupForm` helpers called inside it.
Save Changes
Cancel
Omu
answered at 20 Nov 2019
Thank you SiR o!
at 21 Nov 2019
c4
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