Commit Graph
738 Commits
Author SHA1 Message Date
Andrew Skiba 683a02ffa8 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
svn path=/trunk/mcs/; revision=63034
2006-07-27 09:25:05 +00:00
Andrew Skiba a6e6400dfa * AutoGeneratedField.cs: fix the internal constructor according to test DetailsView_CreateAutoGenerateRow
svn path=/trunk/mcs/; revision=63033
2006-07-27 09:22:48 +00:00
Vladimir Krasnov dcab8a6d4f * XmlDataSource.cs: implemented XSLT, removed properties from view state
* XmlDataSourceView.cs: fixed default xpath

svn path=/trunk/mcs/; revision=62999
2006-07-26 16:19:01 +00:00
Andrew Skiba a9ef07a5cc fix IsBindableType in accordance with MSDN and tests.
svn path=/trunk/mcs/; revision=62993
2006-07-26 13:50:40 +00:00
Vladimir Krasnov 4654c8ea2f * Wizard.cs: fixed ActiveStep property
fixed templated side bar

svn path=/trunk/mcs/; revision=62961
2006-07-25 15:05:28 +00:00
Andrew Skiba 5886c7b20b ImageField.cs: fix null reference bug.
svn path=/trunk/mcs/; revision=62956
2006-07-25 13:16:07 +00:00
Andrew Skiba 809b610878 * DetailsView.cs: init DataKey property with empty collection.
* DataKey.cs: fix unexpected exception bug.
* DataControlField.cs: override ToString according to the MSDN.

svn path=/trunk/mcs/; revision=62942
2006-07-25 07:28:59 +00:00
Andrew Skiba 9a397857d5 create TableStyle in CreateControlStyle.
svn path=/trunk/mcs/; revision=62928
2006-07-24 16:14:30 +00:00
Andrew Skiba 3b05aaf35e typo
svn path=/trunk/mcs/; revision=62924
2006-07-24 15:15:38 +00:00
Andrew Skiba 771dc55058 don't throw the exception .Net does not throw
svn path=/trunk/mcs/; revision=62922
2006-07-24 15:08:46 +00:00
Andrew Skiba 12c5b860e9 * DetailsView.cs: save DefaultMode and DataKeyNames in control state, to match .Net; fix PageCount to match record count.
svn path=/trunk/mcs/; revision=62919
2006-07-24 14:57:00 +00:00
Vladimir Krasnov 6d64e858e1 * Menu.cs: fixed properties default values, fixed rendering SkipLinkText
svn path=/trunk/mcs/; revision=62911
2006-07-24 11:16:16 +00:00
Vladimir Krasnov e108c3d154 * Wizard.cs: implemented SkipLinkText, TagKey
fixed rendering bugs, fixed templated button bar rendering, fixed side bar rendering
* WizardStepBase.cs: fixed Name property

svn path=/trunk/mcs/; revision=62906
2006-07-23 15:50:28 +00:00
Andrew Skiba 33d01dd298 fix the regressions, caused by the previous commit.
svn path=/trunk/mcs/; revision=62904
2006-07-23 15:10:09 +00:00
Andrew Skiba a7e190393e corectly handle the different default values of DetailsView.CellSpacing and Table.CellSpacing
svn path=/trunk/mcs/; revision=62903
2006-07-23 13:59:29 +00:00
Andrew Skiba 8292c900bd create a pager row when needed
svn path=/trunk/mcs/; revision=62902
2006-07-23 12:31:45 +00:00
Gonzalo Paniagua Javier 11a89e04a7 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* PagedDataSource.cs:
	* FormView.cs:
	* ImageButton.cs:
	* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
	support it. The GridView control will no longer throw an exception when
	rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.


svn path=/trunk/mcs/; revision=62863
2006-07-21 14:33:24 +00:00
Andrew Skiba 0c9ecc39ca * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
Rows with empty collection; call EnsureChildControls from get Row;
NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
implemented IPostBackContainer.GetPostBackOptions.

svn path=/trunk/mcs/; revision=62828
2006-07-20 15:56:18 +00:00
Andrew Skiba c442b9665b * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText and
FooterText are empty, to match .NET. Otherwise we have NullReference when
.NET does not.

svn path=/trunk/mcs/; revision=62808
2006-07-20 12:05:51 +00:00
Andrew Skiba 0f86321f25 Render fix
svn path=/trunk/mcs/; revision=62807
2006-07-20 12:01:07 +00:00
Andrew Skiba 6e09bde41e * BoundField.cs: don't call DataBinder.GetPropertyValue with empty property name.
svn path=/trunk/mcs/; revision=62806
2006-07-20 11:57:17 +00:00
Andrew Skiba 45cbe07588 NullReferenceException fix
svn path=/trunk/mcs/; revision=62805
2006-07-20 11:54:04 +00:00
Vladimir Krasnov f8020b63d0 * PagerSettings.cs: implemented PropertyGhanged event
svn path=/trunk/mcs/; revision=62801
2006-07-20 09:04:04 +00:00
Andrew Skiba ec60702519 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
.Net; don't throw NotImplemented when base class implementation is available.

svn path=/trunk/mcs/; revision=62735
2006-07-19 09:34:12 +00:00
Andrew Skiba fe61d0cf55 add a stub for DetailsViewPagerRow
svn path=/trunk/mcs/; revision=62732
2006-07-19 07:25:59 +00:00
Vladimir Krasnov 19af9ddb15 * GridView: fixed DataKeyNames property, moved to ControlState
fixed PageCount property, initial PageCount ahould be zero
fixed SelectedDataKey, should throw exception if not initialized
fixed CreateColumns, wrong order of columns
fixed CreateControlStyle,
fixed InitializePager, no columnspan attrib on only one column
fixed LoadControlState, SaveControlState added DataKeyNames
fixed Render, RenderGrid should render within div tag
implemented GetPostBackOptions
* DataControlButton.cs: fixed Render, fixed style for img button

svn path=/trunk/mcs/; revision=62699
2006-07-18 11:44:41 +00:00
Vladimir Krasnov d2601365d3 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit mode
svn path=/trunk/mcs/; revision=62694
2006-07-18 07:56:33 +00:00
Andrew Skiba be5ab8557c test and fix for CommandField.ValidateSupportsCallback
svn path=/trunk/mcs/; revision=62675
2006-07-17 15:41:25 +00:00
Andrew Skiba dce1bf64e8 Prepare to use HttpBrowserCapabilities. Does not affect the flow yet.
svn path=/trunk/mcs/; revision=62672
2006-07-17 14:25:38 +00:00
Andrew Skiba 45c2031036 fixes for SiteMapPathTest.Render_xxx tests
svn path=/trunk/mcs/; revision=62671
2006-07-17 14:19:22 +00:00
Andrew Skiba b747b812ae test and fix for rendering display:inline-block style in WebControl
svn path=/trunk/mcs/; revision=62670
2006-07-17 13:39:06 +00:00
Vladimir Krasnov 86480b17b0 * CommandField.cs: fixed InitializeCell, wrong order of command buttons
* ImageField.cs: image field with null src and ConvertEmptyStringToNull should be rendered as label
* BoundField.cs: empty null value should be rendered as nbsp
* GridViewRowCollection.cs: fixed SyncRoot

svn path=/trunk/mcs/; revision=62660
2006-07-16 15:44:22 +00:00
Andrew Skiba 0e831bf11d * SiteMapPath.cs: create Literal instead of Label according to the MSDN and test SiteMapPath_InitializeItem.
svn path=/trunk/mcs/; revision=62657
2006-07-16 14:11:24 +00:00
Vladimir Krasnov 5d5395000f * Style.cs: BorderStyle should be added if BorderWidth greater than 0
* Image.cs: in 2.0 there is no border attribute, but border-width style attribute

svn path=/trunk/mcs/; revision=62656
2006-07-16 13:12:48 +00:00
Gonzalo Paniagua Javier 443d57b263 2006-07-14 Gonzalo Paniagua Javier <[email protected]>
* Button.cs: always render the 'name' attribute. Fixes bug #78746.


svn path=/trunk/mcs/; revision=62617
2006-07-14 21:10:20 +00:00
Gonzalo Paniagua Javier 782ca4d930 2006-07-13 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: correctly initialize editable items when there's an
	EditItemTemplate. Patch by Jarosław Pawlak.


svn path=/trunk/mcs/; revision=62587
2006-07-13 22:16:49 +00:00
Juraj Skripsky c546bb798d 2006-07-13 Juraj Skripsky <[email protected]>
* CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
	unchanged.


svn path=/trunk/mcs/; revision=62583
2006-07-13 21:04:51 +00:00
Vladimir Krasnov dfbafb5ee1 * BulletedList.cs: fixed Render, RenderBulletText, various properties
* ListItem.cs, ListItemCollection.cs: added Enabled property that is new in 2.0

svn path=/trunk/mcs/; revision=62559
2006-07-13 09:18:38 +00:00
Vladimir Krasnov ebf383cc6e * MultiView.cs: 'initied' state variable was changed to views count in the views collection.
svn path=/trunk/mcs/; revision=62482
2006-07-12 08:16:38 +00:00
Vladimir Krasnov f42d9a639b * HyperLinkField.cs: fixed InitializeCell, should create link control only in data cell (not in header or footer), initialization of ControlStyle
* ImageField.cs: fixed InitializeDataCell, initialization of ControlStyle

svn path=/trunk/mcs/; revision=62448
2006-07-11 15:59:48 +00:00
Konstantin Triger 5963239114 forward event subscription to base
svn path=/trunk/mcs/; revision=62444
2006-07-11 15:23:12 +00:00
Vladimir Krasnov 4d93c37e6e * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated checkbox should have tooltip
svn path=/trunk/mcs/; revision=62441
2006-07-11 14:17:20 +00:00
Vladimir Krasnov 1163106562 * MultiView.cs: removed exception throwing from ActiveViewIndex
svn path=/trunk/mcs/; revision=62433
2006-07-11 11:06:43 +00:00
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