ChangeLog 6.0 KB

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