in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

using CallbackPanel and inserting data into database from a form

Last post 9/25/2008 3:39 PM by Jooe Ehrenfeld. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 9/25/2008 3:39 PM

    using CallbackPanel and inserting data into database from a form

     What is the best way to code the following:

    I have a user form with various input controls. The user fills them out, clicks submit and the data from the form is inserted into the database. I would like to show an "Adding record to database" message as the data is being processed, then hide the form and show a confirmation panel. I have done this in the pass with AJAX using an UpdatePanel, but would like to try and get this to work with the CallbackPanel. I am also using Required Validation controls so I would like that to fire first, if Valid then insert data and show confirmation. If error then show error message on top of the form. I have code for inserting into database and gathering info from the form. Just not sure when or how to use CallbackPanel control, hiding-showing Panel controls and handling validation.

    Thanks.

Page 1 of 1 (1 items)
Copyright © 1998-2009 Developer Express Inc.
ALL RIGHTS RESERVED