Hi Nick,
I settled on sending back multiple html snippets and parsing out the result.
The project is here:
http://code.google.com/a/apache-extras.org/p/ajax4click/
with docs here:
http://code.google.com/a/apache-extras.org/p/ajax4click/wiki/jQueryAjax
If you want to make multiple calls back to the server you need to send the Controls ID in the Ajax
request in order to target only that Control and it's behavior.
regards
Bob
On 2011/07/15 22:17 PM, Nicholas Dierauf wrote:
Hello,
I have figured out to dynamically update a single control using behaviors and Ajax, but I need to
dynamically update multiple controls (panels and forms) when a user clicks a button. I know that I
can return a response of concatenated html for each of these controls and have the resulting
JavaScript parse out and update the controls. But I am looking for a more elegant solution. Is it
possible to make individual Ajax calls to return html for each of the controls, and if so, how
would I set up AjaxBehviors (on a Panel, for example) and call these Behaviors (url's, parameters,
etc)?
Thank you,
Nick.