ChangeLog 5.8 KB

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