Update Panel inserting

D

DavidC

I have an asp.net ListView control that I use to view and insert records.
Inside the ListView, between the InsertTemplate I added an UpdatePanel so
that I can do some code and lookups using Ajax and it works perfectly.
However, when I am done and click the Insert Button inside the template I am
not getting the values in textboxes to add to the database table. If I
remove the UpdatePanel then the insert works fine and all bound fields are
inserted with entered values. Is there some setting or something I need on
the UpdatePanel to process the inserts correctly? Thanks.
 
D

DavidC

Nevermind, I guess. I put it around the entire ListView and now it works
fine. Still would like to know how to do this without encasing entire control
inside UpdatePanel.
 

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,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top