* ListControl.cs:
SelectedValue/SelectedIndex is set during DataBinding always.
2007-11-06 Igor Zelmanovich <[email protected]>
* ListControlTest.cs:
Added new tests.
svn path=/trunk/mcs/; revision=88954
* DataGrid.cs: add RenderTable before the DataGridItems, so that
numbering of children is the same what on MS.NET.
If there are any data items, require a postback script.
Fixes bug #319449
* ChildTable.cs: removed DOS EOLs.
2007-11-06 Marek Habersack <[email protected]>
* System.Web.dll.sources: added
System.Web.UI.WebControls/ChildTable.cs to compilation, for MS.NET
compatibility.
svn path=/trunk/mcs/; revision=88945
* Login.cs:
does not perform authentication if Page.IsValid returns false;
the fix makes control works with disabled client side validation.
svn path=/trunk/mcs/; revision=88568
* DataList.cs:
state of DataList.Items are restored correct on PostBack
such Items.Count and ItemType.
2007-10-31 Igor Zelmanovich <[email protected]>
* DataListTest.cs:
Added new test.
svn path=/trunk/mcs/; revision=88546
* Image.cs: fixed management state of Enabled property.
* WebControl.cs: refactoring in management state of Enabled property.
2007-10-30 Igor Zelmanovich <[email protected]>
* ImageTest.cs:
* WebControlTest.cs:
Added new tests.
svn path=/trunk/mcs/; revision=88457
* Menu.js: a workaround for an IE bug. IE recalculates element's
offsetWidth when the element's _height_ is set - which in case of
elements with overflowing content results in a value that's just
slightly smaller than the client window width. In effect, a long
submenu will also be very wide, which isn't desirable. Fixes bug
#322809
svn path=/trunk/mcs/; revision=87728
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
HttpApplication.LoadType instead of Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProfileBase.cs: use HttpApplication.LoadType instead of
Type.GetType.
svn path=/trunk/mcs/; revision=87506
* ListItem.cs: make HasAttributes available for the 1.1 profile as
well.
* DropDownList.cs: render custom ListItem attributes in the 1.1
profile. Fixes bug #326288
svn path=/trunk/mcs/; revision=86701
* WebControl.cs: added an internal method, BuildScriptAttribute,
which merges the specified JavaScript code in an attribute, with
the value of that attribute specified by the user.
* CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
preserve user-specified attribute value, if present.
* ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
after doing its job. AutoPostBack handling makes sure to preserve
user-specified attribute value, if present. Fixes bug #327816.
svn path=/trunk/mcs/; revision=86294
* ListItem.cs: don't save StateBag in the control state - the
class is not serializable and therefore ObjectStateFormatter
cannot convert it. Instead have the sb object save its own state
and store the returned value. Fixes bug #326288.
svn path=/trunk/mcs/; revision=86116
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called
svn path=/trunk/mcs/; revision=81396
* 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