postback confusion - checkedchanged event and fresh data????

J

jobs at webdos

I have form with a checkbox with autopostback. When I click on the form
I want to update a table with the boolean and stamp a datatime field,
then come back and display *EXACTLY* what is in the db for the boolean
and datetime field. I've tried every combination testing ispostback and
forcing postbacks with return. I either end up having to click twice or
am finding that what's on screen is not matching the db.

Presuming the checkbox is autopostback and that I have a sub called
refresh() to refresh form fields with current data and have a sub
called update() to load *curent* form data into data.. how do I
accomplish this basic task.

Also, what's the best way to force postback from asp.net? return?
How do I overrider Page_Unload?
 

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

Latest Threads

Top