Commit Graph
6 Commits
Author SHA1 Message Date
Marek Habersack 0d6fd8d740 2009-04-23 Marek Habersack <[email protected]>
* AsyncPostBackTrigger.cs: HasTriggered () must look up the
	UniqueID of the control specified in the ControlID property or
	otherwise it may miss certain triggers.

svn path=/trunk/mcs/; revision=132482
2009-04-23 16:47:52 +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 89e5209fbb 2008-05-15 Marek Habersack <[email protected]>
* AsyncPostBackTrigger.cs: don't thrown an exception if EventName
	is null or empty and there is no DefaultEventAttribute attached to
	the control.

svn path=/trunk/mcs/; revision=103295
2008-05-15 16:10:16 +00:00
Igor Zelmanovich ee6fafa097 refactoring: make it works for TARGET_J2EE
svn path=/trunk/mcs/; revision=81327
2007-07-04 11:38:14 +00:00
Igor Zelmanovich 874ed48ddc Initial AsyncPostBackTrigger implementation
svn path=/trunk/mcs/; revision=80307
2007-06-20 11:49:30 +00:00
Igor Zelmanovich 70ad131df5 Initial drop for System.Web.Extensions assembly
svn path=/trunk/mcs/; revision=78054
2007-05-28 13:03:30 +00:00