Hello,
I've got a grid with a custom EditForm in place for inserting records (update and delete are not allowed). Rather than requiring the user to press the Add New Row button, I'd prefer to just have the edit form displaying by default when the screen loads. They should be able to type in the form, commit it, and it will refresh itself with the new data and once again show another new item form.
I assumed there would be a C# command that I could call in Page_Load that would show this form but I was not able to find it. I would highly prefer to do this in C# rather than calling the client-side API with Javascript.
I did begin to create a separate form outside of the grid, but because of my layout it really makes more sense for the insert form to be inside the grid control itself.
Thanks in advance to anyone who can tell me how to do this!
Chris
I've got a grid with a custom EditForm in place for inserting records (update and delete are not allowed). Rather than requiring the user to press the Add New Row button, I'd prefer to just have the edit form displaying by default when the screen loads. They should be able to type in the form, commit it, and it will refresh itself with the new data and once again show another new item form.
I assumed there would be a C# command that I could call in Page_Load that would show this form but I was not able to find it. I would highly prefer to do this in C# rather than calling the client-side API with Javascript.
I did begin to create a separate form outside of the grid, but because of my layout it really makes more sense for the insert form to be inside the grid control itself.
Thanks in advance to anyone who can tell me how to do this!
Chris