ASP.net
Awesome
Learn
Forum
Buy
Sign In
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 24 days ago
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
o
answered 24 days ago
Thank you SiR o!
23 days ago
c4
please
Sign In
to leave an answer