Data in Datalist not refreshing

H

halligas

Strange problem in a complex webform, but let me try to boil it down
to a simple (heh) question.

I have a datalist that is bound to a sqldatasource. In the header of
this datalist is a formview in insert mode bound to the same
sqldatasource.

If I enter data for a new record in the formview and click the insert
button, I have it properly adding the data to the sql table and
refreshing the datalist. The new entry correctly shows up in the
datalist.

However, if I navigate away from the page and them come back to look
at the same list, I see only the items that were in the list PRIOR to
my last insert(s). F5 usually (always?) will force the page to
refresh and all the data will show up.

So, is something saved in the viewstate that I am reverting to when I
ago away and back to the page?
 

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,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top