* 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
* GridView.cs:
the Pager is created but unvisible for only one page.
the Patch submitted by Dumitru Ban [[email protected]]
2007-07-01 Igor Zelmanovich <[email protected]>
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81139
* 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
* GridView.cs: fixed AllowPaging feature:
When the AllowPaging is true the GridView control should automatically
hide the pager row when the data source contains fewer than 2 records.
patch Patch submitted by Dumitru Ban [[email protected]]
svn path=/trunk/mcs/; revision=80611
* WebControl.cs: if savedState is a Triplet, take the actual state
data from savedState.First. Also make sure that the data is a
Pair. Fixes bug #78533.
svn path=/trunk/mcs/; revision=80368
* OutputCacheModule.cs: use Context.InternalCache.
* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.
2007-06-20 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-20 Marek Habersack <[email protected]>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
Fixes bug #81690
svn path=/trunk/mcs/; revision=80321