Commit Graph
1341 Commits
Author SHA1 Message Date
Igor Zelmanovich 9bf94370fe 2008-02-25 Igor Zelmanovich <[email protected]>
* GridView.cs:
at Update and Delete use not read only coppies of dictionaries
in event argumens, that allows user to change them before corresponding
DataSource's method is called.


svn path=/trunk/mcs/; revision=96556
2008-02-25 14:44:54 +00:00
Igor Zelmanovich 5683fb6e96 merge r96245:96256:
2008-02-20 Igor Zelmanovich <[email protected]>

	* Login.cs: render id attribute of root element correctly.


svn path=/trunk/mcs/; revision=96247
2008-02-20 13:28:37 +00:00
Marek Habersack cd08e57dea 2008-02-18 Marek Habersack <[email protected]>
* FormView.cs: the ItemCreated must be fired before data is bound
	to the FormView. Fixes bug #360434

svn path=/trunk/mcs/; revision=96093
2008-02-18 19:13:19 +00:00
Igor Zelmanovich ec84c72da5 2008-02-07 Igor Zelmanovich <[email protected]>
* Login.cs: render id attribute of root element correctly.


svn path=/trunk/mcs/; revision=95126
2008-02-07 10:39:51 +00:00
Marek Habersack 3717a3fec5 2008-02-05 Marek Habersack <[email protected]>
* FileUpload.cs: make sure FileContent always returns the input
	stream positioned at the beginning. Fixes bug #356846

svn path=/trunk/mcs/; revision=94924
2008-02-05 19:02:13 +00:00
Igor Zelmanovich 5a23107653 2008-01-31 Igor Zelmanovich <[email protected]>
* Calendar.cs: resolve Next/Prev. month link date correctly.


svn path=/trunk/mcs/; revision=94469
2008-01-31 15:16:05 +00:00
Igor Zelmanovich ee06e666ba 2008-01-29 Igor Zelmanovich <[email protected]>
* TreeView.cs: add XPFileExplorer icon set.

svn path=/trunk/mcs/; revision=94247
2008-01-29 14:04:54 +00:00
Igor Zelmanovich d1d4091bf0 2008-01-28 Igor Zelmanovich <[email protected]>
* Menu.js: dynamic nodes are positioned after hover style of 
	parent node is applied.


svn path=/trunk/mcs/; revision=94117
2008-01-28 11:59:48 +00:00
Vladimir Krasnov 10969c63c7 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, in case more than one datasource using the same object with the same select method
svn path=/trunk/mcs/; revision=93787
2008-01-24 12:40:41 +00:00
Igor Zelmanovich ed8aca43c8 2008-01-23 Igor Zelmanovich <[email protected]>
* ValidationSummary.cs:
	refactoring: If page contents instance of IScriptManager, it calls 
	it's API instead Page.ClientScript.									


svn path=/trunk/mcs/; revision=93660
2008-01-23 14:46:41 +00:00
Igor Zelmanovich 121a69b5eb 2008-01-23 Igor Zelmanovich <[email protected]>
* Menu.cs: fixed rendering.

svn path=/trunk/mcs/; revision=93647
2008-01-23 12:56:59 +00:00
Igor Zelmanovich bc6df0743e 2008-01-16 Igor Zelmanovich <[email protected]>
* Wizard.cs:
	manage history state on "MovePrevious" action.	


svn path=/trunk/mcs/; revision=93044
2008-01-16 14:46:49 +00:00
Igor Zelmanovich 9304dbfc4f 2008-01-16 Igor Zelmanovich <[email protected]>
* BulletedList.cs:
	resolve BulletImageUrl,
	register for event validation.	


svn path=/trunk/mcs/; revision=93034
2008-01-16 13:32:39 +00:00
Igor Zelmanovich 8ce3a695d6 2008-01-13 Igor Zelmanovich <[email protected]>
* TreeView.cs:
	* TreeView.js:
	upgrade client side script due to changes in webform.js.		


svn path=/trunk/mcs/; revision=92774
2008-01-13 09:41:36 +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 dfcc1aa1c4 refactoring
svn path=/trunk/mcs/; revision=92574
2008-01-10 09:46:48 +00:00
Konstantin Triger f3b0d789b8 make the behavior for SqlDataSourceView.FilterExpression comply with the behavior of ObjectDataSourceView.FilterExpression
svn path=/trunk/mcs/; revision=92450
2008-01-08 13:44:02 +00:00
Igor Zelmanovich 26024a3c36 2008-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: added internal API
	* IScriptManager.cs: added new internal interface.	

2007-01-07 Igor Zelmanovich <[email protected]>

	* BaseCompareValidator.cs:
	* BaseValidator.cs:
	* CompareValidator.cs:
	* CustomValidator.cs:
	* RangeValidator.cs:
	* RegularExpressionValidator.cs:
	* RequiredFieldValidator.cs:
	refactoring: If page contents instance of IScriptManager, validators call 
	it's API instead Page.ClientScript.									


svn path=/trunk/mcs/; revision=92389
2008-01-07 14:24:43 +00:00
Igor Zelmanovich d305e47234 2008-01-07 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.jvm.cs:			
	* Page.cs:
	* Page.jvm.cs:
	for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
	
2007-01-07 Igor Zelmanovich <[email protected]>

	* Button.cs:
	* ImageButton.cs:
	* LinkButton.cs:
	for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
	in GetPostBackOptions.			

2007-01-07 Igor Zelmanovich  <[email protected]>

	* HtmlForm.cs: refactoring.


svn path=/trunk/mcs/; revision=92387
2008-01-07 13:38:38 +00:00
Igor Zelmanovich 6cf1101bf2 2007-01-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: render invisible rows correct.


svn path=/trunk/mcs/; revision=92340
2008-01-06 12:49:36 +00:00
Igor Zelmanovich be0510455d 2007-01-06 Igor Zelmanovich <[email protected]>
* DataControlField.cs: prevent infinite recursion


svn path=/trunk/mcs/; revision=92339
2008-01-06 12:45:15 +00:00
Vladimir Krasnov 33bfe8a121 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding expiration timespan
svn path=/trunk/mcs/; revision=92087
2008-01-01 12:49:43 +00:00
Konstantin Triger 4405429b17 add missing ';' in java script
svn path=/trunk/mcs/; revision=92060
2007-12-31 12:57:07 +00:00
Vladimir Krasnov b91ee13c6b * Cache.cs: added DependencyCache property, a cache object for creating dependencies
* DataSourceCacheManager.cs: fixed SetCachedObject, fixed CacheDependency keys
* HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache initialization

svn path=/trunk/mcs/; revision=92049
2007-12-31 08:57:46 +00:00
Igor Zelmanovich 7cb6f04d5c 2007-12-24 Igor Zelmanovich <[email protected]>
* TreeView.cs: revert changes from r91230


svn path=/trunk/mcs/; revision=91853
2007-12-24 09:42:34 +00:00
Vladimir Krasnov acb20323c7 * ListControl.cs: fixed Load/SaveViewState, removed selected indices storing
* ListItem.cs: fixed Load/SaveViewState, added selected state storing
* ListItemCollection.cs: fixed Load/SaveViewState, added flag to not rebuild the collection if wasnt changed

svn path=/trunk/mcs/; revision=91518
2007-12-18 09:46:00 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Vladimir Krasnov 7af35c7215 * Menu.cs: fixed rendering without head tag on page
svn path=/trunk/mcs/; revision=91201
2007-12-13 08:43:09 +00:00
Vladimir Krasnov 0c5fb3df11 * Calendar.cs: performance optimizations:
BuildLink fixed, StringBuilder used.
	TodaysDate DateTime.Today call cahced.

svn path=/trunk/mcs/; revision=89924
2007-11-19 10:26:10 +00:00
Vladimir Krasnov 3cc6765f76 * Unit.cs: performance optimization: ToString fixed, string.Concat used instead of string.Format
svn path=/trunk/mcs/; revision=89921
2007-11-19 09:58:56 +00:00
Vladimir Krasnov c15337098f * Style.cs: performance optimization: suppress finalizer added
svn path=/trunk/mcs/; revision=89919
2007-11-19 09:33:45 +00:00
Igor Zelmanovich 584fa7134c 2007-11-08 Igor Zelmanovich <[email protected]>
* BoundField.cs:
	* ImageField.cs:
	evaluate bound value using ThisExpession ("!") properly	

2007-11-08 Igor Zelmanovich <[email protected]>

	* AutoGeneratedFieldTest.cs:	
	Added new test.



svn path=/trunk/mcs/; revision=89179
2007-11-08 09:29:39 +00:00
Igor Zelmanovich 94bbd9e713 2007-11-07 Igor Zelmanovich <[email protected]>
* WebControl.cs: enabled state restored properly.

2007-11-07 Igor Zelmanovich <[email protected]>

	* WebControlTest.cs:	
	Added new test.


svn path=/trunk/mcs/; revision=89120
2007-11-07 16:36:02 +00:00
Igor Zelmanovich 4c649666c1 2007-11-06 Igor Zelmanovich <[email protected]>
* TextBox.cs:
	refactoring for NET_2_0:
	Text is removed from view state in case of need at SaveViewState phase. 	 


svn path=/trunk/mcs/; revision=88955
2007-11-06 09:21:37 +00:00
Igor Zelmanovich 03002226b2 2007-11-06 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	SelectedValue/SelectedIndex is set during DataBinding always. 	 

2007-11-06 Igor Zelmanovich <[email protected]>

	* ListControlTest.cs:
	Added new tests.

svn path=/trunk/mcs/; revision=88954
2007-11-06 09:17:06 +00:00
Marek Habersack e9c28fc584 2007-11-06 Marek Habersack <[email protected]>
* DataGrid.cs: add RenderTable before the DataGridItems, so that
	numbering of children is the same what on MS.NET.
	If there are any data items, require a postback script.
	Fixes bug #319449
	
	* ChildTable.cs: removed DOS EOLs.
2007-11-06  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.UI.WebControls/ChildTable.cs to compilation, for MS.NET
	compatibility.


svn path=/trunk/mcs/; revision=88945
2007-11-06 01:12:02 +00:00
Igor Zelmanovich f32b4ce18c 2007-10-31 Igor Zelmanovich <[email protected]>
* Login.cs: 
	does not perform authentication if Page.IsValid returns false;
	the fix makes control works with disabled client side validation.


svn path=/trunk/mcs/; revision=88568
2007-10-31 15:53:40 +00:00
Igor Zelmanovich 4aefe0917f 2007-10-31 Igor Zelmanovich <[email protected]>
* DataList.cs: 
	state of DataList.Items are restored correct on PostBack
	such Items.Count and ItemType.

2007-10-31 Igor Zelmanovich <[email protected]>

	* DataListTest.cs:
	Added new test.

svn path=/trunk/mcs/; revision=88546
2007-10-31 11:03:56 +00:00
Igor Zelmanovich f90416da24 2007-10-31 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: 
	validator is rendered correct if EnabledClientClient is false.


svn path=/trunk/mcs/; revision=88542
2007-10-31 09:30:09 +00:00
Igor Zelmanovich 2c0432a258 2007-10-30 Igor Zelmanovich <[email protected]>
* Image.cs: fixed management state of Enabled property.
	* WebControl.cs: refactoring in management state of Enabled property.

2007-10-30 Igor Zelmanovich <[email protected]>

	* ImageTest.cs:
	* WebControlTest.cs:	
	Added new tests.


svn path=/trunk/mcs/; revision=88457
2007-10-30 14:21:51 +00:00
Marek Habersack e24a2ac597 2007-10-23 Marek Habersack <[email protected]>
* ListBox.cs, Table.cs: use Render{Begin,End}Tag
	instead of the Write* counterparts when	rendering contents.

svn path=/trunk/mcs/; revision=87978
2007-10-23 12:14:27 +00:00
Marek Habersack beda9a6afe 2007-10-18 Marek Habersack <[email protected]>
* Menu.js: a workaround for an IE bug. IE recalculates element's
	 offsetWidth when the element's _height_ is set - which in case of
	 elements with overflowing content results in a value that's just
	 slightly smaller than the client window width. In effect, a long
	 submenu will also be very wide, which isn't desirable. Fixes bug
	 #322809

svn path=/trunk/mcs/; revision=87728
2007-10-18 01:39:42 +00:00
Marek Habersack c024be4598 2007-10-15 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
	BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
	HttpApplication.LoadType instead of Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProvidersHelper.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProfileBase.cs: use HttpApplication.LoadType instead of
	Type.GetType.

svn path=/trunk/mcs/; revision=87506
2007-10-15 13:07:47 +00:00
Marek Habersack 37ac56e45d 2007-10-15 Marek Habersack <[email protected]>
* BulletedList.cs: html encode the item text. Fixes bug #333550.

svn path=/trunk/mcs/; revision=87489
2007-10-15 09:17:41 +00:00
Marek Habersack 7b644dae90 2007-10-01 Marek Habersack <[email protected]>
* ListItem.cs: make HasAttributes available for the 1.1 profile as
	well.

	* DropDownList.cs: render custom ListItem attributes in the 1.1
	profile. Fixes bug #326288

svn path=/trunk/mcs/; revision=86701
2007-10-01 13:30:11 +00:00
Marek Habersack a2cd8e0caf it's an _override_, after all
svn path=/trunk/mcs/; revision=86461
2007-09-27 07:17:33 +00:00
Marek Habersack fe3691f5cd 2007-09-27 Marek Habersack <[email protected]>
* Button.cs: added missing OnPreRender method.

svn path=/trunk/mcs/; revision=86460
2007-09-27 07:06:34 +00:00
Marek Habersack a53f2c9675 2007-09-25 Marek Habersack <[email protected]>
* WebControl.cs: added an internal method, BuildScriptAttribute,
	which merges the specified JavaScript code in an attribute, with
	the value of that attribute specified by the user.

	* CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
	preserve user-specified attribute value, if present.

	* ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
	after doing its job. AutoPostBack handling makes sure to preserve
	user-specified attribute value, if present. Fixes bug #327816.

svn path=/trunk/mcs/; revision=86294
2007-09-25 00:22:04 +00:00
Marek Habersack 008a69040e formatting
svn path=/trunk/mcs/; revision=86117
2007-09-20 22:59:03 +00:00
Marek Habersack 971171f146 2007-09-21 Marek Habersack <[email protected]>
* ListItem.cs: don't save StateBag in the control state - the
            class is not serializable and therefore ObjectStateFormatter
            cannot convert it. Instead have the sb object save its own state
            and store the returned value. Fixes bug #326288.

svn path=/trunk/mcs/; revision=86116
2007-09-20 22:49:53 +00:00