78 Commits
Author SHA1 Message Date
Alexander Köplinger a22bb15e6b [System.Web] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Alexander Köplinger 7ad842c95c [bcl] Rename variables to avoid conflict with later renames 2017-03-16 13:02:09 +01:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Marek Habersack f9aca58e82 4.0/2.0 metadata updates + some test updates
svn path=/trunk/mcs/; revision=160378
2010-07-14 19:46:01 +00:00
Marek Habersack d8838a6414 This commit introduces a few 4.0 rendering changes which break some tests. The broken tests
fail to work on .NET 4.0 as well, for the most part. I will fix them next week.

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlParser.cs: added support for ClientIDMode
    	property

    	* Control.cs: implemented 4.0 features - ClientIDMode and
    	RenderingCompatibility.

    	* ClientIDMode.cs, IDataKeysControl.cs: added

    2010-07-02  Marek Habersack  <[email protected]>

    	* Menu.cs: 4.0 API updates.

    	* GridView.cs: implemented 4.0 properties -
    	SortedAscendingCellStyle, SortedAscendingHeaderStyle,
    	SortedDescendingCellStyle, SortedDescendingHeaderStyle,
    	ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
    	along with associated rendering changes.

    	* DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
    	renamed ShowPage to SetPageIndex and made it public.
    	Added 4.0 interfaces to inheritance list and implemented them.

    	* DataKeyArray.cs: added internal constructor which accepts IList
    	instead of ArrayList. Changed the 'keys' field type to IList.

    	* ContainedTable.cs: the 'id' attribute must be rendered last.

    	* CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
    	TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.

    	* Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
    	Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
    	Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
    	added new 4.0 property, SupportsDisabledAttribute.

    2010-07-02  Marek Habersack  <[email protected]>

    	* VersionConverter.cs: added support for checking whether the
    	passed version is equal or more than a specified minimal version.

    	* PagesSection.cs: added two 4.0 properties - ClientIDMode and
    	ControlRenderingCompatibilityVersion

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlCompiler.cs: added support for ClientIDMode 4.0
    	property

    	* PageCompiler.cs, UserControlCompiler.cs: AddStatementsToInitTop
    	must call the base implementation.

svn path=/trunk/mcs/; revision=159826
2010-07-02 19:12:31 +00:00
Marek Habersack 221a24b979 - 1.1 code removal
- coding style
- minor optimizations

svn path=/trunk/mcs/; revision=159333
2010-06-22 12:26:13 +00:00
Marek Habersack 2ad931f695 2009-06-16 Marek Habersack <[email protected]>
* HtmlHeadBuilder.cs: use faster String.Compare overloads.

	* HtmlHead.cs: implemented 4.0 properties Description and
	Keywords.

2009-06-16  Marek Habersack  <[email protected]>

	* IPersistedSelector.cs: removed AspNetHostingPermission
	attributes from the 4.0 profile.

	* IDataBoundControl.cs, IDataBoundItemControl.cs,
	IDataBoundListControl.cs, IFieldControl.cs: added

	* DetailsView.cs: control implements 4.0 IDataBoundItemControl
	interface.

	* DataBoundControl.cs: implemented 4.0 property DataSourceObject
	and made the InternalPerformDataBinding method internal for the
	4.0 profile.

2009-06-16  Marek Habersack  <[email protected]>

	* net_4_0_System.Web.dll.sources:
	Added
	System.Web.UI.WebControls/IDataBoundControl.cs,
	System.Web.UI.WebControls/IDataBoundItemControl.cs,
	System.Web.UI.WebControls/IDataBoundListControl.cs,,
	System.Web.UI.WebControls/IFieldControl.cs

svn path=/trunk/mcs/; revision=136192
2009-06-16 01:46:33 +00:00
Marek Habersack db1c3a970d 2009-04-28 Marek Habersack <[email protected]>
* GridView.cs: implemented ColumnsGenerator and enabled its use in
	CreateColumns.

	* DetailsView.cs: implemented the RowsGenerator property and
	enabled its use in CreateFieldSet.

svn path=/trunk/mcs/; revision=132833
2009-04-28 12:14:16 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Marek Habersack f3bc4a2f46 Use UNIX line endings consistently
svn path=/trunk/mcs/; revision=116241
2008-10-17 15:26:06 +00:00
Marek Habersack 81c4068d12 2008-10-17 Marek Habersack <[email protected]>
* ImageMap.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in Render ().

	* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().

	* TextBox.cs: validate the event in LoadPostData ().
	Register for event validation in AddAttributesToRender ().

	* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
	Register for event validation in Render ().

	* RadioButton.cs: validate the event in LoadPostData ().
	Register for event validation in InternalAddAttributesToRender.

	* CheckBox.cs, RadioButtonList.cs: validate the event in
	RaisePostDataChangedEvent.

	* Menu.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in GetClientEvent ().

	* DetailsView.cs, GridView.cs: validate the event in
	RaisePostBackEvent ().
	Register for validation in GetCallbackScript () and in OnPreRender

	* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
	ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* Control.cs: added the ValidateEvent internal method, used by
	classes descending from Control to automatically trigger event
	validation.

	* Page.cs: removed the CheckForValidationSupport method. It moved
	to Control.cs
	RaisePostBackEvent no longer validates the events, this
	functionality has been moved to Control.ValidateEvent.

2008-10-17  Marek Habersack  <[email protected]>

	* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.

	* HtmlInputButton.cs: validate the event in
	RaisePostBackEventInternal ().
	Register for event validation in RenderAttributes ()

	* HtmlTextArea.cs: validate the event in
	RaisePostBackDataChangedEvent ().

	* HtmlButton.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ()

	* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ().

	* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
	LoadPostData.

	* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
	HtmlInputPassword.cs: validate the event in
	RaisePostDataChangedEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* MenuAdapterTest.cs: work around event validation failure in the
	test environment.

2008-10-17  Marek Habersack  <[email protected]>

	* PageTest.cs: use a custom version of HtmlInputHidden control to
	work around the new event validation code which doesn't work in
	this instance.

svn path=/trunk/mcs/; revision=116231
2008-10-17 14:56:19 +00:00
Dean Brettle 23000b3144 ++ Test/mainsoft/ChangeLog (working copy)
* add new resources: 
		PageWithAdapter.aspx for PageTest and PageAdapterTest.
		TestCapability.browser for AppBrowsersTest.

	* NunitWebResources/adapters.browser, 
	NunitWebResources/AppBrowsersTest.browser: modified to support
	testing reference nodes with captures, and adapters.

	* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
	unload, no new requests are sent to the app host and any
	pending requests are completed before the the unload occurs.
	Also added WebTest.AppUnloaded event that tests can use to wait
	for the app to unload (e.g. after touching Global.asax), and 
	WebTest.CleanApp() which can be called to restart the app with
	the a skeleton directory structure.  Tests which add files that
	could effect other tests (e.g. App_Browsers/*.browser files) should
	call WebTest.CleanApp() during TearDown to return the app to a 
	pristine environment.
	
++ Test/mainsoft/MainsoftWebTest/ChangeLog	(working copy)

	* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that 
	tests can access System.Web internals now that System.Web is
	InternalsVisibleTo this assembly.

++ Test/System.Web/ChangeLog	(working copy)

	* AppBrowsersTest.cs: added.  Includes tests for Control.Adapter,
	Control.ResolveAdapter,	Control.TagWriter, and
	Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
	AppBrowsersTest is currently tagged [Ignore], pending a fix for 
	bug #351878.
	
	* HttpRuntimeTest.cs: added. Includes test for 
	HttpRuntime.UnloadAppDomain().  Marked [Ignore], pending a fix for
	bug #351878.
	
++ Test/System.Web.UI.Adapters/ChangeLog	(revision 0)

	* PageAdapterTest.cs: added tests for PageAdapter.


	* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
	ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
	during normal page processing if no files are in App_Browsers.
	


	* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog	(working copy)

	* PageTest.cs: add tests for using a PageAdapter.
	
	* ControlTest.cs: moved commented out ResolveAdapter_1 test to 
	../System.Web/AppBrowsersTest.cs.  Fixed typo in test name.  
	Added Customcontroladapter.Adapter property for use by AppBrowsersTest.

++ Test/System.Web.UI.WebControls.Adapters/ChangeLog	(revision 0)

	* MenuAdapterTest.cs: added


	* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
	DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog	(working copy)

	* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
	result was the same when using the base MenuAdapter as when using
	no adapter.
	
	* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
	to ensure that MenuAdapter.RenderItem() is called.

	* HierarchicalDataBoundControlTest.cs, WebControlTest.cs, 
	DataBoundControlTest.cs: added test for use of ControlAdapters
	when present.
	
	* WebControl.cs: added test for IsEnabled.

++ System.Web/ChangeLog	(working copy)

	* HttpApplicationFactory.cs: Added support for detecting 
	App_Browsers/*.browser files and using them to determine capabilities.
	Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
	directories are created.

	* BrowserCapabilities.cs (TagWriter): get value via internal virtual
	GetTagWriter() method, which is overridden in nBrowser.Result.

	* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
	internal properties added to allow Page and Control methods to avoid
	accessing Request.Browser to get browser-specific HtmlTextWriters or 
	ControlAdapters.  Those things only exist when there are App_Browsers
	files.

++ System.Web.UI.Adapters/ChangeLog	(working copy)

	* ControlAdapter.cs: made control field internal so
	derived internal classes can access it without using base.Control
	which can involved several typecasts.


	* PageAdapter.cs: implemented all members.
	

	* ControlAdapter.cs: implemented all members.
	
	* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog	(working copy)

	* Page.cs (SavePageControlState, LoadPageControlState): save/load 
	adapter state in 2.0 profile.
	
	* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
	in 2.0 profile.
	
	* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
	in 2.0 profile.
	
	* Page.cs (DeterminePostBackMode, InitOutputCache, 
	RenderClientScriptFormDeclaration,	InternalProcessRequest,
	PageStatePersister): added support for PageAdapters.

	* Control.cs (Adapter, ResolveAdapter): implemented.  Adapter calls
	ResolveAdapter and remembers result.  ResolveAdapter checks for adapters
	of the Type hierarchy until it finds one.
	
	* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
	adapter state in 2.0 profile.
	
	* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
	required by 2.0 profile.  These are called by corresponding methods of
	System.Web.UI.Adapters.ControlAdapter.
	
	* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
	any adapters/writers because there are no files in App_Browsers/.

++ Assembly/ChangeLog	(working copy)

	* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
	to support ControlAdapterTest.ConfigCapabilitiesNotCalled().

++ ChangeLog	(working copy)

	* System.Web_test.dll.sources: added
		System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
		System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
		System.Web.UI.Adapters/PageAdapterTest.cs
		System.Web.UI.Adapters/ControlAdapterTest.cs
		
	* Makefile (RESOURCE_FILES_2): added
		System.Web.Configuration_2.0/RandomRoboBotKeywords.txt

	* Makefile (TEST_RESOURCE_FILES): added 
		Test/mainsoft/NunitWebResources/PageWithAdapter.aspx

	* System.Web.dll.sources: added
		System.Web.Configuration_2.0/CapabilitiesBuild.cs
		System.Web.Configuration_2.0/CapabilitiesChecksum.cs
		System.Web.Configuration_2.0/CapabilitiesResult.cs
		System.Web.Configuration_2.0/ICapabilitiesProcess.cs
		System.Web.Configuration_2.0/nBrowser/Result.cs
		System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
		System.Web.Configuration_2.0/nBrowser/Identification.cs
		System.Web.Configuration_2.0/nBrowser/File.cs
		System.Web.Configuration_2.0/nBrowser/Build.cs
		System.Web.Configuration_2.0/nBrowser/Node.cs
		System.Web.Configuration_2.0/nBrowser/Exception.cs
		
++ System.Web.UI.WebControls.Adapters/ChangeLog	(working copy)

	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs: changed to use ControlAdapter.control
	instead of using base.Control or using a new control field.
	
	* MenuAdapter.cs: added	internal constructor that takes a Menu
	parameter.  The constructor is used when writing unit tests.
	
	* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag, 
	RenderContents, RenderEndTag): delegate to base instead of
	Control.
	
	* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
	RaisePostBackEvent, RenderItem): implemented.
	

	* WebControlAdapter.cs (RenderContents): changed to call 
	control.RenderContents() instead of control.Render().
	
	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
	internal constructor that takes a parameter of the corresponding
	Control type.  The construct is used when writing unit tests.

++ System.Web.Configuration_2.0/ChangeLog	(working copy)

	* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
	nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs, 
	nBrowser/Exception.cs: added.  The code under nBrowser handles *.browser
	files.  It is based on Owen "Ocean" Brady's code, with the following 
	changes and improvements.  Replaced Result.Adapter 
	property with AdapterTypeMap property which maps control Type to adapter
	Type.  Added Result.MarkupTextWriter property.  Added overrides for
	Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
	and AdapterTypeMap, resp.  Changed tree building algorithm to not
	depend on nodes with id="Default" and to inject defaultBrowser nodes
	as parents of regular nodes with the same ids.  Changed Node.cs to use
	Item instead of Add when adding a capability or sample header, so that
	values get replaced instead of appended.  Added support for reference 
	nodes (ie. nodes with refID="someID").
		
	* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
	using the correct name.
	
	* RandomRoboBotKeywords.txt: added 

	* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
	support for *.browsers.  Adapters property calls internal virtual
	GetAdapters() method which is overrided in nBrowser.Result 
	returned by nBrowser code.  CreateHtmlWriter uses type specified
	by TagWriter property.
	
++ System.Web.UI.WebControls/ChangeLog	(working copy)

	* DetailsView.cs, ListControl.cs, DataBoundControl.cs, 
	FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs: 
	added support for using ControlAdapters when present.
	
	* WebControl.cs: fixed implementation of IsEnabled to match 
	documentation.

	* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of 
	RenderMenuItem() if an adapter is present.  MenuAdapter.RenderItem() 
	calls back to new Menu.RenderItem() internal method which calls
	RenderMenuItem() with the appropriate parameters.

++ System.Web.Configuration/ChangeLog	(working copy)

	* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser 
	support.  Also added internal GetConfigCapabilities_called
	flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to 
	test that GetConfigCapabilities() is not called during normal page
	processing when there are no files in App_Browsers/.


svn path=/trunk/mcs/; revision=97824
2008-03-09 22:55:22 +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
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
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
Marek Habersack 03e6d60374 2007-04-06 Marek Habersack <[email protected]>
* GridView.cs: don't render invisible fields. Fixes bug #80061.

	* DetailsView.cs: don't render invisible fields.


svn path=/trunk/mcs/; revision=75464
2007-04-05 22:13:37 +00:00
Eyal Alalouf 9396a91227 add Http callback support for J2EE portlets.
svn path=/trunk/mcs/; revision=73071
2007-02-18 12:28:38 +00:00
Igor Zelmanovich dc20c430c7 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: 
	header and footer visibility is set at creation.	


svn path=/trunk/mcs/; revision=72364
2007-02-06 17:13:16 +00:00
Igor Zelmanovich 1050de0b9d 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	PageIndex, CreateChildControls, 
	works properly with not ICollection data source.	

svn path=/trunk/mcs/; revision=72355
2007-02-06 15:16:38 +00:00
Igor Zelmanovich 86fa72803b 2007-02-05 Igor Zelmanovich <[email protected]>
* DataBoundControl.cs:
	* DetailsView.cs:
	* FormView.cs:
	PerformDataBinding is called with RequiresDataBinding was set false

svn path=/trunk/mcs/; revision=72300
2007-02-05 15:22:55 +00:00
Igor Zelmanovich b1a33bbaa2 2007-02-05 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	fixed validation flow.	

svn path=/trunk/mcs/; revision=72286
2007-02-05 08:38:16 +00:00
Igor Zelmanovich 455e2af16f 2007-01-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* FormView.cs:
	fixed DataBinding flow for Insert mode.

svn path=/trunk/mcs/; revision=72013
2007-01-31 08:39:45 +00:00
Ilya Kharmatsky 0a1d87626b Fixed rendering problems in DetailsView control, related to an empty data source.
svn path=/trunk/mcs/; revision=71582
2007-01-24 09:57:22 +00:00
Vladimir Krasnov f874c30a24 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less than zero
svn path=/trunk/mcs/; revision=71177
2007-01-17 09:55:26 +00:00
Vladimir Krasnov 95674cf3bc revert to crlf line endings, in order to see diff
svn path=/trunk/mcs/; revision=71111
2007-01-16 09:02:33 +00:00
Vladimir Krasnov b03085f9db * DetailsView.cs: fixed CreateChildControls, PageIndex should be less or equal to PageCount
svn path=/trunk/mcs/; revision=71110
2007-01-16 08:53:52 +00:00
Vladimir Krasnov 0d481e93eb * DetailsView.cs: fixed DeleteItem, excluded keys for new values
* SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in OnDeleting event

svn path=/trunk/mcs/; revision=70696
2007-01-09 09:56:10 +00:00
Konstantin Triger 0d8d463400 explicitly implement IDataItemContainer.DataItemIndex as .Net does
svn path=/trunk/mcs/; revision=70418
2007-01-03 12:52:39 +00:00
Igor Zelmanovich 9528783636 2007-01-02 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed CreateAutoGeneratedRows.			


svn path=/trunk/mcs/; revision=70347
2007-01-02 12:03:01 +00:00
Igor Zelmanovich 13a8581fd6 2007-01-01 Igor Zelmanovich <[email protected]>
* AutoGeneratedField.cs: is editable in Insest mode.
	* BoundField.cs: is editable in Insest mode.
	* CheckBoxField.cs: is editable in Insest mode.
	* DetailsView.cs: fixed DataBinding flow.			

svn path=/trunk/mcs/; revision=70320
2007-01-01 16:37:54 +00:00
Igor Zelmanovich 75ac380f91 2006-12-31 Igor Zelmanovich <[email protected]>
* ContainedTable.cs:
	* DataControlButton.cs:
	* DetailsView.cs: fixed EnablePagingCallbacks
	* DetailsView.js:
	* GridView.cs:
	* GridView.js: fixed EnableSortingAndPagingCallbacks

svn path=/trunk/mcs/; revision=70284
2006-12-31 14:44:01 +00:00
Igor Zelmanovich 499d009db5 2006-12-28 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* FormView.cs:
	control's behavior depends on using DataSource or DataSourceID 
	property for binding	


svn path=/trunk/mcs/; revision=70165
2006-12-28 13:28:38 +00:00
Igor Zelmanovich 6d788037e2 2006-12-26 Igor Zelmanovich <[email protected]>
* DataGridPagerStyle.cs:
	* DataList.cs:
	* DetailsView.cs:
	* FontInfo.cs:
	* Style.cs:
	* TableItemStyle.cs:
	* TableStyle.cs:
	* TreeNodeStyle.cs:
	* WebControl.cs:
	* Wizard.cs:				
	fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate 
	for it's ControlStyle, but the shared ViewState is used to manage style's 
	viewstate instead.

svn path=/trunk/mcs/; revision=70077
2006-12-26 07:59:53 +00:00
Igor Zelmanovich 27a1535c7b 2006-12-17 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: FillRowDataKey
	* DetailsView.cs: fixed: FillRowDataKey


svn path=/trunk/mcs/; revision=69600
2006-12-17 13:56:44 +00:00
Igor Zelmanovich b1fdb33876 2006-12-07 Igor Zelmanovich <[email protected]>
* DetaisView.cs: fixed: rendering.
	* DataControlButton.cs:
	* PagerSettings.cs:		


svn path=/trunk/mcs/; revision=69182
2006-12-07 14:56:43 +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 1a1143b5c8 2006-11-19 Igor Zelmanovich <[email protected]>
* LinkButton.cs: optimized: support for event validation.
	* DataControlButton.cs: Added support for event validation.
	* DetailsView.cs: fixed: RowIndex for DetailsViewRow.	

svn path=/trunk/mcs/; revision=68152
2006-11-19 14:31:50 +00:00
Igor Zelmanovich ef063d32b9 2006-11-12 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed:  DataKeys, PageCount, DataBinding flow.


svn path=/trunk/mcs/; revision=67737
2006-11-12 13:39:59 +00:00
Igor Zelmanovich 3a6e6bad4c 2006-10-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.


svn path=/trunk/mcs/; revision=67176
2006-10-31 13:11:40 +00:00
Igor Zelmanovich 7441824f47 typo fix
svn path=/trunk/mcs/; revision=66914
2006-10-24 10:04:31 +00:00
Igor Zelmanovich 6def7561fa 2006-10-24 Igor Zelmanovich <[email protected]>
* DetailsView.cs: implemented: GetCallbackScript method.


svn path=/trunk/mcs/; revision=66913
2006-10-24 09:29:00 +00:00
Igor Zelmanovich 4804a14ec4 2006-10-23 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: IPostBackContainer.GetPostBackOptions method.


svn path=/trunk/mcs/; revision=66904
2006-10-23 15:20:47 +00:00
Igor Zelmanovich a0369e746d 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: OnBubbleEvent works properly.


svn path=/trunk/mcs/; revision=66789
2006-10-18 14:41:14 +00:00
Igor Zelmanovich c4f91c3cd4 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: considers DataControlField.InsertVisible.


svn path=/trunk/mcs/; revision=66785
2006-10-18 13:19:00 +00:00
Igor Zelmanovich f3927a6114 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CurrentMode property.


svn path=/trunk/mcs/; revision=66784
2006-10-18 12:38:02 +00:00
Igor Zelmanovich 9ce8aa8f12 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: current state are not changed during paging.


svn path=/trunk/mcs/; revision=66783
2006-10-18 12:16:39 +00:00
Igor Zelmanovich f86900b347 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	in Insert mode Select not invoked from DataSource
		

svn path=/trunk/mcs/; revision=66782
2006-10-18 11:59:29 +00:00
Igor Zelmanovich f71a12b678 2006-10-17 Igor Zelmanovich <[email protected]>
* DetailsView.cs: 
	* DetailsView.js: 
	fixed: EnablePagingCallbacks feature.
	when postback is invoked after callback control state is restored
	properly. 


svn path=/trunk/mcs/; revision=66746
2006-10-17 14:15:17 +00:00
Igor Zelmanovich f0cdb3cc99 2006-10-17 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66742
2006-10-17 12:58:27 +00:00
Igor Zelmanovich ed0e3c4510 2006-10-08 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* GridView.cs:
	* DetailsView.cs: 
	* PagerSettings.cs: 
	reverted r66222, problem solved in r66283: command buttons inherit ForeColor
		

svn path=/trunk/mcs/; revision=66404
2006-10-08 11:33:33 +00:00