Commit Graph
98 Commits
Author SHA1 Message Date
Marek Habersack 4e00a2477e 2008-10-02 Marek Habersack <[email protected]>
* ScriptManager.cs: reverting revision 114552 since the real bug
	was somewhere else. The correct fix is to make sure UpdatePanels
	which output something _or_ have been named in the POST request as
	requiring a refresh are marked as such. Only in that situation
	HasBeenRendered returns true (as it should for those panels)

svn path=/trunk/mcs/; revision=114654
2008-10-02 10:02:26 +00:00
Marek Habersack 123f42b627 2008-10-01 Marek Habersack <[email protected]>
* ScriptManager.cs: be more careful when rendering script blocks
	and checking if the control's page matches the current
	page. Control passed to script registration methods doesn't
	necessarily have to be a Page itself and if it's not we need to
	find the owning page of a script block's control.

svn path=/trunk/mcs/; revision=114552
2008-10-01 10:36:56 +00:00
Marek Habersack 05c43d2617 CultureInfoSerializer should use lower case names for the serialized items.
svn path=/trunk/mcs/; revision=113861
2008-09-23 16:48:55 +00:00
Marek Habersack def3546b31 2008-09-23 Marek Habersack <[email protected]>
* ScriptManager.cs: CultureInfoSerializer no longer derives from
	the obsolete LazyDictionary.

svn path=/trunk/mcs/; revision=113826
2008-09-23 14:20:22 +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 890c4449dc 2008-08-13 Marek Habersack <[email protected]>
* ScriptManager.cs: always request the webform.js script to be
	present. It may happen that a control during a dynamic update will
	need to call one of the WebForm_* functions and the call will fail
	as the script will be absent.
	If debugging is enabled, send the full exception backtrace in
	WriteCallbackException - helps debugging AJAX errors

svn path=/trunk/mcs/; revision=110403
2008-08-13 20:39:19 +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
Igor Zelmanovich 0fe4844bc2 merge r108940-108941
svn path=/trunk/mcs/; revision=108943
2008-07-27 15:14:59 +00:00
Marek Habersack 7d9dbaa818 2008-06-05 Marek Habersack <[email protected]>
* ScriptManager.cs: do not throw NREX when there are no profile or
	authentication service sections in the config files.

svn path=/trunk/mcs/; revision=104963
2008-06-05 09:08:56 +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
Marek Habersack 118a8fe945 2008-05-14 Marek Habersack <[email protected]>
* ScriptComponentDescriptor.cs: do not add the same
	entry twice to a dictionary.

svn path=/trunk/mcs/; revision=103227
2008-05-14 20:22:35 +00:00
Igor Zelmanovich 2665e54043 merge r98531
svn path=/trunk/mcs/; revision=98532
2008-03-18 12:53:10 +00:00
Igor Zelmanovich 72b8feb292 merge r96240:96241
svn path=/trunk/mcs/; revision=96242
2008-02-20 12:14:11 +00:00
Igor Zelmanovich 246d9048c4 fixed resolving relative path for services
svn path=/trunk/mcs/; revision=93017
2008-01-16 09:09:27 +00:00
Igor Zelmanovich d3a5cc3d85 remove TARGET_J2EE ifdef
svn path=/trunk/mcs/; revision=92927
2008-01-15 09:00:40 +00:00
Igor Zelmanovich 04661ec92e refactoring:
renamed methods if internal IScriptManager.

svn path=/trunk/mcs/; revision=92583
2008-01-10 13:35:21 +00:00
Igor Zelmanovich 5a4725fc6d ScriptManager implements IScriptManager interface
and register itself with page with appropriate key

svn path=/trunk/mcs/; revision=92390
2008-01-07 14:32:14 +00:00
Igor Zelmanovich 64cfa3777f fixed RegisterScriptDescriptors and RegisterScriptReference
svn path=/trunk/mcs/; revision=92352
2008-01-06 17:11:40 +00:00
Igor Zelmanovich ad01888cb3 fixed RegisterStartupScript
svn path=/trunk/mcs/; revision=92196
2008-01-03 17:43:09 +00:00
Igor Zelmanovich 85c9f0e48c implement
GetRegisteredClientScriptBlocks, 
GetRegisteredOnSubmitStatements,
GetRegisteredStartupScripts

svn path=/trunk/mcs/; revision=92165
2008-01-03 12:25:11 +00:00
Igor Zelmanovich fdcf5a5a4a implement GetRegisteredDisposeScripts()
svn path=/trunk/mcs/; revision=92162
2008-01-03 09:51:38 +00:00
Igor Zelmanovich d46549658c implement GetRegisteredHiddenFields
svn path=/trunk/mcs/; revision=92160
2008-01-03 09:22:59 +00:00
Igor Zelmanovich e551f6196e encode ExpandoAttribute if need.
svn path=/trunk/mcs/; revision=92159
2008-01-03 08:58:29 +00:00
Igor Zelmanovich 5fe41d6a57 initialize wrapped list if need
svn path=/trunk/mcs/; revision=92158
2008-01-03 08:33:07 +00:00
Igor Zelmanovich 59934c943c implement GetRegisteredExpandoAttributes()
svn path=/trunk/mcs/; revision=92114
2008-01-02 16:46:51 +00:00
Igor Zelmanovich 00795ef626 implement GetRegisteredArrayDeclarations()
svn path=/trunk/mcs/; revision=92110
2008-01-02 15:33:23 +00:00
Igor Zelmanovich 5224841636 added stubs for missing public API,
source formatting

svn path=/trunk/mcs/; revision=92102
2008-01-02 14:19:16 +00:00
Igor Zelmanovich 71b54a2d8f added new classes.
svn path=/trunk/mcs/; revision=92100
2008-01-02 14:07:48 +00:00
Igor Zelmanovich 25ed046946 Page.ClientScript.RegisterForEventValidation is called from render phase
svn path=/trunk/mcs/; revision=92089
2008-01-01 13:36:06 +00:00
Igor Zelmanovich 19aca07693 UpdateProgress resolve ClienID of associated UpdatePanel
svn path=/trunk/mcs/; revision=92036
2007-12-30 12:47:24 +00:00
Igor Zelmanovich fbf30804f6 fixed/redesigned ScriptManagerProxy
svn path=/trunk/mcs/; revision=91889
2007-12-26 09:56:18 +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
Igor Zelmanovich 579b73c4e2 removed #if TARGET_J2EE
svn path=/trunk/mcs/; revision=87746
2007-10-18 12:01:05 +00:00
Igor Zelmanovich 34e097b93a for #TARGET_J2EE
not all servers such portal supports partial rendering 

svn path=/trunk/mcs/; revision=87741
2007-10-18 09:47:07 +00:00
Igor Zelmanovich 35f888b326 return formAction in AJAX response.
svn path=/trunk/mcs/; revision=87701
2007-10-17 16:57:58 +00:00
Marek Habersack 69d8aaa908 007-09-27 Marek Habersack <[email protected]>
* System.Web.Extensions/System.Web.UI/ExtenderControl.cs:
	TargetControlID must not be stored in view state. It is evidenced
	by the ConfirmButton sample from the AjaxControlToolkit (release
	1.0.10920.0 or later).

svn path=/trunk/mcs/; revision=86489
2007-09-27 12:43:57 +00:00
Igor Zelmanovich 2f289ef6d5 added support for multi form environment
svn path=/trunk/mcs/; revision=85196
2007-09-02 14:49:53 +00:00
Igor Zelmanovich 3bb49f49bd consider HtmlEncoding when parsing hidden fields
svn path=/trunk/mcs/; revision=84686
2007-08-23 10:54:09 +00:00
Konstantin Triger 9fbfd4fb7c implement Profile service
svn path=/trunk/mcs/; revision=83270
2007-08-02 09:10:50 +00:00
Igor Zelmanovich 559503b6c4 consider TARGET_J2EE limitation for PathInfo
svn path=/trunk/mcs/; revision=82782
2007-07-26 14:30:48 +00:00
Konstantin Triger 18e400cdd8 implemented ToString()s
svn path=/trunk/mcs/; revision=82741
2007-07-26 08:32:24 +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
Konstantin Triger 364aa0ce89 refactoring for ScriptManager.GetCurrent()
svn path=/trunk/mcs/; revision=82734
2007-07-26 06:26:17 +00:00
Konstantin Triger 49187b4c32 refactoring
svn path=/trunk/mcs/; revision=82563
2007-07-24 13:37:59 +00:00
Igor Zelmanovich 8d6fbf9a19 Implemented AuthenticationService and ProfileService properties
svn path=/trunk/mcs/; revision=82207
2007-07-18 14:26:00 +00:00
Igor Zelmanovich 3cda662485 implemented SerializeScriptBlock method
svn path=/trunk/mcs/; revision=82106
2007-07-17 15:22:09 +00:00
Igor Zelmanovich 27f9003318 Implemented ScriptManager.LoadScriptsBeforeUI property
svn path=/trunk/mcs/; revision=82100
2007-07-17 14:11:37 +00:00
Igor Zelmanovich 421859166b Implemented RegisterDispose method
svn path=/trunk/mcs/; revision=82085
2007-07-17 11:26:18 +00:00