IZWebFileManager

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

Draging Splitter To The Left While Hitting Left Border Causes Explorer To Grow

Last post 01-26-2009, 6:28 AM by kipj1. 0 replies.
Sort Posts: Previous Next
  •  01-26-2009, 6:28 AM 346

    Draging Splitter To The Left While Hitting Left Border Causes Explorer To Grow

    Here's the Fix:

    sb.AppendLine ("function " + ClientID + "SplitterDrag(e) {");
    sb.AppendLine ("if(e == null) var e = event;");
    if (Controller.IsRightToLeft)
    sb.AppendLine("var __delta = __clientX - e.clientX;");
    else
    sb.AppendLine("var __delta = e.clientX - __clientX;");
    sb.AppendLine("if((__folderTreeWidth + __delta) > 0) {");
    sb.AppendLine("WebForm_SetElementWidth(__fileView, __fileViewWidth - __delta);");
    sb.AppendLine("WebForm_SetElementWidth(__folderTree, __folderTreeWidth + __delta);");
    sb.AppendLine("}");
    sb.AppendLine("return false;");
    sb.AppendLine ("}");

    Cheer's

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