Commit Graph
194 Commits
Author SHA1 Message Date
Eyal Alalouf 3d357ffc84 Add support for multiple fomrs on the client side in case of TARGET_J2EE portal support.
svn path=/trunk/mcs/; revision=71699
2007-01-25 18:12:05 +00:00
Vladimir Krasnov 610f2d36a3 * Page.cs: fixed CheckForValidationSupport, SupportsEventValidationAttribute should be checked at only one level\n * TableTest.cs: removed NotWorking attribute
svn path=/trunk/mcs/; revision=71588
2007-01-24 12:58:50 +00:00
Miguel de Icaza 8579752eb1 Temporary fix
svn path=/trunk/mcs/; revision=71453
2007-01-22 18:28:54 +00:00
Konstantin Triger 8f896d00c1 ensure the web form client script is registerd before the client script includes are rendered
svn path=/trunk/mcs/; revision=71441
2007-01-22 13:41:03 +00:00
Konstantin Triger 189c3d136c move the WriteClientScriptIncludes to the top of the form, according to the MSDN
svn path=/trunk/mcs/; revision=71422
2007-01-21 15:35:54 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Eyal Alalouf a7135f35cd Add portal support
svn path=/trunk/mcs/; revision=70988
2007-01-14 17:10:38 +00:00
Vladimir Krasnov 79fbfcfa07 * PageTheme.cs: implemented
* Page.cs: fixed InitializeTheme, added PageTheme page initialization
* TemplateControl.cs, 
* TemplateControl.jvm.cs: added XPath, XPathSelect overloads with IXmlNamespaceResolver parameter
* XPathBinder.cs: added Eval, Select overloads with IXmlNamespaceResolver parameter, refactored

svn path=/trunk/mcs/; revision=70661
2007-01-08 16:24:50 +00:00
Igor Zelmanovich 7aa1179b46 2007-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.


svn path=/trunk/mcs/; revision=70587
2007-01-07 12:49:29 +00:00
Igor Zelmanovich 90f9be5ab5 2007-01-04 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: InitializeCulture should be called 
	before creating controls.

svn path=/trunk/mcs/; revision=70460
2007-01-04 10:27:20 +00:00
Marek Habersack f98d7a83ba JavaScript validation fix
svn path=/trunk/mcs/; revision=70440
2007-01-03 22:16:40 +00:00
Konstantin Triger 2a60bdfeaa Add missing IdSeparator propoerty
svn path=/trunk/mcs/; revision=70348
2007-01-02 12:06:24 +00:00
Gonzalo Paniagua Javier 05bc32c8ea 2006-12-31 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: 
	* System.Web.UI.WebControls/LinkButton.cs: show the validation summary
	when client validation and linkbuttons are used. Patch by Juraj
	Skripsky.


svn path=/trunk/mcs/; revision=70294
2006-12-31 19:59:05 +00:00
Igor Zelmanovich 0380ac6627 2006-12-31 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: EventValidation is not performed for CallBack request.


svn path=/trunk/mcs/; revision=70282
2006-12-31 14:25:15 +00:00
Igor Zelmanovich 0d023ab68e 2006-12-27 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: RegisterRequiresPostBack feature.


svn path=/trunk/mcs/; revision=70136
2006-12-27 17:22:36 +00:00
Igor Zelmanovich da64752dd7 2006-12-11 Igor Zelmanovich <[email protected]>
* Page.cs: fixed and optimized ProcessPostData
	The "second try" used for controls that created at OnLoad.
	fixed for controls that use RgisterRequeresPostBack to handle post data.


svn path=/trunk/mcs/; revision=69301
2006-12-11 08:36:17 +00:00
Igor Zelmanovich 4626a6f944 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: The specified theme must exist as either an application theme. 
	If the theme does not exist, an HttpException exception s thrown.


svn path=/trunk/mcs/; revision=69282
2006-12-10 16:03:02 +00:00
Marek Habersack 78c82d7d42 Implement the 2.0 page state persister model, and use it internally int the 1.x profile
svn path=/trunk/mcs/; revision=69254
2006-12-09 00:03:31 +00:00
Igor Zelmanovich 69a9a798ed 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: added missing methods and properties:
	AsyncMode
	AsyncTimeout
	IsAsync
	UniqueFilePathSuffix
	MaxPageStateFieldLength
	ViewStateEncryptionMode
	AddOnPreRenderCompleteAsync
	AddOnPreRenderCompleteAsync
	ExecuteRegisteredAsyncTasks
	CreateHtmlTextWriterFromType
	RegisterRequiresViewStateEncryption

svn path=/trunk/mcs/; revision=68672
2006-11-29 16:43:24 +00:00
Igor Zelmanovich 785cf8899d 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: Master property returns null when no HttpContext.

svn path=/trunk/mcs/; revision=68665
2006-11-29 12:48:59 +00:00
Igor Zelmanovich f27020d1a6 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: InitializeCulture method is called before OnPreInit.


svn path=/trunk/mcs/; revision=68651
2006-11-29 10:23:42 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Igor Zelmanovich 2d0737f93e 2006-11-27 Igor Zelmanovich <[email protected]>
* Page.cs: implemented SetFocus methods.
	* PageLifeCycle.cs: 	


svn path=/trunk/mcs/; revision=68508
2006-11-27 13:22:55 +00:00
Igor Zelmanovich 918bb1d836 2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
	* Control.cs:
	implemented ClearChildState(), ClearChildControlState() and 
	IsChildControlStateCleared	


svn path=/trunk/mcs/; revision=68477
2006-11-26 15:34:53 +00:00
Igor Zelmanovich 047bfafcfe 2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	implemented RegisterExpandoAttribute feature	


svn path=/trunk/mcs/; revision=68473
2006-11-26 11:38:54 +00:00
Igor Zelmanovich ebfff679cc 2006-11-21 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: PreviousPage property
	when CrossPostBack is processed PreviousPage is initialized 
	only if PreviousPage property is called.	 

svn path=/trunk/mcs/; revision=68251
2006-11-21 14:31:34 +00:00
Igor Zelmanovich 7f254b9857 2006-11-21 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls 
	that added on Load and latter


svn path=/trunk/mcs/; revision=68241
2006-11-21 10:01:19 +00:00
Marek Habersack 630edf9eff Support for automatic culture detection
svn path=/trunk/mcs/; revision=68216
2006-11-20 21:02:22 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Gonzalo Paniagua Javier 0380534ed8 revert r67514
svn path=/trunk/mcs/; revision=68019
2006-11-16 18:03:27 +00:00
Igor Zelmanovich a9251bd9cc 2006-11-09 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls 
	that added on Load and latter, for 1.x refactoring only


svn path=/trunk/mcs/; revision=67514
2006-11-08 12:57:58 +00:00
Igor Zelmanovich cb81f25bac 2006-10-12 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: for 2.0 only
	When Page processes Callback IsPostBack = false, but it still needs
	LoadViewState/ControlState and ProcessPostData


svn path=/trunk/mcs/; revision=66600
2006-10-12 14:40:14 +00:00
Igor Zelmanovich ee08dc1458 * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
When page is invoked by cross-page posting, PreviousPage processed all live-cycle up to OnLoadComplite included.
IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.

svn path=/trunk/mcs/; revision=65879
2006-09-25 11:26:45 +00:00
Igor Zelmanovich 50ea672254 * Page.cs: fixed: Title property works properly
svn path=/trunk/mcs/; revision=65569
2006-09-18 10:29:06 +00:00
Igor Zelmanovich fa30f3d51f implemented ValidationGroup feature on client side
svn path=/trunk/mcs/; revision=65387
2006-09-14 13:00:26 +00:00
Robert Jordan 0b3829be28 2006-09-08 Robert Jordan <[email protected]>
* Page.cs: assure that RenderTrace is called even if an
	exception occurred. Fixes bug #78930.


svn path=/trunk/mcs/; revision=65135
2006-09-08 21:09:37 +00:00
Lluis Sanchez 29bfd8efee 2006-09-07 Lluis Sanchez Gual <[email protected]>
* Page.cs: Use lowercase getElementById in the javascript that
	checks the browser.


svn path=/trunk/mcs/; revision=65045
2006-09-07 09:27:51 +00:00
Gonzalo Paniagua Javier 28718b99ec 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: don't use the Browser object, as it slows down process
	request time *a lot*. Fixes bug #79206.


svn path=/trunk/mcs/; revision=65007
2006-09-06 14:33:10 +00:00
Konstantin Triger eb37ccc7ff * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
* OutputCacheParameters.cs: added an implementation.

svn path=/trunk/mcs/; revision=64919
2006-09-05 08:25:10 +00:00
Igor Zelmanovich e59831c330 * ImageButton.cs: implemented 2.0 features
OnClientClick attached to onclick attribute.
PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions generate onclick attribute.

svn path=/trunk/mcs/; revision=64547
2006-08-30 12:01:51 +00:00
Vladimir Krasnov a0558270ff * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string if compiled with .net aspx parser
fixed OnInit, GetStyleSheets may return null if no css files found by .net aspx parser

svn path=/trunk/mcs/; revision=64298
2006-08-24 11:05:18 +00:00
Vladimir Krasnov 50ff3ed7f4 * Page.cs: added stubs to run aspx files compiled by .net
svn path=/trunk/mcs/; revision=63897
2006-08-17 11:24:57 +00:00
Andrew Skiba a9221254d5 render CSS path as a virtual path
svn path=/trunk/mcs/; revision=63576
2006-08-10 08:32:56 +00:00
Igor Zelmanovich cb9515a93d implemented MaintainScrollPositionOnPostBack feature
svn path=/trunk/mcs/; revision=63469
2006-08-08 11:07:48 +00:00
Gonzalo Paniagua Javier 29f09c9ff8 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: when ProcessRequest is not called, get the session from
	the current context. Fixes bug #78730.


svn path=/trunk/mcs/; revision=62784
2006-07-20 01:21:28 +00:00
Gonzalo Paniagua Javier 34abb47d68 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
	by Peijen Lin that closes bug #78646.


svn path=/trunk/mcs/; revision=62783
2006-07-20 01:15:41 +00:00
Gonzalo Paniagua Javier d34cf3914e 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: add the 2.0 Items property. Fixes bug #78467.


svn path=/trunk/mcs/; revision=61720
2006-06-14 22:13:28 +00:00
Gonzalo Paniagua Javier 33e6492932 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: use the new internal LosFormatter.SerializeToBase64.
	* LosFormatter.cs: always work on base 64 strings even if the
	input/output is on a Stream. Fixes bug #78640.


svn path=/trunk/mcs/; revision=61711
2006-06-14 19:16:58 +00:00
Konstantin Triger 8799f00b45 load themes relative to context root
svn path=/trunk/mcs/; revision=61560
2006-06-08 11:35:11 +00:00
Andrew Skiba 6a2f9295dd Fix the order of OnInit invocation of controls created via master page content (see http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
svn path=/trunk/mcs/; revision=61098
2006-05-25 07:39:34 +00:00