I would like to show the loading maptools image on partial postbacks. How can I do this?
Loading image on partial postbacks
David,
It will be easier if you use MS Ajax Extensions, the loading image can be installed “sample folder\theme\default\img\ loading.gif”, and the code is like below:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<cc1:Map ID="Map1" runat="server" Width="100%" Height="100%">
cc1:Map>
// some custome controls…
ContentTemplate>
asp:UpdatePanel>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<img alt="loading image" src="loading.gif" />
ProgressTemplate>
asp:UpdateProgress>
I’m not sure if I understood you clearly, otherwise, could give us some details about what you want?
Thanks,
Johnny
Everyone,
If you have the same question about this problem, please come with this link:
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/9337/afv/topic/Default.aspx#27066
Regards,
Don