M
Monty
[apologies if this is the wrong newsgroup, couldn't find one for atlas/ajax]
Hi all,
I have a custom server control (inherits from control) that is, essentially,
a DIV containing a table with several rows, each of which has a DIV in it.
It is basically a menu of items. When the user clicks on an item div, the
event bubbles up to the table, the table calls __doPostBack and on the
server side the item is added to another DIV (let's call it
divSelectedItems). Works like a charm, but now I'd like to use an ASP.Net
AJAX UpdatePanel to do the updating of divSelectedItems when items are
selected. I put both my server control (the menu) and my divSelectedItems in
an updatepanel, but clicking on the items still causes a full postback. For
kicks, I put a button control in the update panel and add some text to the
divSelectedItems when the button is clicked. The button works with the
UpdatePanel (ie, does not cause a full postback) but my server control does
not. How can I get the UpdatePanel to convince my server control to use it's
AJAX magic rather than doing a full postback?? TIA!
-Monty
Hi all,
I have a custom server control (inherits from control) that is, essentially,
a DIV containing a table with several rows, each of which has a DIV in it.
It is basically a menu of items. When the user clicks on an item div, the
event bubbles up to the table, the table calls __doPostBack and on the
server side the item is added to another DIV (let's call it
divSelectedItems). Works like a charm, but now I'd like to use an ASP.Net
AJAX UpdatePanel to do the updating of divSelectedItems when items are
selected. I put both my server control (the menu) and my divSelectedItems in
an updatepanel, but clicking on the items still causes a full postback. For
kicks, I put a button control in the update panel and add some text to the
divSelectedItems when the button is clicked. The button works with the
UpdatePanel (ie, does not cause a full postback) but my server control does
not. How can I get the UpdatePanel to convince my server control to use it's
AJAX magic rather than doing a full postback?? TIA!
-Monty