1495 Commits
Author SHA1 Message Date
Konstantin Triger 4ae9e85ade fix SyncRoot according to MSDN
svn path=/trunk/mcs/; revision=62431
2006-07-11 09:37:40 +00:00
Konstantin Triger 9ff03c08ff DataControlFieldCollection.cs: added OnClearComplete override;
refactor to eliminate null reference exception.

svn path=/trunk/mcs/; revision=62429
2006-07-11 09:22:56 +00:00
Vladimir Krasnov a06298ea95 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
* View.cs: fixed Visible property

svn path=/trunk/mcs/; revision=62427
2006-07-11 07:09:54 +00:00
Andrew Skiba 3f67d3271b fix for dotnet compliency. patch by Konstantin Triger.
svn path=/trunk/mcs/; revision=62399
2006-07-10 15:18:43 +00:00
Andrew Skiba 61c0bd83e4 fix the default PageSeparator value
svn path=/trunk/mcs/; revision=62398
2006-07-10 15:05:03 +00:00
Konstantin Triger ed0ed68f3e * GridView.cs: always create Header/Fotter rows, but render only when
ShowHeader/Footer is true. Compute Header/Footer rows from rows
       	collection.
* CheckBoxField.cs: add override to ApplyFormatInEditMode,
      	add ToolTip and Text to the created CheckBox,
       	wrap exception thrown in OnDataBindField in httpException.

svn path=/trunk/mcs/; revision=62378
2006-07-09 13:05:20 +00:00
Konstantin Triger 05af6521d1 ensure the container for the style exists
svn path=/trunk/mcs/; revision=62317
2006-07-06 14:48:08 +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
Konstantin Triger 5005a39e07 ChangeLog for r62303
svn path=/trunk/mcs/; revision=62304
2006-07-06 09:21:11 +00:00
Konstantin Triger 6976afb0a3 * DataControlField.cs: correct handling empty header/footer text.
* TemplateField.cs: correct initialization according to DataControlRowState.

svn path=/trunk/mcs/; revision=62303
2006-07-06 09:20:15 +00:00
Vladimir Krasnov 15ecfe88ad * System.Web_test.dll.sources: added CreateUserWizardTest.cs
* System.Web.dll.sources: added CompleteWizardStep.cs, CreateUserWizard.cs, CreateUserWizardStep.cs, TemplatedWizardStep.cs
* Wizard.cs: added functionality for Templated WizardStep and CreateUserWizard
* added CompleteWizardStep.cs,	CreateUserWizard.cs, CreateUserWizardStep.cs, TemplatedWizardStep.cs
* added CreateUserWizardTest.cs

svn path=/trunk/mcs/; revision=62272
2006-07-05 16:35:10 +00:00
Konstantin Triger 9c6118109b correcting default dataType
svn path=/trunk/mcs/; revision=62267
2006-07-05 15:14:54 +00:00
Vladimir Krasnov a595fe75c8 * DataControlField.cs: fixed Initialize, should always return false
* BoundFieldTest.cs, ButtonFieldTest.cs, DataControlFieldTest.cs, HyperLinkFieldTest.cs, ImageFieldTest.cs: removed NotWorking attribute from Initialize test case

svn path=/trunk/mcs/; revision=62233
2006-07-03 15:50:17 +00:00
Lluis Sanchez 02c7511e5b 2006-07-03 Lluis Sanchez <[email protected]>
* BoundField.cs: Fix setter for HtmlEncode (it was setting always True).


svn path=/trunk/mcs/; revision=62228
2006-07-03 15:03:58 +00:00
Konstantin Triger 92431d9a81 fix typo in HtmlEncode
svn path=/trunk/mcs/; revision=62202
2006-07-03 14:00:35 +00:00
Konstantin Triger fd9a34a86e * DataBoundControl.cs: implement MarkAsDataBound and consider it while
setting RequiresDataBinding in OnLoad event.
* GridView.cs: DataBind rows before other control can access the data.
* BoundField.cs: add unique ID to control for postback parameters.

svn path=/trunk/mcs/; revision=62201
2006-07-03 13:56:24 +00:00
Konstantin Triger de09c29bb2 fix typo in EnableTheming
svn path=/trunk/mcs/; revision=62195
2006-07-03 09:16:05 +00:00
Konstantin Triger d18ae80128 * MenuItemCollection.cs: save items if the collection is dirty.
* MenuItem.cs:
	During data binding: initialize Text and invoke binding recoursively.
	Add item to collection before binding to let the state be correctly tracked.
* Menu.cs: Add item to collection before binding to let the state be correctly
	tracked.

svn path=/trunk/mcs/; revision=62183
2006-07-02 11:13:18 +00:00
Juraj Skripsky 3bca46b08b 2006-06-28 Juraj Skripsky <[email protected]>
* RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
	test against with "^...$" if necessary. MS.NET does this too.

2006-06-28 Juraj Skripsky <[email protected]>

	* RegularExpressionValidatorTest.cs: check for automatic wrapping of
	expression with "^...$".


svn path=/trunk/mcs/; revision=62127
2006-06-28 20:01:15 +00:00
Vladimir Krasnov baa1a689dc * System.Web_test.dll.sources: added WizardTest.cs
* WizardStepCollection.cs: Fixed Add methods to initialize WizardStep.Wizard property
* Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps 
Fixed GetStepType, if only one step present, it should be FinishStep
Fixed styles of tables for more accurate rendering, fixed Wizard buttons order
* nunitweb_config.xml: filtered onclick for input tags
* Added WizardTest.cs: Wizard control basic tests

svn path=/trunk/mcs/; revision=62114
2006-06-28 15:27:08 +00:00
Konstantin Triger b34116d786 instantiate correct template when the bounding data source is empty
svn path=/trunk/mcs/; revision=62103
2006-06-28 04:55:56 +00:00
Konstantin Triger cd87023062 disabling setting out of range FormView.PageIndex
svn path=/trunk/mcs/; revision=62032
2006-06-25 09:15:36 +00:00
Andrew Skiba d1ac040678 Add FileUpload implementation
svn path=/trunk/mcs/; revision=61895
2006-06-21 09:00:40 +00:00
Andrew Skiba b70c6ba453 handle CssClass property in FormView
svn path=/trunk/mcs/; revision=61871
2006-06-20 08:43:16 +00:00
Gonzalo Paniagua Javier a1a95d8909 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Button.cs: do something in PostBackUrl.
	* Repeater.cs: when creating the RepeaterItemCollection, initialize
	'items' if it hasn't been done yet. Fixes bug #78417.


svn path=/trunk/mcs/; revision=61718
2006-06-14 22:08:02 +00:00
Vladimir Krasnov ff18cef286 BaseDataList.cs: added ConnectToDataSource method that called from OnLoad, fixed GetData method
Wizard.cs: fixed bug when called MoveTo after that control hierarchy has been created


svn path=/trunk/mcs/; revision=61707
2006-06-14 16:37:50 +00:00
Andrew Skiba ad4b00470d Add the value of Menu.CssClass to the table class
svn path=/trunk/mcs/; revision=61691
2006-06-14 06:51:10 +00:00
Juraj Skripsky 7c9bb40246 2006-06-13 Juraj Skripsky <[email protected]>
* Calendar.cs: Make sure WebControls.Enabled is respected.
	* SelectedDatesCollection.cs: Set time for all DateTime object passed in
	to 12:00am as MS.NET does the same.
	Fixes bug #71251.

svn path=/trunk/mcs/; revision=61679
2006-06-13 20:35:11 +00:00
Gonzalo Paniagua Javier 32059454f7 Revert last change. It broke the build.
svn path=/trunk/mcs/; revision=61664
2006-06-13 14:57:04 +00:00
Vladimir Krasnov 498d612067 BaseDataList.cs: added ConnectToDataSource method that called from OnLoad, fixed GetData method
svn path=/trunk/mcs/; revision=61662
2006-06-13 13:08:48 +00:00
Vladimir Krasnov 896ba68cb4 Repeater.cs: fixed ConnectToDataSource method, subscribed to DataSourceViewChanged, looks for a datasource in its parent control
fixed GetData method, should not get data if datasource is null

svn path=/trunk/mcs/; revision=61658
2006-06-13 12:55:51 +00:00
Konstantin Triger 511624d12f raise OnDataSourceViewChanged events when data changes
svn path=/trunk/mcs/; revision=61647
2006-06-13 08:22:09 +00:00
Konstantin Triger acdc6554d5 set the row index from GridRowView if CommandArgument does not contain this information
svn path=/trunk/mcs/; revision=61619
2006-06-11 07:53:47 +00:00
Konstantin Triger c4f02668ed return documented default for OldValuesParameterFormatString
svn path=/trunk/mcs/; revision=61618
2006-06-11 07:44:32 +00:00
Vladimir Krasnov eae6e337b0 DataList.cs: Fixed LoadViewState method
svn path=/trunk/mcs/; revision=61037
2006-05-24 07:47:04 +00:00
Lluis Sanchez 8b3d97a0ec 2006-05-04 Lluis Sanchez <[email protected]>
* BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.


svn path=/trunk/mcs/; revision=60252
2006-05-04 10:16:49 +00:00
Konstantin Triger 77ae186fa2 ensure the control is bound if ViewState is disabled
svn path=/trunk/mcs/; revision=59838
2006-04-25 07:59:11 +00:00
Konstantin Triger 42ad8b2c02 fix FormView.PageCount after data binding
svn path=/trunk/mcs/; revision=59837
2006-04-25 07:49:23 +00:00
Gonzalo Paniagua Javier da63b62e45 2006-04-24 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: certain attributes have to be rendered in the input tag,
	not the <span>. Fixes bug #71251.


svn path=/trunk/mcs/; revision=59822
2006-04-24 19:29:43 +00:00
Konstantin Triger 9c61d86aa0 ensure rebinding when FormView.PageIndex is called
svn path=/trunk/mcs/; revision=59688
2006-04-20 09:15:05 +00:00
Konstantin Triger bfd8d4d62e MenuItem.cs: bind to NavigateUrl; CompositeDataBoundControl.cs: ensures data is bound; Menu.cs: fixed binding
svn path=/trunk/mcs/; revision=59687
2006-04-20 09:01:57 +00:00
Lluis Sanchez 8033c6a610 2006-04-11 Lluis Sanchez <[email protected]>
* TreeNodeBinding.cs: Added HasPropertyValue property
	  to check if some properties have a value in the
	  state bag.
	* TreeNode.cs: Lazily get the dataPath. Instead of getting
	  bound properties when they are requested, get all of
	  them when the node is bound and store their values in
	  the state bag. In this way it won't be necessary to
	  query every time the datasource to get the values.
	* XmlHierarchyData.cs: Implemented IHierarchyData.Path.
	* TreeView.cs: Call base in OnInit(). Bind nodes after
	  adding them to the list, to properly keep track of
	  changes. Don't databind in postbacks.


svn path=/trunk/mcs/; revision=59366
2006-04-11 16:28:52 +00:00
Chris Toshok 8fc5d1932d 2006-04-11 Chris Toshok <[email protected]>
* Login.cs (OnLoggingIn): use Events[loggingInEvent].


svn path=/trunk/mcs/; revision=59360
2006-04-11 14:37:01 +00:00
Konstantin Triger 351934c69f enable DataList binding using DataSourceID
svn path=/trunk/mcs/; revision=59348
2006-04-11 08:47:30 +00:00
Konstantin Triger 39a554ee31 Login.cs: Added LayoutTemplate property support. LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support, DataBind - correctly bind child controls, Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
svn path=/trunk/mcs/; revision=59108
2006-04-06 09:55:33 +00:00
Robert Jordan 6a4d903465 2006-03-29 Robert Jordan <[email protected]>
* DataGrid.cs: if custom paging is enabled the persisted item count
	must be the count of the rendered items, otherwise paging from the
	last to a previous page won't work correctly. Fixes bug #77556.
 

svn path=/trunk/mcs/; revision=58763
2006-03-29 21:44:04 +00:00
Vladimir Krasnov bbe7ffab1e * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table when rendering disabled list control
svn path=/trunk/mcs/; revision=58691
2006-03-29 08:55:45 +00:00
Gonzalo Paniagua Javier 26b5517077 2006-03-28 Gonzalo Paniagua Javier <[email protected]>
* Panel.cs: render the image url inside 'url()'. Fixes bug #77811.


svn path=/trunk/mcs/; revision=58658
2006-03-28 16:40:46 +00:00
Alexandre Gomes 375e78a210 Implemented FontInfo.ShouldSerializeNames and its Tests.
svn path=/trunk/mcs/; revision=58638
2006-03-28 04:41:43 +00:00
Vladimir Krasnov cb13a63be9 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
svn path=/trunk/mcs/; revision=58348
2006-03-23 10:00:18 +00:00