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