Forums

using CallbackPanel and inserting data into database from a form

Last post 9/25/2008 3:39 PM by Joe Ehrenfeld. 0 replies.
Sort Posts: Previous Next
  • Joe Ehrenfeld

    using CallbackPanel and inserting data into database from a form

    9/25/2008 3:39 PM
    • Not Ranked
    • Joined on 7/2/2008
    • Posts 83

     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.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.