Ajax control refresh

Topics: Web Controls
Oct 29, 2007 at 3:59 AM
Edited Nov 2, 2007 at 2:09 AM
I am trying to update the contents of an AjaxMapControl using some client-side JavaScript code without doing a post-back of the whole page.

I would like that the contents of one of my layers changes according to the user's selection in a drop-down list.

I have tried this:
<asp:DropDownList ID="DropDown1" runat="server" DataSourceID="DataSource1" DataTextField="des" DataValueField="Id" onchange="SharpMapBeginRefreshMap(ctl00ContentPlaceHolder1_ajaxMapObj,1);">

but it doesn't work.

Any help will be very appreciated.

Regards,
Germán Schuager.
Nov 2, 2007 at 2:09 AM
Any hint?
Coordinator
Nov 2, 2007 at 2:39 AM
Sorry mate - I for one know very little about the Ajax control. Support for it has been flagging a bit lately, but could resume if someone assumes the mantle of development for the v2.0 version.
Nov 2, 2007 at 2:58 AM


codekaizen wrote:
Sorry mate - I for one know very little about the Ajax control. Support for it has been flagging a bit lately, but could resume if someone assumes the mantle of development for the v2.0 version.


Thanks anyway. :)