ImageGear .NET v25.2 - Updated
debugErrorLevel Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ThumbnailView class : debugErrorLevel Property
Indicates 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 = instanceOfThumbnailView.get_debugErrorLevel();
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 thumbnailViewer1 = $find('ThumbnailViewer1');
thumbnailViewer1.set_debugErrorLevel(ImageGear.Web.UI.DebugErrorLevel.Development);
thumbnailViewer1.set_debug(true);

If using ImageGear jQuery plugins

var thumbnailViewer1 = $("#ThumbnailView1").ImGearThumbnailViewPlugin();
thumbnailViewer1.set_debugErrorLevel(ImageGear.Web.UI.DebugErrorLevel.Development);
thumbnailViewer1.set_debug(true);

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.

See Also

Reference

ThumbnailView class
ThumbnailView Members

Is this page helpful?
Yes No
Thanks for your feedback.