ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Uncaught deleteGrid not Initzialized
Title:
B
I
{code}
?
I added following line to my code to be able to Delete a row in the grid new Column { ClientFormat = Html.InlineDeleteFormatForGrid(grid, "UserID",false,"Abbrechen"), Width = 55, CssClass = "center" } There is now a Column more in the Grid end. It shows a Button but without any Icon in it just empty. When the button is pushed. following error appears in Console: `Uncaught deleteGrid not initialized -> AwesomeMVC.js:2276` I am using awesomeMVC 6.0 on Chrome Version 81.0.4044.138 (Offizieller Build) (64-Bit)
Save Changes
Cancel
c4
asked at 14 May 2020
Answers
B
I
{code}
?
that means, the popup "deleteGrid" is not initialized, and you're trying to open it; in our demos we call something like: `@Html.InitCrudPopupsForGrid("DinnersGrid", "DinnersGridCrud")` which initializes the `InitPopupForm` for Create, Edit and Delete, you can see example here: https://demo.aspnetawesome.com/GridCrudDemo
Save Changes
Cancel
Omu
answered at 14 May 2020
Allright thanks for the Help. It is working, but still there is no Delete or any Icon in the button its just empty. Can you please tell me how to adapt this?
at 15 May 2020
c4
it's a css problem, follow the "optional" instructions here: https://www.aspnetawesome.com/learn/mvc/Installation
at 15 May 2020
Omu
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