Commit Graph
22 Commits
Author SHA1 Message Date
Marek Habersack 1e4f071948 [asp.net] Fix for bug #650847. Output both tagged and untagged UpdatePanel names in AJAX responses.
Also, update panels which rendered empty string are included in the output.
2011-05-16 16:13:20 +02:00
Marek Habersack 4421a52c48 Fix for bug #659064. Resource URLs must always be the same. UpdatePanel triggers must always be initialized.
String hash cache must not be thread-local. Hashes computed for a string once must be shared by
all the threads or different URLs may be generated for the same assembly+resource pair.
UpdatePanel triggers must be initialized not only during the Load event but also when they are
inserted after that point.
2011-01-10 22:19:12 +01:00
Marek Safar c8c8fc7769 Fixed missing protected internal modifier 2011-01-08 19:26:53 +00:00
Marek Habersack a1a3235872 [asp.net] Fix for bug #658278. Panels render children only when parent is present and ChildrenAsTriggers is enabled
Fix from Avior Computing <[email protected]>, thanks!
2010-12-13 12:59:28 +01:00
Marek Habersack 515968a6f2 [asp.net] Part of fix for bug #649546. Better handling of nested UpdatePanels
Nested update panels don't ever output a script block in RenderChildren, they write to the passed
HtmlTextWriter instead.
2010-11-04 14:57:45 +01:00
Marek Habersack 7d08554275 Debugging cwls begone
svn path=/trunk/mcs/; revision=142783
2009-09-28 18:53:20 +00:00
Marek Habersack 7970f6efa8 2009-09-28 Marek Habersack <[email protected]>
* UpdatePanel.cs: RenderChildren stores the alternative writer in
	a private property, for the benefit of nested child panels. Fixes
	bug #542441

svn path=/trunk/mcs/; revision=142780
2009-09-28 18:49:31 +00:00
Marek Habersack b0ef88b86f 2009-04-11 Marek Habersack <[email protected]>
* UpdatePanel.cs: implemented SingleChildControlCollection to be
	used in CreateControlCollection ().
	RequiresUpdate not only checks the update mode and explicit update
	requests, but also looks if any triggers fired.
	Initialize () initializes triggers only if partial rendering is
	supported by the ScriptManager.
	IsInPartialRendering property no longer returns the value of
	ScriptManager.IsInPartialRendering. Instead, it relies on the
	value of instance field which can be set using new internal
	SetInPartialRendering () method (called from
	ScriptManager.RenderPageCallback ())
	Simplified the logic in RenderChildren ().

	* ScriptManager.cs: no need to register panels for refresh in
	OnPreRenderComplete, this is now done in RenderPageCallback.
	Modified HasBeenRendered () so that it doesn't query whether the
	panel has been explicitly updated by the user, but checks whether
	panel is in the list of panels to refresh.
	RaisePostDataChangedEvent () doesn't update the panel whose id is
	named in the POST request for refresh. This is handled in
	RenderPageCallback.
	Reverted the changes to WriteCallbackPanel and RenderFormCallback
	committed in r129774.
	RenderPageCallback now correctly detects panels to be refreshed
	(and thus included in the async response).

	* AsyncPostBackTrigger.cs, PostBackTrigger.cs: implemented
	HasTriggered ().

svn path=/trunk/mcs/; revision=131511
2009-04-11 13:36:46 +00:00
Marek Habersack 8301c20a94 2008-09-01 Marek Habersack <[email protected]>
* UpdatePanel.cs: if the writer passed to RenderChildren is not
	derived from ScriptManager.AlternativeHtmlTextWriter, check
	whether its InnerWriter derives from that type and, if yes, use
	it from that point onwards.

svn path=/trunk/mcs/; revision=112000
2008-09-01 00:17:51 +00:00
Marek Habersack 217e741af4 2008-08-08 Marek Habersack <[email protected]>
* UpdatePanel.cs: do not check whether a panel whose children are
	to be rendered has been marked for update in the async postback
	mode. It prevents complex scenarios where there is one superior
	update panel which owns an inferior one, and only the superior one
	has Update called on it.

svn path=/trunk/mcs/; revision=109922
2008-08-08 00:36:27 +00:00
Noam Lampert 3c23c155de Revert commit 91482. Breaks compiler csc.exe of FW 2.0 without SP1
svn path=/trunk/mcs/; revision=91483
2007-12-17 19:07:30 +00:00
Noam Lampert 51bd97960e Fix compilation errors discovered with csc.exe of FW 2.0 SP1
svn path=/trunk/mcs/; revision=91482
2007-12-17 18:46:54 +00:00
Konstantin Triger e94e353123 remove unneeded code
svn path=/trunk/mcs/; revision=82737
2007-07-26 07:55:32 +00:00
Konstantin Triger 29ee4a276b cache ScriptManager; implement UpdatePanel.IsInPartialRendering
svn path=/trunk/mcs/; revision=82735
2007-07-26 06:27:12 +00:00
Igor Zelmanovich 0e7e574aa2 improved partial rendering.
svn path=/trunk/mcs/; revision=81164
2007-07-02 09:25:21 +00:00
Igor Zelmanovich 3152491a5a Implemented RenderMode property
svn path=/trunk/mcs/; revision=81161
2007-07-02 07:47:57 +00:00
Igor Zelmanovich 14e4f6137d improved partial rendering.
svn path=/trunk/mcs/; revision=81146
2007-07-01 15:11:37 +00:00
Igor Zelmanovich a2ef58fd7d optimized clipping at AsyncPostBack.
svn path=/trunk/mcs/; revision=80961
2007-06-28 11:51:23 +00:00
Igor Zelmanovich f86b9d44c6 implemented nested updatepanels support
svn path=/trunk/mcs/; revision=80870
2007-06-27 14:34:00 +00:00
Igor Zelmanovich 874ed48ddc Initial AsyncPostBackTrigger implementation
svn path=/trunk/mcs/; revision=80307
2007-06-20 11:49:30 +00:00
Igor Zelmanovich 3bbe730b98 Initial UpdatePanel implementation
svn path=/trunk/mcs/; revision=80157
2007-06-19 14:15:55 +00:00
Igor Zelmanovich 60efb15a1a Initial drop for System.Web.Extensions assembly
svn path=/trunk/mcs/; revision=78049
2007-05-28 11:48:40 +00:00