IZWebFileManager

Advanced ASP.NET File Manager
Welcome to IZWebFileManager Sign in | Join | Help
in Search

Runtime error occurs when dragging the vertical splitbar to the far right or left

Last post 06-28-2008, 9:54 AM by igor. 2 replies.
Sort Posts: Previous Next
  •  06-27-2008, 7:02 PM 281

    Runtime error occurs when dragging the vertical splitbar to the far right or left

    When I drag the vertical splitbar, separating the navigitionpanel from the detailpanel, to the far right or far left, I get the following runtime error:

        A Runtime Error has occured
        Do you wish to Debug?
        Line: 524
        Error: Invalid argument
        Yes    No

    The error only appears in IE (I'm using 7), and not in Firefox (using 2.0.0.14).

    Debugging the error points to file: WebResource.axd, code block:

    function WebForm_SetElementHeight(element, height) {
      if (element && element.style) {
         element.style.height = height + "px";
      }
    }
    function WebForm_SetElementWidth(element, width) {
      if (element && element.style) {
         element.style.width = width + "px";            <== LINE IN ERROR
      }
    }
    function WebForm_SetElementX(element, x) {
      if (element && element.style) {
         element.style.left = x + "px";
      }
    }

    Any suggestions how to solve this?
    Eric


  •  06-27-2008, 7:12 PM 282 in reply to 281

    Re: Runtime error occurs when dragging the vertical splitbar to the far right or left

    I just noticed that this could be due to variable "charcount" acquiring a value that is passed the end of the document.

    Any suggestions?

    Eric

  •  06-28-2008, 9:54 AM 283 in reply to 282

    Re: Runtime error occurs when dragging the vertical splitbar to the far right or left

    Eric,

    Unfortunately I can't reproduce the bug.
    both IE7 and FF (XP and Vista) work well for me.

    What exactly your environment  is?

    Igor.
View as RSS news feed in XML
www.IZWebFileManager.com
izwebfilemanager@gmail.com