FormView insert with UpdatePanel

D

DavidC

I am using a FormView inside an ajax updatepanel to insert records into a SQL
table and it works fine. The reason for Ajax is that when I choose one
dropdown it resets the choices in other dropdowns. My dilemma is that after
the record is inserted, the FormView clears all data fields and I want to
reset them to the same default values as when I opened the FormView. What
event would I use, given that the FormView is in an UpdatePanel? I tried
using the Inserted event but it did not reset the values. Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top