ChangeLog 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. 2010-02-02 Marek Habersack <[email protected]>
  2. * ScriptManager.cs: adjusted script rendering to match .NET
  3. formatting.
  4. * ScriptComponentDescriptor.cs: GetScript adds ID value (if
  5. present) to the set of properties.
  6. GetScript rewritten to use StringBuilder.
  7. * ScriptBehaviorDescriptor.cs: GetScript adds Name, if present and
  8. set by the user, to the descriptor's set of properties. The name
  9. must be rendered to the client.
  10. 2009-09-28 Marek Habersack <[email protected]>
  11. * UpdatePanel.cs: RenderChildren stores the alternative writer in
  12. a private property, for the benefit of nested child panels. Fixes
  13. bug #542441
  14. * ScriptManager.cs: don't render invisible panel IDs during async
  15. request. Fixes bug #542533
  16. 2009-05-26 Marek Habersack <[email protected]>
  17. * ScriptReferenceBase.cs: implemented (3.5 SP1)
  18. * ScriptReference.cs: now inherits from the ScriptReferenceBase
  19. class. Implemented all the required methods, removed some
  20. properties which now live in the base class.
  21. * ScriptManager.cs: code refactoring - moved parts of script
  22. registration code to ScriptReference
  23. 2009-04-23 Marek Habersack <[email protected]>
  24. * AsyncPostBackTrigger.cs: HasTriggered () must look up the
  25. UniqueID of the control specified in the ControlID property or
  26. otherwise it may miss certain triggers.
  27. 2009-04-11 Marek Habersack <[email protected]>
  28. * UpdatePanel.cs: implemented SingleChildControlCollection to be
  29. used in CreateControlCollection ().
  30. RequiresUpdate not only checks the update mode and explicit update
  31. requests, but also looks if any triggers fired.
  32. Initialize () initializes triggers only if partial rendering is
  33. supported by the ScriptManager.
  34. IsInPartialRendering property no longer returns the value of
  35. ScriptManager.IsInPartialRendering. Instead, it relies on the
  36. value of instance field which can be set using new internal
  37. SetInPartialRendering () method (called from
  38. ScriptManager.RenderPageCallback ())
  39. Simplified the logic in RenderChildren ().
  40. * ScriptManager.cs: no need to register panels for refresh in
  41. OnPreRenderComplete, this is now done in RenderPageCallback.
  42. Modified HasBeenRendered () so that it doesn't query whether the
  43. panel has been explicitly updated by the user, but checks whether
  44. panel is in the list of panels to refresh.
  45. RaisePostDataChangedEvent () doesn't update the panel whose id is
  46. named in the POST request for refresh. This is handled in
  47. RenderPageCallback.
  48. Reverted the changes to WriteCallbackPanel and RenderFormCallback
  49. committed in r129774.
  50. RenderPageCallback now correctly detects panels to be refreshed
  51. (and thus included in the async response).
  52. * AsyncPostBackTrigger.cs, PostBackTrigger.cs: implemented
  53. HasTriggered ().
  54. 2009-04-08 Marek Habersack <[email protected]>
  55. * ScriptComponentDescriptor.cs: properties/events/references must
  56. be serialized in alphabetical order. This matches what .NET
  57. does. Some 3rd party controls depend upon this fact.
  58. 2009-04-07 Marek Habersack <[email protected]>
  59. * ScriptComponentDescriptor.cs: new values replace old in
  60. AddEntry.
  61. 2009-03-19 Marek Habersack <[email protected]>
  62. * ScriptManager.cs: WriteCallbackPanel is called from
  63. UpdatePanel.RenderChildren and should not output anything for
  64. panels registered as the ones to refresh. If such a panel calls
  65. this method, its output is stored in a dictionary to be used later
  66. in RenderFormCallback.
  67. RenderFormCallback first renders all the form controls. In that
  68. process UpdatePanel instances, if any, may call
  69. WriteCallbackPanel. After that, if there are panels registered for
  70. refresh, another loop over the list is made this time checking
  71. whether any panels left their output in WriteCallbackPanel. If a
  72. panel hasn't done it it is rendered. And last, another check is
  73. done to see if the loop described above caused any panels to leave
  74. output in WriteCallbackPanel. If yes, the output is written to the
  75. text writer.
  76. 2009-01-26 Marek Habersack <[email protected]>
  77. * ScriptManager.cs: before registering script service reference
  78. check if the service type is decorated with the [ScriptService]
  79. custom attribute. Only such service types can be called from
  80. client JavaScript.
  81. 2008-10-02 Marek Habersack <[email protected]>
  82. * ScriptManager.cs: reverting revision 114552 since the real bug
  83. was somewhere else. The correct fix is to make sure UpdatePanels
  84. which output something _or_ have been named in the POST request as
  85. requiring a refresh are marked as such. Only in that situation
  86. HasBeenRendered returns true (as it should for those panels)
  87. Cosmetical output change - the hidden fields are output after the
  88. update panels contents is sent in an async request. It makes the
  89. async response look similar to the MS.NET's one but, more
  90. importantly, makes debugging easier.
  91. 2008-09-23 Marek Habersack <[email protected]>
  92. * ScriptManager.cs: CultureInfoSerializer no longer derives from
  93. the obsolete LazyDictionary.
  94. 2008-09-01 Marek Habersack <[email protected]>
  95. * UpdatePanel.cs: if the writer passed to RenderChildren is not
  96. derived from ScriptManager.AlternativeHtmlTextWriter, check
  97. whether its InnerWriter derives from that type and, if yes, use
  98. it from that point onwards.
  99. 2008-08-13 Marek Habersack <[email protected]>
  100. * ScriptManager.cs: always request the webform.js script to be
  101. present. It may happen that a control during a dynamic update will
  102. need to call one of the WebForm_* functions and the call will fail
  103. as the script will be absent.
  104. If debugging is enabled, send the full exception backtrace in
  105. WriteCallbackException - helps debugging AJAX errors.
  106. 2008-08-08 Marek Habersack <[email protected]>
  107. * UpdatePanel.cs: do not check whether a panel whose children are
  108. to be rendered has been marked for update in the async postback
  109. mode. It prevents complex scenarios where there is one superior
  110. update panel which owns an inferior one, and only the superior one
  111. has Update called on it.
  112. 2008-06-05 Marek Habersack <[email protected]>
  113. * ScriptManager.cs: do not throw NREX when there are no profile or
  114. authentication service sections in the config files.
  115. 2008-05-15 Marek Habersack <[email protected]>
  116. * AsyncPostBackTrigger.cs: don't thrown an exception if EventName
  117. is null or empty and there is no DefaultEventAttribute attached to
  118. the control.
  119. 2008-05-14 Marek Habersack <[email protected]>
  120. * ScriptComponentDescriptor.cs: do not add the same
  121. entry twice to a dictionary.