Have you ever tested the map with the radajaxmanager control from telerik? when i use radajaxmanager with thinkgeo map the map becomes blue and i dont see my layers.
thanks for your help
Have you ever tested the map with the radajaxmanager control from telerik? when i use radajaxmanager with thinkgeo map the map becomes blue and i dont see my layers.
thanks for your help
Hi, Sebastien
I am sure the map control could work with RadAjaxManager well, that’s because we had encountered the related problems about RadAjaxManager control but it can work with some other problems. You could refer to the post below in detail:
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/7543/afv/topic/Default.aspx
If you still have this problem please provide us the code and necessary dlls to run it so that we could re-create it and address it quickly.
Sorry for the inconvenience caused to you.
Thanks,
Khalil
i made a sample application to show you the problem but the telerik dll is 15 MegaBytes, how can i send it to you ?
thanks for your help
Hi, Sebastien
I have downloaded the Telerik.Web.UI.dll just now from the link below:
telerik.com/account/free-trials/trial-product-versions/single-trial.aspx?pmvid=2214&pid=0
If I just need this dll so please attach the sample code directly.
But iif I I also need to refer to other dlls, and it’s big so you may send it to support@thinkgeo.com and ask him to forward me.
Thanks,
Khalil
here is the sample i ve talked to you about.
you just need the telerik.web.ui.dll and Telerik.Web.Design.dll i use the 2010Q1 version.
there is no need to install telerik just put the dll as reference.
thanks for your help
radajaxmanagerFail.zip (2.74 KB)
Hi, Sebastien
The problems is caused by that we can't find the httpHandlers section and handlers section in the web.config of vs2010.
In the .NET Framework 4, the major configuration elements have been moved to the machine.config file, and now applicaions now inherit these settings, and so that we can't find these sections. Here is a workaround for you temporarily, add the necessary sections manually and please see the attached image for full detail.
Sorry for the inconvenience caused to you.
Thanks,
Khalil
configuration.zip (62.1 KB)
i am using the 3.5 version in visual studio 2008.
Hi, Sebastien
I noticed that you have mentioned that you used Telerik.Web.Design.dll of the 2010Q1 version, so I downloaded it and I can’t put the dll as reference in vs2008 but in vs2010 it can work. So I guess the dll is built on .NET Framework 4.0.
So I have tested it in vs2010 and it works well.
Thanks,
Khalil
i am using the 2010Q1 version compiled in the 3.5 framework version. you can not put a 4.0 dll in vs2008 and it is normal, you have to work with the 3.5 version.
Sorry for that, I guess I download a wrong version for Telerik.Web.UI.
Now that I have got the right verison for .net 3.5 framework, and also it works well. I just modified the CurrenExtent and register the necessary assembly in the TestRadAjaxManager page. Please refer to the solution in the attached file.
Another thing is that make sure your web.config file is not read-only and not checked in to source control such as TFS. That's because we need to register the httphandlers in it.
If you still have this problem please provide us detail information about the version of WebEdition you are consuming.
Thanks,
Khalil
WebApplication.zip (125 KB)
i use the 4.0.10.0 version and i still have the problem.
Can you see the layers in the attached project?
I have given the version of 4.0.10.0 a try and I also don't find any problems and it could works well.
Can you post the screenshot or exception trace information for your problem?
Thanks,
Khalil
see enclosed file
i use firefox and the folowing url return a blue image.
localhost:2264/bg_GeoResource.axd?ClientID=Map1&PageName=TestRadAjaxManager&Fresh=46474647&Format=image/png&Quality=100
radajaxmgr_PB.jpg (7.22 KB)
The URL you attached is used to set the background brush for map control, but Google maps will provide the background by default so that you could remove the code for setting the BackgroundBrush and try it again.
Also you need to confirm that the code below is located on httpHandlers section in your web.config file:
<add type="ThinkGeo.MapSuite.WebEdition.GeoResourceFactory" verb="*" path="*_GeoResource.axd"></add>
And the code below is included in the handlers section in your web.config file:
<add type="ThinkGeo.MapSuite.WebEdition.GeoResourceFactory" verb="*" path="*_GeoResource.axd" precondition="integratedMode" name="GeoResource"></add>
And you need to clear all cache for browser.
If you still can't work it well, please send us the entire solution to me.
Thanks,
Khalil
i ve done everything you told me.
now when i click on the button the map disappear, in firebug the following url returns a with image.
localhost:3352/bg_GeoResource.axd?ClientID=Map1&PageName=TestRadAjaxManager&Fresh=58185818&Format=image/png&Quality=100 gived
in the console i have javascript warning : reference to undefined property window.pageLoad, in the following code
function Sys$_Application$raiseLoad() {
/// <summary locid="M:J#Sys.Application.raiseLoad" />
if (arguments.length !== 0) throw Error.parameterCount();
var h = this.get_events().getHandler("load");
var args = new Sys.ApplicationLoadEventArgs(Array.clone(this._createdComponents), !this._initializing);
if (h) {
h(this, args);
}
if (window.pageLoad) {
window.pageLoad(this, args);
}
this._createdComponents = [];
}
the code is from MicrosoftAjax.debug.js.
I dont really understand how you can make it work we have the same dll. The radajaxmanager never works using older or newest version of telerik or your map. this is weird.
Hi, Sebastien
The version of Telerik web ui controls I am using is 2010.1.519.35.
The map disappears is caused by that you put the map control under the UpdateControls of RadAjaxManager control. You could see it in the attached project, I comment it and it could works. In the attached project I dump the map control into UpdatePanel and set the button as async postback trigger and so it could be partially rendered without a postback. I don't how RadAjaxManager works so I just use the UpdatePanle which ASP.NET AJAX provides.
The screenshot below shows the layers before clicked:
The screenshot shows the layers after clicked:
My machine configuration is Interl(R) Core2 Quad 64-bit OS, and I also test it in French and English enviroment and it still could work. The attachement is the testing project and I have do some necessary modify to make it run and you could see full detail in it.
Thanks,
Khalil
001_WebApplication.zip (126 KB)
Guys,
Here Liam have a solution related with the problem may be helpful.
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/9247/afv/topic/Default.aspx
Regard,
Don