ImageGear for .NET
debugErrorLevel Property
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ImGearThumbnailList Class : debugErrorLevel Property

Glossary Item Box

Gets or sets how much information the control will log. Gets or sets how much information the control will log.

Syntax

ASP.NET Ajax Javascript (Specification) 
function get_debugErrorLevel() : DebugErrorLevel
function set_debugErrorLevel(value : DebugErrorLevel)
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearThumbnailList.get_debugErrorLevel();

Remarks

This property sets the amount of information the control will log.

In addition to setting this property, you must turn logging on using the debug property.

Example :

This JavaScript code will turn on logging and set the level to log exceptions, calls to viewer functions, and calls to change the value of viewer properties:

//if using Microsoft Ajax library

var ImGearThumbnailList1 = $find('ImGearThumbnailList1');

// OR if using ImageGear jQuery plugins

var ImGearThumbnailList1 = $("#ImGearThumbnailList1").ImGearThumbnailListPlugin();

ImGearThumbnailList1.set_debugErrorLevel(ImageGear.Web.UI.DebugErrorLevel.Development);

ImGearThumbnailList1.set_debug(true);

This property sets the amount of information the control will log.

In addition to setting this property, you must turn logging on using the debug property.

Example:

This JavaScript code will turn on logging and set the level to log exceptions, calls to viewer functions, and calls to change the value of viewer properties: 

var ImGearThumbnailList1 = $find('ImGearThumbnailList1');
ImGearThumbnailList1.set_debugErrorLevel(ImageGear.Web.UI.DebugErrorLevel.Development);
ImGearThumbnailList1.set_debug(true);

See Also

©2013. Accusoft Corporation. All Rights Reserved.