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