1186 Commits
Author SHA1 Message Date
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 65f9b60330 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access modifiers check on event handlers
svn path=/trunk/mcs/; revision=64240
2006-08-23 12:19:14 +00:00
Vladimir Krasnov d76d6662e8 * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx parser 2.0
* TemplateControl.jvm.cs: fixed AppRelativeVirtualPath 
fixed TemplateSourceDirectory, should not work on master pages. 

svn path=/trunk/mcs/; revision=64186
2006-08-22 12:18:22 +00:00
Vladimir Krasnov 69566b12eb * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
* MasterPageParser.jvm.cs: fixed path resolving GetCompiledMasterInstance

svn path=/trunk/mcs/; revision=64097
2006-08-20 12:57:38 +00:00
Vladimir Krasnov 5059059516 * TemplateControl.jvm.cs: fixed data binding API, implemented AppRelativeVirtualPath, ReadStringResource
svn path=/trunk/mcs/; revision=63901
2006-08-17 12:02:49 +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
Vladimir Krasnov 7fcaa42754 * MasterPageParser.jvm.cs: implemented
svn path=/trunk/mcs/; revision=63896
2006-08-17 11:21:02 +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
Robert Jordan 75ae118853 2006-08-09 Robert Jordan <[email protected]>
* Control.cs: add the 2.0 ResolveClientUrl method.
	Expose ResolveClientUrl as internal for the 1.1 profile.
	Fixes bug #77539.


svn path=/trunk/mcs/; revision=63535
2006-08-09 13:01:40 +00:00
Vladimir Krasnov 3a629094ad * added MasterPageParser.jvm.cs
svn path=/trunk/mcs/; revision=63499
2006-08-08 17:02:27 +00:00
Vladimir Krasnov d1d6c1be05 * ControlBuilder.jvm.cs: added BuildObject method
svn path=/trunk/mcs/; revision=63496
2006-08-08 16:53:29 +00:00
Vladimir Krasnov 1e2c9cee0c * UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
* UI/UserControl.cs: fixed ParseChildren attribute to be compliant to .net
* WebControls/Content.cs:
* WebControls/Label.cs:
* WebControls/ListControl.cs:
* WebControls/MultiView.cs:
* WebControls/WebControl.cs: fixed ParseChildren attribute to be compliant to .net
* HtmlControls/HtmlTable.cs:
* HtmlControls/HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net


svn path=/trunk/mcs/; revision=63490
2006-08-08 15:47:47 +00:00
Igor Zelmanovich cb9515a93d implemented MaintainScrollPositionOnPostBack feature
svn path=/trunk/mcs/; revision=63469
2006-08-08 11:07:48 +00:00
Vladimir Krasnov 3084af0bbf * Control.cs: fixed EnableTheming proprty, fixes bug when child control has EnableTheming=false and parent has true.
svn path=/trunk/mcs/; revision=63407
2006-08-06 12:35:14 +00:00
Vladimir Krasnov c7513d3651 * MasterPage.cs: fixed default values, fixed AddContentTemplate
svn path=/trunk/mcs/; revision=63171
2006-07-31 11:29:43 +00:00
Vladimir Krasnov b5164e5773 * Control.cs: fixed EnableTheming proprty, fixes the bug when skins are applied even if EnableTheming property was set to false.
svn path=/trunk/mcs/; revision=63169
2006-07-31 08:12:07 +00:00
Andrew Skiba 5602dad0d0 refactor to keep the original exception stack
svn path=/trunk/mcs/; revision=62913
2006-07-24 12:51:15 +00:00
Gonzalo Paniagua Javier d9583a3871 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
* PostBackOptions.cs: default to String.Empty for several field values.
	Patch by Marek Habersack.


svn path=/trunk/mcs/; revision=62862
2006-07-21 14:22:39 +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
Konstantin Triger cf9bc5dad9 bug fixes found by Test/System.Web.UI.WebControls/BoundFieldTest
svn path=/trunk/mcs/; revision=62314
2006-07-06 13:39:11 +00:00
Gonzalo Paniagua Javier 58d45c375d 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: fix compilation caching when more than one
	@control is compiled from source. Closes bug #78626.


svn path=/trunk/mcs/; revision=61724
2006-06-15 00:26:17 +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 07624f6bb1 move 2.0 stuff into ifdef NET_2_0
svn path=/trunk/mcs/; revision=61106
2006-05-25 11:41:52 +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
Andrew Skiba 95fe0dcce6 use LinkedStyleSheets from the PageTheme and from StyleSheetPageTheme to insert links in page header.
svn path=/trunk/mcs/; revision=60577
2006-05-11 07:11:37 +00:00
Andrew Skiba 85eb6f0e76 surround file name with quotes
svn path=/trunk/mcs/; revision=60491
2006-05-10 06:18:58 +00:00
Chris Toshok 2f0daf0e49 78616 -> 76818
svn path=/trunk/mcs/; revision=60421
2006-05-08 19:20:26 +00:00
Chris Toshok 81693a8ae2 2006-05-08 Chris Toshok <[email protected]>
* ControlBuilder.cs (ResetState): set renderIndex to 0 here.  This
	fixes the last thing keeping the test in #78616 from working.


svn path=/trunk/mcs/; revision=60420
2006-05-08 19:19:54 +00:00
Andrew Skiba d4917ba451 read default theme and styleSheetTheme from web.config.
svn path=/trunk/mcs/; revision=60373
2006-05-07 07:19:44 +00:00
Andrew Skiba ab36e5c495 AddAssemblyByFileName that looks more like AddAssemblyByName
svn path=/trunk/mcs/; revision=59967
2006-04-27 06:42:35 +00:00
Chris Toshok 46df37feb7 2006-04-25 Chris Toshok <[email protected]>
* PageThemeParser.cs (LinkedStyleSheets): reformat.


svn path=/trunk/mcs/; revision=59864
2006-04-25 18:44:11 +00:00
Konstantin Triger 5438195147 implementation for IsViewStateEnabled
svn path=/trunk/mcs/; revision=59836
2006-04-25 07:42:57 +00:00
Andrew Skiba 1f0528ada1 test and fix for null pointer exception
svn path=/trunk/mcs/; revision=59834
2006-04-25 06:41:15 +00:00
Andrew Skiba 0a4655895b Scan css files from theme directory and put them into __linkedStyleSheets field of generated theme page
svn path=/trunk/mcs/; revision=59787
2006-04-23 08:12:59 +00:00
Andrew Skiba 4ac1860607 add to the directory parser all the assemblies found by theme file parsers
svn path=/trunk/mcs/; revision=59521
2006-04-16 11:44:14 +00:00
Konstantin Triger ae82a9e97c correctly resolve GACs dependencies
svn path=/trunk/mcs/; revision=59519
2006-04-16 05:52:26 +00:00
Konstantin Triger 6c6fee3811 refactoring implementing Page.GetDataItem()
svn path=/trunk/mcs/; revision=59347
2006-04-11 08:39:47 +00:00
Chris Toshok 74bab7a1a2 2006-04-10 Chris Toshok <[email protected]>
* PageThemeFileParser.cs (AddDirective): allow Register directives
	in skin files.


svn path=/trunk/mcs/; revision=59305
2006-04-10 17:37:39 +00:00
Chris Toshok 21a79cd2e6 2006-04-02 Chris Toshok <[email protected]>
* Control.cs (DesignMode): always return false for now.  Fixes
	#77991.


svn path=/trunk/mcs/; revision=58917
2006-04-02 16:19:50 +00:00
Gonzalo Paniagua Javier 915d986f09 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/ControlBuilder.cs: when creating a default property
	builder, handle strings specially.

	* System.Web.UI/StringPropertyBuilder.cs: new builder used in
	TextBox 2.0.
	* System.Web.dll.sources: add StringPropertyBuilder.
	* System.Web.Compilation/TemplateControlCompiler.cs: handle the new
	StringPropertyBuilder.

	Fixes bug #77762.


svn path=/trunk/mcs/; revision=58505
2006-03-24 23:11:09 +00:00
Vladimir Krasnov bd749edc47 * ControlCollection.cs: fixed CopyTo method, fixes bug when if target index is not zero
svn path=/trunk/mcs/; revision=58016
2006-03-15 15:25:55 +00:00
Chris Toshok b8c358ef18 * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
* HtmlTextWriterAttribute.cs: same.

	* HtmlTextWriterStyle.cs: same.

	* VirtualReferenceType.cs: new enum.

2006-03-13  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=57933
2006-03-14 00:41:16 +00:00
Chris Toshok 2fdee97cc6 remove unused file
svn path=/trunk/mcs/; revision=57930
2006-03-14 00:07:04 +00:00
Chris Toshok b6274ae5d5 2006-03-13 Chris Toshok <[email protected]>
* UserControl.cs: rework InitializeAsUserControl and
	InitializeAsUserControlInternal - the Internal variety doesn't set
	this.page to null now.

	* MasterPage.cs (CreateMasterPage): map the masterPageFile path,
	and also remove a line of spew.


svn path=/trunk/mcs/; revision=57909
2006-03-13 21:27:00 +00:00
Vladimir Krasnov bc6e1a30f8 * System.Web.vmwcsproj: grasshopper project file fix, added PageParser.jvm.cs, WebServiceParser.jvm.cs
* Added System.Web.UI/PageParser.jvm.cs, System.Web.UI/WebServiceParser.jvm.cs

svn path=/trunk/mcs/; revision=57734
2006-03-09 17:31:40 +00:00
Chris Toshok ca85ad3c1f In System.Web.UI:
2006-03-07  Chris Toshok  <[email protected]>

	* Page.cs (InitializeStyleSheet): load the style sheet theme using
	ThemeDirectoryCompiler.
	(InitializeTheme): load the page's theme using
	ThemeDirectoryCompiler.
	(InternalProcessRequest): call InitializeTheme after OnPreInit.
	(FrameworkInitialize): call InitializeStyleSheet.
	(PageTheme,StyleSheetPageTheme): new properties to get the
	respective themes.

	* Control.cs (ApplyStyleSheetSkin): new method.  Calls ApplySkin
	on the ControlSkin (if there is one) for this control in the
	page's StyleSheetSkin.
	(ApplyThemeRecursively): applies the page's theme recursively to
	the control hierarchy.  Must be done this way because the control
	tree is already present when we apply the theme (it has to be,
	since theme's override settings).

	* PageTheme.cs (GetControlSkin): add internal call to do the
	lookup for us.

	* PageThemeFileParser.cs: the parser object that represents each
	individual skin file.

	* PageThemeParser.cs: the parser object that represents the entire
	theme directory.

	* PageThemeBuilder.cs: this class generates the right exception on
	the right event, but it's not hooked up yet.

In System.Web.UI.WebControls:
2006-03-07  Chris Toshok  <[email protected]>

	* WebControl.cs (EnableTheming): leave the MonoTODO, but implement
	by chaining up to base.EnableTheming.


svn path=/trunk/mcs/; revision=57676
2006-03-07 22:39:43 +00:00
Chris Toshok 9cd26e2c03 In System.Web.UI:
2006-03-02  Chris Toshok  <[email protected]>

	* Control.cs (ApplyStyleSheetTheme): remove the exception, and add
	a MonoTODO.

	* Page.cs (Theme): implement setter/getter.
	(StyleSheetTheme): same.
	
	* PageParser.cs (ProcessMainAttributes): parse the Theme and
	StyleSheetTheme attributes.

In System.Web.UI.WebControls:
2006-03-02  Chris Toshok  <[email protected]>

	* WebControl.cs (SkinID): implement setter/getter, and have them
	just chain up to base.SkinID.

In System.Web.Compilation:
2006-03-02  Chris Toshok  <[email protected]>

	* TemplateControlCompiler.cs (InitMethod): emit an assignment for
	SkinID just after the creation of our object, and right after that
	call "_ctrl.ApplyStyleSheetSkin (page)".
	(CreateAssignStatementsFromAttributes): split out the majority of
	this code to CreateAssignStatementFromAttribute, and change this
	method to simply a loop over the attribute keys.  In the 2.0 case,
	skip the SkinID property, since that's handled explicitly in
	InitMethod.

	* PageCompiler.cs (AddStatementsToInitMethod): emit assignments
	for Theme and StyleSheetTheme.


svn path=/trunk/mcs/; revision=57516
2006-03-02 19:30:08 +00:00