I'm trying to write my first web app using RadGrids.
As far as design is concerned, the grid data source is set in the NeedDataSource event. The editing of records is done in a FormTemplate popup that contains conventional ASP.Net DropDownlists. The DropDowns are bound in the ItemCreated event.
All of this works so far. I can both add and edit records.
First of all, is the above conventional design practice?
My problem is that I'm trying to trigger a shift to Add mode when initially loading the page, to immediately display the template popup. My first test using PreRender and RadGrid1.MasterTableView.IsItemInserted = true went well, but that was with a simple screen with default Popup. When I try to do this anywhere in the code with the above screen, I get crashes related to the dropdowns no matter where I put the IsItemInserted.
Suggestions?
As far as design is concerned, the grid data source is set in the NeedDataSource event. The editing of records is done in a FormTemplate popup that contains conventional ASP.Net DropDownlists. The DropDowns are bound in the ItemCreated event.
All of this works so far. I can both add and edit records.
First of all, is the above conventional design practice?
My problem is that I'm trying to trigger a shift to Add mode when initially loading the page, to immediately display the template popup. My first test using PreRender and RadGrid1.MasterTableView.IsItemInserted = true went well, but that was with a simple screen with default Popup. When I try to do this anywhere in the code with the above screen, I get crashes related to the dropdowns no matter where I put the IsItemInserted.
Suggestions?