AjaxMapControl with MasterPages Problem!

Topics: General Topics
Nov 13, 2006 at 7:09 AM

It seems AjaxMapControl doesn't work correctly with MasterPages. Did anyone try this before?

A found that, the MasterPage puts prefixes to the tag ID-s. Something like this: ctl00ContentPlaceHolder1tagname

That's why I hardcoded the AjaxMap variable name into the AjaxMap.js.

But I still have a problem with the SharpMap_BeginRefreshMap method.

It seems the WebFormDoCallback function doesn't work with MasterPages. (this function is in the AjaxMap.js, inside the SharpMapBeginRefreshMap function).

I hope there is a solution for this, and I'm sure that there are other developers who had or has the same problem.



Nov 21, 2006 at 2:37 PM
Oliver - Any luck on this problem? I plan on using SharpMap within my Master pages.
Nov 23, 2006 at 1:57 AM
As far as I remember this issue was resolved long ago. What version are you using?
Nov 23, 2006 at 10:02 AM

I have the Ajax Map Control running fine with Masterpages. Have a look in your code that you do not have any if(!Page.IsCallBack) functions or restrictions in your Page_Load method, that may be the problem...


Nov 24, 2006 at 9:14 AM
Hi guys,
i have the same problem.
What is the latest version of ajaxmap control
The link from this site is broken. Where can i download it?
Dec 11, 2006 at 11:33 AM

can anyone send or make the Ajax Extension link downloadable,...
Dec 19, 2006 at 2:30 PM
kick again,...
Dec 21, 2006 at 10:28 PM
Hi. Try this:
MNorm_Ajax3.zip of size 2.965 MB:

Regards from Argentina
Dec 29, 2006 at 12:08 PM
Thanks, but this is not my week,...i get:

"Sorry, this file is no longer available. It may have been deleted by the uploader, or has expired."

Could you maybe post it again?
Dec 29, 2006 at 4:16 PM
Try this:
Regards from Argentina
Jan 4, 2007 at 10:03 PM
Thanks !