Commit Graph
1173 Commits
Author SHA1 Message Date
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 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
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 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 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
Marek Habersack 592d6443e9 2007-09-20 Marek Habersack <[email protected]>
* LoginView.cs: implemented RoleGroups support. Fixes bug
            #324633.

2007-09-20  Marek Habersack  <[email protected]>

            * TemplateControlCompiler.cs: if a member passed to
            GetExpressionFromString has a TypeConverter attribute set, try to
            use the named type converter to convert the string value into the
            target type. Fixes bug #325489.


svn path=/trunk/mcs/; revision=86092
2007-09-20 18:01:19 +00:00
Marek Habersack 27037fb3ad 2007-09-19 Marek Habersack <[email protected]>
* GridView.cs: copy attributes from GridView to the child table,
            as this is where the rendering takes place. Fixes bug #326309.


svn path=/trunk/mcs/; revision=86000
2007-09-19 11:41:48 +00:00
Marek Habersack 37e2c920d4 2007-09-18 Marek Habersack <[email protected]>
* Calendar.cs: correctly apply day cell style. Fixes bug #315903

svn path=/trunk/mcs/; revision=85946
2007-09-17 22:13:01 +00:00
Marek Habersack 28223e810c 2007-09-17 Marek Habersack <[email protected]>
* Calendar.cs: style attribute value must be enclosed in quotes.

            * TableStyle.cs: do not capitalize the align styles. Fixes bug
            #313766.

svn path=/trunk/mcs/; revision=85863
2007-09-17 09:29:29 +00:00
Igor Zelmanovich 15674a6a3d 2007-09-06 Igor Zelmanovich <[email protected]>
* ListControl.cs: partially restored r85314
	whenever a property that can affect data binding
	is set, make sure to set RequiresDataBinding.


svn path=/trunk/mcs/; revision=85410
2007-09-06 12:37:53 +00:00
Igor Zelmanovich 25f25dd97a 2007-09-06 Igor Zelmanovich <[email protected]>
* DataBoundControl.cs: fixed DataBind flow:
	prevent double binding when not necessary.
	fixed bug #81146	


svn path=/trunk/mcs/; revision=85409
2007-09-06 12:15:02 +00:00
Marek Habersack 5235b076f1 Revert r84984 and r85314
svn path=/trunk/mcs/; revision=85335
2007-09-05 08:54:41 +00:00
Marek Habersack e8d7450ffa 2007-09-04 Marek Habersack <[email protected]>
* DataBoundControl.cs: make sure no data binding is done after
            OnPagePreload has executed.

            * ListControl.cs: whenever a property that can affect data binding
            is set, make sure to set RequiresDataBinding.

svn path=/trunk/mcs/; revision=85314
2007-09-04 18:48:11 +00:00
Marek Habersack 8c71431f01 2007-08-31 Marek Habersack <[email protected]>
* GridView.cs: instead of not adding hidden fields to the rows,
            mark the cells they would contain as invisible. Fixes bug #82615.

svn path=/trunk/mcs/; revision=85094
2007-08-31 11:30:58 +00:00
Igor Zelmanovich 94f2ece929 2007-08-30 Igor Zelmanovich <[email protected]>
* Menu.cs:
	* Menu.js:
	make Menu work in multi form environment.


svn path=/trunk/mcs/; revision=85051
2007-08-30 14:01:20 +00:00
Igor Zelmanovich 39e2d6a5bf 2007-08-30 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed selected items state management.

svn path=/trunk/mcs/; revision=85048
2007-08-30 13:48:50 +00:00
Igor Zelmanovich cd1eec7379 2007-08-30 Igor Zelmanovich <[email protected]>
* BaseCompareValidator.cs:
	* BaseValidator.cs:
	* CompareValidator.cs:
	* CustomValidator.cs:
	* RangeValidator.cs:
	* RegularExpressionValidator.cs:
	* RequiredFieldValidator.cs:
	all Validators use RegisterExpandoAttribute for 
	not XHTML compliant attributes.

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

	* WebUIValidation_2.0.js:
	all Validators use RegisterExpandoAttribute for 
	not XHTML compliant attributes.


svn path=/trunk/mcs/; revision=85047
2007-08-30 13:45:21 +00:00