1// Name: ReorderList.DropWatcherBehavior.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.1.7.1213 4// FileVersion: 4.1.7.1213 5 6 7 8/// <reference name="MicrosoftAjax.debug.js" /> 9/// <reference name="MicrosoftAjaxTimer.debug.js" /> 10/// <reference name="MicrosoftAjaxWebForms.debug.js" /> 11/// <reference path="../ExtenderBase/BaseScripts.js" /> 12/// <reference path="../Common/Common.js" /> 13/// <reference path="../Compat/Timer/Timer.js" /> 14/// <reference path="../Compat/DragDrop/DragDropScripts.js" /> 15 16 17 18Type.registerNamespace('Sys.Extended.UI'); 19 20 21Sys.Extended.UI.RepeatDirection = function() { 22 throw Error.invalidOperation(); 23} 24Sys.Extended.UI.RepeatDirection.prototype = { 25 Vertical: 0, 26 Horizontal: 1 27} 28Sys.Extended.UI.RepeatDirection.registerEnum('Sys.Extended.UI.RepeatDirection'); 29 30 31 32Sys.Extended.UI.DragDropList = function(associatedElement) { 33 Sys.Extended.UI.DragDropList.initializeBase(this, [associatedElement]); 34 35 this._acceptedDataTypes = []; 36 37 this._isDragging = null; 38 39 this._dataType = null; 40 this._dragMode = Sys.Extended.UI.DragMode.Move; 41 this._dragVisual = null; 42 this._direction = Sys.Extended.UI.RepeatDirection.Vertical; 43 44 this._emptyTemplate = null; 45 this._emptyTemplateInstance = null; 46 this._dropCueTemplate = null; 47 this._dropCueTemplateInstance = null; 48 this._floatContainerInstance = null; 49 50 this._originalParent = null; 51 this._originalNextSibling = null; 52 this._originalZIndex = null; 53 54 this._currentContext = null; 55 this._data = null; 56 57} 58 59Sys.Extended.UI.DragDropList.IsValidDataType = function(dataType) { 60 if (dataType && typeof(dataType) == 'string' && dataType.length >= 4) { 61 return dataType.substring(0, 4) === "HTML"; 62 } 63 return false; 64} 65 66Sys.Extended.UI.DragDropList.prototype = { 67 get_data: function() { 68 return this._data; 69 }, 70 71 set_data: function(value) { 72 this._data = value; 73 }, 74 75 initialize: function() { 76 Sys.Extended.UI.DragDropList.callBaseMethod(this, 'initialize'); 77 this.get_element().__dragDropList = this; 78 Sys.Extended.UI.DragDropManager.registerDropTarget(this); 79 }, 80 81 82 startDragDrop: function(dragObject, context, dragVisual) { 83 if (!this._isDragging) { 84 this._isDragging = true; 85 this._currentContext = context; 86 if (!dragVisual) { 87 dragVisual = this.createDragVisual(dragObject); 88 } 89 else { 90 this._dragVisual = dragVisual; 91 } 92 Sys.Extended.UI.DragDropManager.startDragDrop(this, dragVisual, context, !(Sys.Browser.agent == Sys.Browser.InternetExplorer && Sys.Browser.version > 7 && Sys.Browser.documentMode != 0)); 93 } 94 95 }, 96 97 createDragVisual: function(dragObject) { 98 if (this._dragMode === Sys.Extended.UI.DragMode.Copy) { 99 this._dragVisual = dragObject.cloneNode(true); 100 } 101 else { 102 this._dragVisual = dragObject; 103 } 104 105 var oldOffset = Sys.Extended.UI.DragDropManager._getInstance().getScrollOffset(dragObject, true); 106 107 this._dragVisual.preDragWidth = this._dragVisual.style.width; 108 this._dragVisual.preDragHeight = this._dragVisual.style.height; 109 110 this._dragVisual.style.width = dragObject.offsetWidth + "px"; 111 this._dragVisual.style.height = dragObject.offsetHeight + "px"; 112 113 this._dragVisual.style.opacity = "0.4"; 114 this._dragVisual.style.filter = "progid:DXImageTransform.Microsoft.BasicImage(opacity=0.4);"; 115 this._originalZIndex = this._dragVisual.style.zIndex; 116 this._dragVisual.style.zIndex = 99999; 117 118 this._originalParent = this._dragVisual.parentNode; 119 this._originalNextSibling = Sys.Extended.UI.DragDropManager._getInstance().getNextSibling(this._dragVisual); 120 121 var currentLocation = $common.getLocation(dragObject); 122 123 var dragVisualContainer = this._getFloatContainer(); 124 $common.setLocation(dragVisualContainer, currentLocation); 125 126 if (Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._dragVisual)) { 127 this._dragVisual.parentNode.removeChild(this._dragVisual); 128 } 129 dragVisualContainer.appendChild(this._dragVisual); 130 131 var newOffset = Sys.Extended.UI.DragDropManager._getInstance().getScrollOffset(dragObject, true);
132 if (oldOffset.x !== newOffset.x || oldOffset.y !== newOffset.y) { 133 var diff = Sys.Extended.UI.DragDropManager._getInstance().subtractPoints(oldOffset, newOffset); 134 var location = Sys.Extended.UI.DragDropManager._getInstance().subtractPoints(currentLocation, diff); 135 $common.setLocation(dragVisualContainer, location); 136 } 137 138 return dragVisualContainer; 139 }, 140 141 get_emptyTemplate: function() { 142 return this._emptyTemplate; 143 }, 144 145 set_emptyTemplate: function(value) { 146 this._emptyTemplate = value; 147 }, 148 149 get_dragDataType: function() { 150 return this._dataType; 151 }, 152 set_dragDataType: function(value) { 153 this._dataType = value; 154 }, 155 156 getDragData: function(context) { 157 return context; 158 }, 159 160 get_dragMode: function() { 161 return this._dragMode; 162 }, 163 set_dragMode: function(value) { 164 this._dragMode = value; 165 }, 166 167 dispose: function() { 168 Sys.Extended.UI.DragDropManager.unregisterDropTarget(this); 169 this.get_element().__dragDropList = null; 170 Sys.Extended.UI.DragDropList.callBaseMethod(this, 'dispose'); 171 }, 172 173 onDragStart: function() { 174 this._validate(); 175 }, 176 177 onDrag: function() { 178 }, 179 180 onDragEnd: function(cancelled) { 181 if (this._floatContainerInstance) { 182 if (this._dragMode === Sys.Extended.UI.DragMode.Copy) { 183 this._floatContainerInstance.removeChild(this._dragVisual); 184 } 185 else { 186 this._dragVisual.style.opacity = "0.999"; 187 this._dragVisual.style.filter = ""; 188 189 this._dragVisual.style.zIndex = this._originalZIndex ? this._originalZIndex : 0; 190 191 if (this._dragVisual.preDragWidth != null) { 192 this._dragVisual.style.width = this._dragVisual.preDragWidth; 193 this._dragVisual.preDragWidth = null; 194 } 195 196 if (this._dragVisual.preDragHeight != null) { 197 this._dragVisual.style.height = this._dragVisual.preDragHeight; 198 this._dragVisual.preDragHeight = null; 199 } 200 201 if (cancelled) { 202 this._dragVisual.parentNode.removeChild(this._dragVisual); 203 if (this._originalNextSibling != null) { 204 this._originalParent.insertBefore(this._dragVisual, this._originalNextSibling); 205 } 206 else { 207 this._originalParent.appendChild(this._dragVisual); 208 } 209 } 210 else { 211 if (this._dragVisual.parentNode === this._floatContainerInstance) { 212 this._dragVisual.parentNode.removeChild(this._dragVisual); 213 } 214 } 215 } 216 217 document.body.removeChild(this._floatContainerInstance); 218 } 219 else { 220 this._dragVisual.parentNode.removeChild(this._dragVisual); 221 } 222 223 if (!cancelled && this._data && this._dragMode === Sys.Extended.UI.DragMode.Move) { 224 var data = this.getDragData(this._currentContext); 225 if (this._data && data) { 226 Array.remove(this._data, data); 227 } 228 } 229 230 this._isDragging = false; 231 this._validate(); 232 }, 233 234 235 get_direction: function() { 236 return this._direction; 237 }, 238 239 set_direction: function(value) { 240 this._direction = value; 241 }, 242 243 get_acceptedDataTypes: function() { 244 return this._acceptedDataTypes; 245 }, 246 247 set_acceptedDataTypes: function(value) { 248 249 if (typeof(value) == "string") { 250 this._acceptedDataTypes = value.split(","); 251 } 252 else { 253 this._acceptedDataTypes = value; 254 } 255 }, 256 257 get_dropCueTemplate: function() { 258 return this._dropCueTemplate; 259 }, 260 261 set_dropCueTemplate: function(value) { 262 this._dropCueTemplate = value; 263 }, 264 265 get_dropTargetElement: function() {
266 return this.get_element(); 267 }, 268 269 canDrop: function(dragMode, dataType, data) { 270 for (var i = 0; i < this._acceptedDataTypes.length; i++) { 271 if (this._acceptedDataTypes[i] === dataType) { 272 return true; 273 } 274 } 275 276 return false; 277 }, 278 279 drop: function(dragMode, dataType, data) { 280 if (Sys.Extended.UI.DragDropList.IsValidDataType(dataType) && dragMode === Sys.Extended.UI.DragMode.Move) { 281 dragVisual = data; 282 283 var potentialNextSibling = this._findPotentialNextSibling(dragVisual); 284 this._setDropCueVisible(false, dragVisual); 285 dragVisual.parentNode.removeChild(dragVisual); 286 if (potentialNextSibling) { 287 this.get_element().insertBefore(dragVisual, potentialNextSibling); 288 } 289 else { 290 this.get_element().appendChild(dragVisual); 291 } 292 } 293 else { 294 this._setDropCueVisible(false); 295 } 296 }, 297 298 onDragEnterTarget: function(dragMode, dataType, data) { 299 if (Sys.Extended.UI.DragDropList.IsValidDataType(dataType)) { 300 this._setDropCueVisible(true, data); 301 this._validate(); 302 } 303 }, 304 305 onDragLeaveTarget: function(dragMode, dataType, data) { 306 if (Sys.Extended.UI.DragDropList.IsValidDataType(dataType)) { 307 this._setDropCueVisible(false); 308 this._validate(); 309 } 310 }, 311 312 onDragInTarget: function(dragMode, dataType, data) { 313 if (Sys.Extended.UI.DragDropList.IsValidDataType(dataType)) { 314 this._setDropCueVisible(true, data); 315 } 316 }, 317 318 _setDropCueVisible: function(visible, dragVisual) { 319 if (this._dropCueTemplate) { 320 if (visible) { 321 if (!this._dropCueTemplateInstance) { 322 var documentContext = document.createDocumentFragment(); 323 this._dropCueTemplateInstance = this._dropCueTemplate.cloneNode(true); 324 } 325 326 var potentialNextSibling = this._findPotentialNextSibling(dragVisual); 327 328 if (!Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._dropCueTemplateInstance)) { 329 if (potentialNextSibling) { 330 this.get_element().insertBefore(this._dropCueTemplateInstance, potentialNextSibling); 331 } 332 else { 333 this.get_element().appendChild(this._dropCueTemplateInstance); 334 } 335 336 this._dropCueTemplateInstance.style.width = dragVisual.offsetWidth + "px"; 337 this._dropCueTemplateInstance.style.height = dragVisual.offsetHeight + "px"; 338 } 339 else { 340 if (Sys.Extended.UI.DragDropManager._getInstance().getNextSibling(this._dropCueTemplateInstance) !== potentialNextSibling) { 341 this.get_element().removeChild(this._dropCueTemplateInstance); 342 if (potentialNextSibling) { 343 this.get_element().insertBefore(this._dropCueTemplateInstance, potentialNextSibling); 344 } 345 else { 346 this.get_element().appendChild(this._dropCueTemplateInstance); 347 } 348 } 349 } 350 } 351 else { 352 if (this._dropCueTemplateInstance && Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._dropCueTemplateInstance)) { 353 this.get_element().removeChild(this._dropCueTemplateInstance); 354 } 355 } 356 } 357 }, 358 359 _findPotentialNextSibling: function(dragVisual) { 360 var dragVisualRect = $common.getBounds(dragVisual); 361 var isVertical = (this._direction === 0 /*Sys.Extended.UI.RepeatDirection.Vertical*/); 362 var nodeRect;
363 for (var node = this.get_element().firstChild; node !== null; node = node.nextSibling) { 364 if (node.innerHTML && node !== this._dropCueTemplateInstance && node !== this._emptyTemplateInstance) { 365 nodeRect = $common.getBounds(node); 366 if ((!isVertical && dragVisualRect.x <= nodeRect.x) || (isVertical && dragVisualRect.y <= nodeRect.y)) { 367 return node; 368 } 369 } 370 } 371 372 return null; 373 }, 374 375 _validate: function() { 376 var visible = (this._dropCueTemplateInstance == null || !Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._dropCueTemplateInstance)); 377 378 var count = 0; 379 for (var node = this.get_element().firstChild; node !== null; node = node.nextSibling) { 380 if (node.innerHTML && node !== this._emptyTemplateInstance && node !== this._dropCueTemplateInstance) { 381 count++; 382 } 383 } 384 385 if (count > 0) { 386 visible = false; 387 } 388 this._setEmptyTemplateVisible(visible); 389 }, 390 391 _setEmptyTemplateVisible: function(visible) { 392 if (this._emptyTemplate) { 393 if (visible) { 394 if (!this._emptyTemplateInstance) { 395 this._emptyTemplateInstance = this._emptyTemplate.createInstance(this.get_element()).instanceElement; 396 } 397 else if (!Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._emptyTemplateInstance)) { 398 this.get_element().appendChild(this._emptyTemplateInstance); 399 } 400 } 401 else { 402 if (this._emptyTemplateInstance && Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._emptyTemplateInstance)) { 403 this.get_element().removeChild(this._emptyTemplateInstance); 404 } 405 } 406 } 407 }, 408 409 _getFloatContainer: function() { 410 if (!this._floatContainerInstance) { 411 this._floatContainerInstance = document.createElement(this.get_element().tagName); 412 var none = "0px 0px 0px 0px"; 413 this._floatContainerInstance.style.position = "absolute"; 414 this._floatContainerInstance.style.padding = none; 415 this._floatContainerInstance.style.margin = none; 416 this._floatContainerInstance.className = 'dragVisualContainer'; 417 document.body.appendChild(this._floatContainerInstance); 418 } 419 else if (!Sys.Extended.UI.DragDropManager._getInstance().hasParent(this._floatContainerInstance)) { 420 document.body.appendChild(this._floatContainerInstance); 421 } 422 423 return this._floatContainerInstance; 424 } 425} 426Sys.Extended.UI.DragDropList.registerClass('Sys.Extended.UI.DragDropList', Sys.Extended.UI.BehaviorBase, Sys.Extended.UI.IDragSource, Sys.Extended.UI.IDropTarget, Sys.IDisposable); 427 428 429function callbackSuccessStub(response, context) { 430 431 var contextSplit = context.split(":"); 432 433 var id = contextSplit[0]; 434 var obj = $find(id); 435 436 if (obj) { 437 obj._onCallbackSuccess(response, contextSplit[1]); 438 } 439} 440 441function callbackErrorStub(response, context) { 442 443 var contextSplit = context.split(":"); 444 445 var id = contextSplit[0]; 446 var obj = $find(id); 447 alert('error'); 448 if (obj) { 449 obj._onCallbackError(response, contextSplit[1]); 450 } 451} 452 453Sys.Extended.UI.DragDropWatcher = function(e) { 454 Sys.Extended.UI.DragDropWatcher.initializeBase(this, [e]); 455 456 this._childList = new Array(); 457 this._inProgressDrops = new Object(); 458 459 this._postbackCode = null; 460 this._callbackCssStyle = null; 461 462 this._argReplaceString = null; 463 this._argContextString = null; 464 this._argErrorString = null; 465 this._argSuccessString = null; 466} 467 468Sys.Extended.UI.DragDropWatcher.prototype = { 469 dispose : function() { 470 Sys.Extended.UI.DragDropWatcher.callBaseMethod(this, 'dispose'); 471 472 }, 473 474 initialize : function() { 475 Sys.Extended.UI.DragDropWatcher.callBaseMethod(this, 'initialize'); 476 477 this._saveChildOrder(); 478 }, 479 480 481 add_reorderComplete : function(handler) { 482 483 this.get_events().addHandler("reorderComplete", handler); 484 }, 485 486 remove_reorderComplete : function(handler) { 487 488 this.get_events().removeHandler("reorderComplete", handler); 489 490 }, 491 492 raiseReorderComplete : function() { 493 494 var handler = this.get_events().getHandler("reorderComplete"); 495 if (handler) { 496 handler(this, Sys.EventArgs.Empty); 497 } 498 }, 499 500 findChild : function(parent, childId) { 501 502 var childIndex = 0; 503 var nodes = parent.childNodes; 504 for (var i = 0; i < nodes.length; i++) { 505 var item = nodes[i];
506 if ((item != null) && (item.nodeName == "LI")) { 507 if (item.id == childId) { 508 return childIndex; 509 } 510 childIndex++; 511 } 512 } 513 return -1; 514 }, 515 516 canDrop : function(dragMode, dataType, data) { 517 518 if (this._inProgressDrops && this._inProgressDrops.length > 0) { 519 return false; 520 } 521 522 var dropOk = Sys.Extended.UI.DragDropWatcher.callBaseMethod(this, 'canDrop',[dragMode,dataType,data]); 523 524 if (dropOk) { 525 var dragVisualRect = $common.getBounds(data); 526 527 var nodeRect; 528 var hitInsertNode = false; 529 var e = this.get_element(); 530 for (var node = e.firstChild; node != null && !hitInsertNode; node = node.nextSibling) { 531 532 if (!node.id) continue; 533 534 nodeRect = $common.getBounds(node); 535 536 if (dragVisualRect.y <= nodeRect.y) { 537 break; 538 } 539 540 hitInsertNode = (node.id.lastIndexOf("Insert", node.id.length - 6) != -1); 541 } 542 dropOk = !hitInsertNode; 543 } 544 return dropOk; 545 }, 546 547 drop : function(dragMode, dataType, data) { 548 549 Sys.Extended.UI.DragDropWatcher.callBaseMethod(this, 'drop',[dragMode,dataType,data]); 550 var childId = data.id; 551 if (!this._postbackCode || !childId) return; 552 553 var newIndex = this.findChild(this.get_element(), childId); 554 Sys.Debug.assert(newIndex != -1, String.format(Sys.Extended.UI.Resources.ReorderList_DropWatcherBehavior_NoChild, childId)); 555 556 var oldIndex = this._getSavedChildIndex(childId); 557 if (newIndex != -1 && newIndex != oldIndex) { 558 this._saveChildOrder(); 559 this.doPostBack(childId, newIndex, oldIndex); 560 } 561 } , 562 563 _setupDropState : function(childId, newIndex, oldIndex) { 564 if (childId) { 565 var child = $get(childId); 566 this._inProgressDrops[childId] = {"oldCss": child.className, "newIndex":newIndex, "oldIndex":oldIndex}; 567 568 if (this._callbackCssStyle) { 569 child.className = this._callbackCssStyle; 570 } 571 } 572 }, 573 574 _onDropCallback : function(childId) { 575 576 if (childId) { 577 578 this.set_ClientState("true"); 579 580 var item = this._inProgressDrops[childId]; 581 582 if (item) { 583 var child = $get(childId); 584 if (this._callbackCssStyle) { 585 child.className = item.oldCss; 586 } 587 delete this._inProgressDrops[childId]; 588 } 589 return item; 590 } 591 }, 592 593 594 doPostBack : function(childId, newIndex, oldIndex) { 595 596 var item = this._inProgressDrops[childId]; 597 598 if (item) { 599 return; 600 } 601 602 var postbackArg = "reorder:" + childId + ":" + oldIndex.toString() + ":" + newIndex.toString(); 603 604 var postbackCode = this._postbackCode.replace(this._argReplaceString, postbackArg); 605 606 if (this._argSuccessString) { 607 postbackCode = postbackCode.replace(this._argSuccessString, "callbackSuccessStub"); 608 } 609 if (this._argErrorString) { 610 postbackCode = postbackCode.replace(this._argErrorString, "callbackErrorStub"); 611 } 612 if (this._argContextString) { 613 postbackCode = postbackCode.replace(this._argContextString, this.get_id() + ":" + childId); 614 } 615 616 this._setupDropState(childId, newIndex, oldIndex); 617
618 window.setTimeout(postbackCode, 0); 619 } , 620 621 _onCallbackSuccess : function(response, context) { 622 623 if (response && response.length > 0) { 624 this._onCallbackError(response, context); 625 } 626 else { 627 this._onDropCallback(context); 628 this.raiseReorderComplete(); 629 } 630 631 }, 632 633 _onCallbackError : function(response, context) { 634 635 var item = this._onDropCallback(context); 636 637 if (item.oldIndex || item.newIndex) { 638 this._saveChildOrder(); 639 this.doReorder(item.newIndex, item.oldIndex, true); 640 } 641 642 alert(String.format(Sys.Extended.UI.Resources.ReorderList_DropWatcherBehavior_CallbackError, response)); 643 }, 644 645 doReorder : function(oldIndex, newIndex, skipPostback) { 646 var e = this.get_element(); 647 var children = this._childList; 648 if (oldIndex >= 0 && children.length > oldIndex && oldIndex != newIndex) { 649 650 651 652 var child = $get(children[oldIndex]); 653 654 var item = this._inProgressDrops[child.id]; 655 656 if (item) { 657 return; 658 } 659 660 if (child) { 661 662 if (newIndex > oldIndex) { 663 newIndex++; 664 } 665 666 var append = newIndex >= children.length; 667 668 try { 669 e.removeChild(child); 670 } 671 catch(e) { 672 } 673 674 if (append) { 675 e.appendChild(child); 676 } 677 else { 678 var childAtNewIndex = $get(children[newIndex]); 679 e.insertBefore(child, childAtNewIndex); 680 } 681 if (!skipPostback) { 682 this.doPostBack(child.id, newIndex, oldIndex); 683 } 684 else { 685 this._saveChildOrder(); 686 this.raiseReorderComplete(); 687 } 688 } 689 } 690 } , 691 692 getItem : function(index) { 693 694 if (!this._childList) { 695 this._saveChildOrder(); 696 } 697 698 return this._childList[index]; 699 }, 700 701 _getSavedChildIndex : function(childId) { 702 if (this._childList && childId) { 703 for (var i = 0; i < this._childList.length; i++) { 704 if (childId == this._childList[i]) { 705 return i; 706 } 707 } 708 } 709 return -1; 710 }, 711 712 _saveChildOrder : function() { 713 var e = this.get_element(); 714 if (!e) return; 715 var children = e.childNodes; 716 this._childList = []; 717 var childCount = 0; 718 719 for (var i = 0; i < children.length; i++) { 720 if (children[i] && children[i].parentNode === e && children[i].tagName && children[i].tagName.toLowerCase() == "li") { 721 this._childList[childCount++] = children[i].id; 722 } 723 } 724 }, 725 726 727 get_argReplaceString : function() { 728 return this._argReplaceString; 729 }, 730 731 set_argReplaceString : function(value) { 732 if (this._argReplaceString != value) { 733 this._argReplaceString = value; 734 this.raisePropertyChanged('argReplaceString'); 735 } 736 }, 737 738 get_argContextString : function() { 739 return this._argContextString; 740 }, 741 742 set_argContextString : function(value) { 743 if (this._argContextString != value) { 744 this._argContextString = value; 745 this.raisePropertyChanged('argContextString'); 746 } 747 }, 748 749 get_argErrorString : function() { 750 return this._argErrorString; 751 }, 752 753 set_argErrorString : function(value) { 754 if (this._argErrorString != value) { 755 this._argErrorString = value; 756 this.raisePropertyChanged('argErrorString'); 757 } 758 }, 759 760 get_argSuccessString : function() { 761 return this._argSuccessString; 762 }, 763 764 set_argSuccessString : function(value) { 765 if (this._argSuccessString != value) { 766 this._argSuccessString = value; 767 this.raisePropertyChanged('argSuccessString'); 768 } 769 }, 770 771 get_postbackCode : function() { 772 return this._postbackCode; 773 }, 774 775 set_postbackCode : function(value) { 776 if (this._postbackCode != value) { 777 this._postbackCode = value; 778 this.raisePropertyChanged('postbackCode'); 779 } 780 }, 781 782 get_callbackCssStyle : function() { 783 return this._callbackCssStyle; 784 }, 785 786 set_callbackCssStyle : function(value) { 787 if (this._callbackCssStyle != value) { 788 this._callbackCssStyle = value; 789 this.raisePropertyChanged('callbackCssStyle'); 790 } 791 } 792 793 794} 795Sys.Extended.UI.DragDropWatcher.registerClass('Sys.Extended.UI.DragDropWatcher', Sys.Extended.UI.DragDropList);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.