- made sure invariant culture is used with String.ToLower, String.ToUpper and String.Compare
- replaced all calls to CultureInfo.InvariantCulture with a reference to a static field System.Web.Util.Helpers.InvariantCulture
svn path=/trunk/mcs/; revision=143587
* CssStyleCollection.cs: put the style in the bag each time a key
is set, otherwise resetting of a key has no effect on rendered
style.
svn path=/trunk/mcs/; revision=76930
* CssStyleCollection.cs: optimization:
used StringBuilder instead string to hold value.
When added key that not exists in collection, value is recalculated by
appending required key to existing value.
svn path=/trunk/mcs/; revision=76619
* CssStyleCollection.cs: 'style' can be modified on our back, so build
the style table every time instead of keeping one that is not in sync.
Fixes bug #79587.
svn path=/trunk/mcs/; revision=66332
* System.Web_test.dll.sources: add new test.
* System.Web.UI/AttributeCollection.cs: avoid code duplication and
don't add "style" to the bag, or it will overwrite the settings made
by CssStyleCollection.
* System.Web.UI/CssStyleCollection.cs: make it throw where MS throws.
Minimize the number of times we create the "style" string and take
care of updating it for the AttributeCollection. FillStyle and
BagToString are now private. One should use the 2.0 (internal in <2.0)
Value property.
* System.Web.UI.WebControls/Style.cs: avoid unnecesary creation of a
CssStyleCollection and instead write the style attributes directly to
the HtmlTextWriter.
* System.Web.UI.WebControls/CheckBox.cs: adapted to new API.
* DataGrid.cs: handle null data sources. Fixed the contions that make
the table to be added to the Controls collection.
* System.Web.UI.WebControls/Calendar.cs: the table needed an ID and the
attributes from the parent. Also don't create the ControlStyleCollection
if it has not already been created.
svn path=/trunk/mcs/; revision=50931
* AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* BaseParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* CompiledTemplateBuilder.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ConstructorNeedsTagAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ControlBuilderAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals and
IsDefaultAttribute.
* ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
* ControlCollection.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed possible stack
overflow in Add* methods. Fixed CopyTo as we're not allocating the
array based on the number of items.
* Control.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
* CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* IStyleSheet.cs: Fixed parameter orders (2.0).
svn path=/trunk/mcs/; revision=50041
* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.
svn path=/trunk/mcs/; revision=37886
* System.Web.UI/AttributeCollection.cs:
(Add): handle 'style' through styleCollection.
* System.Web.UI/CssStyleCollection.cs:
(fillStyle): renamed to FillStyle and made it internal.
* System.Web.UI/Page.cs:
(GetViewStateString): fixed, broken after other recent changes.
(ProcessPostData): allow a second try for postback data after OnLoad.
(ProcessRequest): clear controls collection, removed call to
UnloadRecursive.
* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
ViewState as its StateBag, if not style values are lost between
postbacks.
* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
(OnPreRender): don't save Text if there are no listeners on TextChanged.
svn path=/trunk/mcs/; revision=5954
* Control.cs: fixed related to ViewState. Added RemovedControl.
* ControlCollection.cs: notify owner of control removal.
* CssStyleCollection.cs: almost rewritten to make it render the style
attribute after changes to it.
* Page.cs: follow the guidelines in 'Control execution lifecycle'.
Removed Xml code.
* StateBag.cs: don't use IDictionary.GetEnumerator on the
HybridDictionary: it makes the program give an InvalidCastException at
runtime. Why?
svn path=/trunk/mcs/; revision=5863
* System.Web.build: removed some more excludes.
* System.Web.Hosting/AppDomainFactory.cs:
* System.Web.Hosting/IAppDomainFactory.cs:
* System.Web.Hosting/IISAPIRuntime.cs:
* System.Web.Hosting/ISAPIRuntime.cs: make them compile.
* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
Hashtable. Added internal .ctor.
* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
Equals and GetHashCode.
* System.Web.UI/DataBoundLiteralControl.cs:
(LoadViewState):
(SaveViewState): implemented.
* System.Web.UI/Page.cs: FileDependencies is not public.
* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
(GetHashCode):
(Equals):
(IsDefaultAttribute): implemented.
svn path=/trunk/mcs/; revision=5743