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

No members online now.

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,357
Latest member
RuthEsteve

Latest Threads

Top