[DevExpress Support Team: CLONED FROM T195734: How to use Google Maps in XAF ASP.NET application]
Hi,
I am trying to run this extended example file but getting the attached error.
Please advise.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Amin.
I have tested the example (GoogleMapsInXafWebUIExample.zip) both with 14.2.9 and 15.1.5 versions of our libraries and it seems to work fine. Please provide us with a detailed instruction on how to replicate the issue.
Me too having the same problem (15.1.6, tried in VS2013/2015)
protected override void AssignDataSourceToControl(object dataSource) {
//WebWindow.CurrentRequestWindow == nul --> exception
WebWindow.CurrentRequestWindow.RegisterClientScript(Model.Id + "_markers_script", ConvertToJS(Enumerable.Cast<IGoogleMapsMarker>((IEnumerable)dataSource)), true);
}
Hi
The same problem (version 15.1.6 VS 2013).
Thanks for your help.
@Peter, INFO CL: For now you can solve this problem by checking the WebWindow.CurrentRequestWindow on null. We will research the cause of this behavior internally.