basically what I am trying to achieve is this (asp.net 4) :
- If a user does a postback on an ImageButton or similar control it should cause a page Post, and go through the entire asp life cycle.
- If this has just happened, and the user presses F5 or similar to refresh, it should ignore all events from the previous post and just do a regular Get.
- If the user clicks Save multiple times it should register only 1 Post and not cause duplicates being created etc.
- If there are update panels on the page, a Post should only update the panels data, whereas a Get(refresh) should reload the entire page.
- It causes unnecessary overhead doing two page Posts every save
- I would like to have regions of the page in Update Panels, and at the moment if you change something and save it in one region, it reloads the entire page.