This project is read-only.

Problem with Ajax Postback

Jul 9, 2009 at 2:46 PM

Hi guys!

First of all many thanks for this controls, it's simply great !!! I would describe an interaction issue from control, panel tabs and ajax, this the scenario: there is a tab panel with 2 tabs. In the first tab I have 3 drop down list and in the second the google map control. In this condition all works fine. Now, I've add an ajax function on drop down list so load dynamically data according user choice. Each d.d. list have properties AUTOPOSTBACK set to TRUE to work fine. When ajax is load, seems that the postback is captured by map controls. In fact, in the function OnPreRender() of Googlemap.cs file it calls

ClientScriptProxy.RegisterClientScriptInclude("", apiUrl.ToString()); and generate the follow error:

Errore: [Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" 

like if my ajax event try to connect with external domain uri (I think apiUrl.ToString() ) with results that application is blocked.

I hope to clarify the error condition.

Do you have any idea to solve it?

Thanks a lot in advance