Commit Graph
1341 Commits
Author SHA1 Message Date
Marek Habersack f2a284f108 remove debug code
svn path=/trunk/mcs/; revision=86094
2007-09-20 18:08:19 +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 b99de95bf6 removed dos style line endigs, set svn-eol: native property
svn path=/trunk/mcs/; revision=85270
2007-09-04 12:12:59 +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
Marek Habersack ffd20cdf2a 2007-08-29 Marek Habersack <[email protected]>
* ListControl.cs: do not perform data binding twice if
            AppendDataBoundItems is true. Fixes bug #81146.

svn path=/trunk/mcs/; revision=84984
2007-08-28 23:44:44 +00:00
Igor Zelmanovich 25001d5cdb 2007-08-23 Igor Zelmanovich <[email protected]>
* Panel.cs: client script consider MultiForm environment.

svn path=/trunk/mcs/; revision=84693
2007-08-23 12:26:38 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
        changes.

2007-08-21  Marek Habersack  <[email protected]>

        * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
        to get the provider settings type.

2007-08-21  Marek Habersack  <[email protected]>

        * HttpApplicationFactory.cs: watch for changes in all the
        private binary directories for the current application domain.

        * HttpApplication.cs: turn the PrivateBinPath property into an
        internal enumerable, so that code throughout the assembly can
        iterate over the list of private bin directories configured for
        the application domain.
        Added a new internal method LoadTypeFromPrivateBin, for sharing
        with other parts of the assembly.

2007-08-21  Marek Habersack  <[email protected]>

        * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
        enumerator when loading or adding assemblies from binary
        directories. Remove unused PrivateBinPath property.

        * ControlBuilder.cs: remove unused PrivateBinPath property.

        * TemplateParser.cs: use HttpApplication.PrivateBinPath when
        adding assemblis and loading types.

2007-08-21  Marek Habersack  <[email protected]>

        * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
        a list of paths relative to AppDomainSetup.ApplicationBase, not a
        full path.
        We no longer check if the bin directories exist, the user can
        create them while the application is running.

2007-08-21  Marek Habersack  <[email protected]>

        * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
        it's unused.

2007-08-21  Marek Habersack  <[email protected]>

        * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
        to look up assemblies in the binary path(s).

svn path=/trunk/mcs/; revision=84589
2007-08-21 21:13:54 +00:00
Igor Zelmanovich 80ff804547 added #if !TERGET_J2EE
svn path=/trunk/mcs/; revision=84557
2007-08-21 15:26:18 +00:00
Marek Habersack 54ba93e32d 2007-08-20 Marek Habersack <[email protected]>
* MasterPage.cs: use the place holder IDs collection instead of
	the placholder collection to see if we have the place holder in
	the master page. Fixes bug #82485.

	* MasterPageParser.cs: store the content place holder ids in the
	internal cache to gain access to them when needed.

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

	* ContentPlaceHolderBuilder.cs: store place holder id in the
	parser's internal place holder id list for later reference. Fixes
	bug #82485.

svn path=/trunk/mcs/; revision=84441
2007-08-20 10:38:56 +00:00
Vladimir Krasnov 1a69415f03 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
svn path=/trunk/mcs/; revision=84394
2007-08-19 13:10:45 +00:00
Marek Habersack 798c365c89 2007-08-14 Marek Habersack <[email protected]>
* ChangePassword.cs: The change password button id changed to
	"ChangePasswordPushButton", the cancel button id changed to
	"CancelPushButton". The change makes the generated ids the same
	what on MS.NET. Fixes bug #82418.

2007-08-14  Marek Habersack  <[email protected]>

	* ChangePasswordTest.cs: adjust tests for the ChangePassword
	control button controls id changes. Part of fix for bug #82418.

svn path=/trunk/mcs/; revision=84055
2007-08-14 11:43:42 +00:00
Marek Habersack de3974edad 2007-08-14 Marek Habersack <[email protected]>
* SessionStateServerHandler.cs: remove unused field.

2007-08-14  Marek Habersack  <[email protected]>

	* Control.cs: include the actual exception when reporting control
	id clash.

2007-08-14  Marek Habersack  <[email protected]>

	* Roles.cs: remove unused field.

	* SqlMembershipProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: remove unused variable.

	* ChangePassword.cs: remove unused variable.

	* RoleGroupCollection.cs: OnValidate shouldn't be overridden.

2007-08-14  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <[email protected]>

	* XmlSiteMapProvider.cs: do not hide this_lock.



svn path=/trunk/mcs/; revision=84041
2007-08-14 10:52:59 +00:00
Vladimir Krasnov d62161044f * ParameterCollection.cs: fixed IndexOfString, should use ordinal compare
svn path=/trunk/mcs/; revision=84033
2007-08-14 08:56:55 +00:00
Vladimir Krasnov 1cb30226e6 * Menu.cs: performance refactoring, used AddAttribute overload without encoding on known attribute values, optimized DynamicMenu rendering
svn path=/trunk/mcs/; revision=83581
2007-08-07 12:01:15 +00:00
Vladimir Krasnov 001edb1810 * TreeView.cs: refactoring, used AddAttribute overload without encoding on known attribute values,
used Page.ClientScript.GetWebResourceUrl call instead of AssemblyResourceLoader.GetResourceUrl

svn path=/trunk/mcs/; revision=83580
2007-08-07 11:45:27 +00:00
Igor Zelmanovich 2b7aca3342 2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed: 
	view raises onchange event when datasource is chenged.			

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

	* DataSourceViewTest.cs:
	Added new test.

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

	* AccessDataSource.cs: does not subscribed on view changed event.
	* ObjectDataSource.cs: fixed state management.
	* SqlDataSource.cs:	fixed state management.	 


svn path=/trunk/mcs/; revision=83541
2007-08-06 15:46:33 +00:00
Vladimir Krasnov 345867a67a * Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83500
2007-08-05 14:30:23 +00:00
Igor Zelmanovich c34ff0e8bc 2007-08-01 Igor Zelmanovich <[email protected]>
* DropDownList.cs: fixed onchange attribute.


svn path=/trunk/mcs/; revision=83198
2007-08-01 14:36:21 +00:00
Vladimir Krasnov a32c91560f * ListItemCollection.cs: fixed LoadViewState, items restored from viewstate were not saved, fixes bug #82192
svn path=/trunk/mcs/; revision=82779
2007-07-26 14:15:22 +00:00
Igor Zelmanovich 7bba17dd3c 2007-07-24 Igor Zelmanovich <[email protected]>
* webform.js:
	* WebUIValidation_2.0.js:
	refactoring: provide possibility to define relevant functions in different 
	scopes. (global=window or form element). thus providing a solution for 
	multi form environment.		

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

	* ClientScriptManager.cs:
	* Page.cs:
	* Page.jvm.cs:
	added new internal property IsMultiForm which returns false under
	!TARGET_J2EE (Portal). All client scripts are rendered 
	according this property.	
		
2007-07-24 Igor Zelmanovich <[email protected]>

	* BaseValidator.cs: All client scripts are rendered 
	according IsMultiForm property.


svn path=/trunk/mcs/; revision=82648
2007-07-25 08:59:32 +00:00
Igor Zelmanovich 22862a356e 2007-07-24 Igor Zelmanovich <[email protected]>
* TreeView.cs: refactoring:
	* TreeView.js:
	used ClientScriptManager.GetCallbackEventReference API instead calling 
	WebForm_DoCallback explicit.
		
2007-07-24 Igor Zelmanovich <[email protected]>

	* ClientScriptManager.cs: fixed: GetCallbackEventReference method.
		

svn path=/trunk/mcs/; revision=82560
2007-07-24 12:19:00 +00:00
Igor Zelmanovich 7f257ad214 fixed line ending
svn path=/trunk/mcs/; revision=82555
2007-07-24 12:00:17 +00:00
Igor Zelmanovich cda4e10986 2007-07-15 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: for NET_2_0: fixed client side validation.
	validation is performed in WebForm_DoPostback, 
	and there is no need to do it twice in ValidatorOnSubmit.


svn path=/trunk/mcs/; revision=82011
2007-07-15 14:33:35 +00:00
Igor Zelmanovich 69f0efdf29 fixed WebForm_DoCallback function signature.
make it compatible with ClientScriptManager.GetCallbackEventReference
method and MS version.

svn path=/trunk/mcs/; revision=82007
2007-07-15 11:58:46 +00:00
Igor Zelmanovich 7ab042598b 2007-07-15 Igor Zelmanovich <[email protected]>
* Calendar.cs: fixed: correct 'id' attribute is rendered.

svn path=/trunk/mcs/; revision=82005
2007-07-15 10:33:58 +00:00
Vladimir Krasnov a8cc6f2470 * ListItemCollection.cs: optimized SetDirty method
svn path=/trunk/mcs/; revision=81698
2007-07-10 11:58:02 +00:00
Vladimir Krasnov d37751a27d * ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called

svn path=/trunk/mcs/; revision=81396
2007-07-05 14:43:44 +00:00
Vladimir Krasnov 00f78c07c0 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if ControlStyle is not created
svn path=/trunk/mcs/; revision=81388
2007-07-05 12:39:13 +00:00
Marek Habersack 1518e8133d 2007-07-02 Marek Habersack <[email protected]>
* WebControl.cs: Revert r80368, as it wasn't the correct
	fix. Fixes bug #81945.

	* ListControl.cs: if there are no items in the collection, do not
	return an empty ArrayList from GetSelectedIndicesInternal. Fixes
	bug #81945 and properly fixes bug #78533.

	* ListItemCollection.cs: if there are no items in collection,
	return null.

svn path=/trunk/mcs/; revision=81170
2007-07-02 10:52:13 +00:00
Igor Zelmanovich 0afd07a577 2007-07-01 Igor Zelmanovich <[email protected]>
* GridView.cs:
	the Pager is created but unvisible for only one page. 
	the Patch submitted by Dumitru Ban [[email protected]]	

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

	* GridViewTest.cs:
	Added new tests


svn path=/trunk/mcs/; revision=81139
2007-07-01 10:58:58 +00:00
Igor Zelmanovich 64055b640d 2007-07-01 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* DetailView.cs:
	* GridView.cs:
	does not requires data binding if any ITemplate property is set.

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

	* FormViewTest.cs:
	* DetailViewTest.cs:
	* GridViewTest.cs:
	Added new tests



svn path=/trunk/mcs/; revision=81138
2007-07-01 09:28:15 +00:00
Vladimir Krasnov 2cb275539d fixed broken 1.1 compatibility
svn path=/trunk/mcs/; revision=80616
2007-06-24 09:21:05 +00:00
Vladimir Krasnov 487467826d * CheckBox.cs: fixed Render, HasAttributes called instead Attributes.Count
svn path=/trunk/mcs/; revision=80612
2007-06-24 07:56:34 +00:00
Igor Zelmanovich 3b065bb117 2007-06-24 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed AllowPaging feature:
	When the AllowPaging is true the GridView control should automatically 
	hide the pager row when the data source contains fewer than 2 records.	
	patch Patch submitted by Dumitru Ban [[email protected]]	


svn path=/trunk/mcs/; revision=80611
2007-06-24 07:51:31 +00:00
Marek Habersack 7fb054504b 2007-06-20 Marek Habersack <[email protected]>
* WebControl.cs: if savedState is a Triplet, take the actual state
	data from savedState.First. Also make sure that the data is a
	Pair. Fixes bug #78533.

svn path=/trunk/mcs/; revision=80368
2007-06-20 21:35:49 +00:00
Marek Habersack 0b80ac0b50 2007-06-20 Marek Habersack <[email protected]>
* OutputCacheModule.cs: use Context.InternalCache.

	* Cache.cs: 2.0 profile uses generic containers to keep the cache
	entries.
	Gotten rid of the InsertPrivate and InsertInternal methods. The
	latter was moved to one of the Insert overloads.
	Private entries are no longer handled specifically, because the
	internal cache is now kept in a separate object.

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

	* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
	private entries.
	* CachingCompiler.cs: as above
	* AspGenerator.cs: as above

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

	* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
	to keep private entries.
	* XmlDataSource.cs: as above

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

	* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
	private entries.

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

	* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
	the internal entries.

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

	* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
	keep the private entries.

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

	* HttpRuntime.cs: added new internal property, InternalCache, to
	keep all the internal cache entries instead of mixing them with
	the public cache ones.
	Do not invoke Cache.InvokePrivateCallbacks - this method no longer
	exists.

	* HttpResponse.cs: private entries are now kept in
	Context.InternalCache.

	* HttpContext.cs: added new internal property, InternalCache,
	which returns the HttpRuntime.InternalCache value.

Fixes bug #81690


svn path=/trunk/mcs/; revision=80321
2007-06-20 15:42:36 +00:00
Vladimir Krasnov b485c0b75d * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptManager
svn path=/trunk/mcs/; revision=78305
2007-05-31 09:10:45 +00:00
Igor Zelmanovich 86644d0e33 2007-05-29 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs:
	* SiteMapDataSource.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	DataSourceChanged and DataSourceViewChanged are raised in right case, when
	different properties changed their value.				


svn path=/trunk/mcs/; revision=78131
2007-05-29 14:59:47 +00:00
Igor Zelmanovich ce6459ba68 2007-05-27 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
	when changed, DataSourceViewChanged event is raised.
	
	* SqlDataSourceView: fixed SelectCommand property:
	when changed, DataSourceViewChanged event is raised.


svn path=/trunk/mcs/; revision=78009
2007-05-27 13:23:17 +00:00
Marek Habersack dc1d6c47b5 2007-05-25 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: CreateDataObject must pay attention to
	TypeConverter attributes on the property being converted.

svn path=/trunk/mcs/; revision=77952
2007-05-25 17:06:44 +00:00