I have a button on a page and an xmlhttppanel that encloses an asp:Literal. Users click the button and a webservice is invoked that returns 3 comboboxes and another button into the Literal.
My intention is that the users may select items in the comboboxes, click the button, the webservice is invoked again and I am able to inspect any of the controls within the form of the page within the webservice. I want to repeat this several times, each time returning a different combination of comboboxes, radiobuttons and other html elements.
My motivation is I do not want to post the entire page back, I want to update the Literal only. Because my html will change each time, its difficult to write a single javascript function to collect all values of html controls on the page and submit them to the web service.
Is there a way to access the page form from the webservice using xmlhttppanel? If not, is there a better approach?