Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ListView > nested inserts <RadGrid><RadListView /></RadGrid>

Not answered nested inserts <RadGrid><RadListView /></RadGrid>

Feed from this thread
  • Charles avatar

    Posted on Nov 10, 2011 (permalink)

    I have a RadGrid being populated by an IEnumerable list of custom business objects (Orders). I am trying to compile a list of line items to add to the new order prior to saving (creating & inserting order in database) I am using a PopUp edit form for the RadGrid that has a RadListView on it. What is the best way to populate a list of items in memory that can be used both to databind to the RadList and create line items when the user chooses to "save" the Order? I can't save the list to the database, because an Order must exist first to reference to.

    Reply

  • Tsvetina Tsvetina admin's avatar

    Posted on Nov 15, 2011 (permalink)

    Hi Charles,

    You could keep your data in the Session and write it to database only when required. You can see how we use a DataSet to populate RadGrid in Session and then the insert/update operations inside the control are saved in it at this address:
    Grid / Using Server-side API

    All the best,
    Tsvetina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ListView > nested inserts <RadGrid><RadListView /></RadGrid>
Related resources for "nested inserts <RadGrid><RadListView /></RadGrid>"

ASP.NET ListView Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]