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
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