DefaultAjaxWithCredentials Field

Summary

Indicates the default for AjaxWithCredentials.

Syntax
TypeScript
JavaScript
ImageLoader.defaultAjaxWithCredentials = (default value); 
static defaultAjaxWithCredentials: boolean; 

Field Value

true if in new instances of ImageLoader the image should send credentials with the image request; false otherwise. The default value is false.

Remarks

This property is only useful for AJAX calls with ImageLoaderUrlMode.AjaxDataUrl or ImageLoaderUrlMode.AjaxXml. For ImageLoaderUrlMode.ImageUrl, see DefaultImgCrossOrigin and ImgCrossOrigin.

The static DefaultAjaxWithCredentials is used to set the AjaxWithCredentials instance property for each new ImageLoader. The ImageLoader's AjaxWithCredentials value is the actual value used in setting the XMLHttpRequest.withCredentials property in the Xhr.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.