ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / debugErrorLevel Property

In This Topic
    debugErrorLevel Property
    In This Topic
    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 = instanceOfPageView.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

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

    If using ImageGear jQuery plugins

    $("#viewer1").ImGearPageViewPlugin().set_debugErrorLevel(ImageGear.Web.UI.DebugErrorLevel.Development);
    $("#viewer1").ImGearPageViewPlugin().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