Grid - forcing a full page reload?

1 Answer 138 Views
Grid
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
Larry asked on 29 Nov 2022, 04:36 PM | edited on 29 Nov 2022, 07:22 PM
For some reason when I click a Save button in a grid column, it's firing OnInitializedAsync after the page has already been loaded.  I don't want values I initialize to be re-initialized when I click the Save button.  How can I stop an interaction with the grid from firing OnInitializeAsync?  The grid seems to be forcing a full page re-load instead of just re-drawing the grid.
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
commented on 30 Nov 2022, 05:02 PM

I needed to change ButtonType="ButtonType.Submit" to ButtonType="ButtonType.Button"

1 Answer, 1 is accepted

Sort by
0
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 30 Nov 2022, 05:02 PM
change ButtonType="ButtonType.Submit" to ButtonType="ButtonType.Button"
Tags
Grid
Asked by
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Larry
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or