AJAX loading previous web user control

Associate
Joined
20 Jan 2005
Posts
386
Location
Crewe, Cheshire
Hi,

Hopefully I can do this.

On an aspx page I have an updatepanel and two buttons (previous and next).
The updatepanel is populated with a web user control, and each time you click on a button the idea is that it changes the user control; forward one if you click next, and back one if you click previous.

The 'next' button works well, but since this has been done in AJAX and doesn't postback, my 'previous' button is always greyed out.

I have looked around and found it is possible to force AJAX to postback, but this is for a whole page.

Would I be able to go to the previous user control page in the updatepanel?

FYI, the code to change the user controls is based on ID's for each page. So I can get the ID to change the user control, I just can't change it.
 
Back
Top Bottom