* DataGrid.cs - Working on the undocumented protected
method CreateColumnSet. AutoCreateColumns method
stubbed. Left CreateControlHierarchy for the time
being, looks like I'm going insane. ;-)
svn path=/trunk/mcs/; revision=6738
* DataGrid.cs - Added protected method (skeleton)
CreateColumnSet(PagedDataSource, bool)
Still trying to know how will it be used
and what for...
svn path=/trunk/mcs/; revision=6590
* DataGridColumn.cs - Added internal methods to get the
various styles (needed in DataGrid.cs)
* DataGrid.cs - Completed the method
PrepareControlHierarchy()
svn path=/trunk/mcs/; revision=6499
* Calendar.cs: added myself to the list of authors.
* DropDownList.cs: fixed a few properties.
* ListControl.cs: fixed SelectedIndex.
svn path=/trunk/mcs/; revision=6265
* System.Web.UI/Page.cs: request to render postback script can be
after form started rendering.
* System.Web.UI.WebControls/Calendar.cs: lots of fixes. Render days.
Still left to persist selected days when changing month.
* System.Web.UI.WebControls/Unit.cs: fixed Percentage and Pixel.
* System.Web.UI.WebControls/WebControl.cs: a few properties are now
using ControlStyle instead of ViewState to persist.
svn path=/trunk/mcs/; revision=6258
* System.Web/HttpApplication.cs: events were not being initialized.
* System.Web.Caching/CacheDefinitions.cs: fixed a couple of enums.
* System.Web.Caching/CacheDependency.cs: the class is sealed.
* System.Web.UI.WebControls/BaseValidator.cs: it works now.
* System.Web.UI.WebControls/DataGridColumn.cs: added attribute and
made it abstract.
* System.Web.UI.WebControls/RequiredFieldValidator.cs: fixed return
value in EvaluateIsValid.
svn path=/trunk/mcs/; revision=6225
* 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
* System.Web.UI/Control.cs: uncommented Dispose.
* System.Web.UI/Page.cs:
(DeterminePostBackMode): more checkings.
(GetPostBackClientHyperLink): implemented.
(GetPostBackEventReference): added some comments with the HTML that MS
generates for that.
(ProcessRequest): fixed processing order. The page is unloaded after
a request and regenerated from view state on subsequents posts.
* System.Web.UI.WebControls/DropDownList.cs:
(ToolTip): fixed.
* System.Web.UI.WebControls/ListItem.cs:
(LoadViewState): fixed.
* System.Web.UI.WebControls/ListItemCollection.cs:
(TrackViewState): use items instead of 'this' in foreach.
* System.Web.UI.WebControls/Style.cs:
(LoadViewState): more checking of parameters.
* System.Web.UI.WebControls/WebControl.cs: implemented LoadViewState
and SaveViewState.
svn path=/trunk/mcs/; revision=5945
* FontUnit.cs: use a hashtable for mapping size name to value.
* HyperLink.cs: fixed a bug and a typo.
* Unit.cs: some fixes to internal constructor.
svn path=/trunk/mcs/; revision=5790
* ListControl.cs: fixed a couple of range checks.
* WebControl.cs: MS lies! Not all WebControls must be rendered inside
an HtmlForm (p.e., Label).
svn path=/trunk/mcs/; revision=5785
* CheckBoxList.cs:
* DataGrid.cs:
* DataList.cs:
* DropDownList.cs:
* ListBox.cs:
* PlaceHolder.cs:
* RadioButton.cs:
* RadioButtonList.cs:
* TableRow.cs:
* WebControl.cs:
* Xml.cs: forgot to add using System.ComponentModel.
* BaseValidator.cs: use explicitly
System.ComponentModel.AttributeCollection as there is another class
with the same name under System.Web.UI.
svn path=/trunk/mcs/; revision=5642
* list: updated. Currently mcs cannot compile System.Web because it
cannot find NameObjectCollectionBase.KeysCollection.
* System.Web.build: don't display unused event nor always default value
warnings by now.
* System.Web.UI/Control.cs:
(SaveViewstateRecursive): implemented.
(SaveViewState): fixed.
(IParserAccessor.AddParsedSubObject): don't use 'this'.
* System.Web.UI/Page.cs: added code to save view state to an xml file.
It's not being used right now.
* System.Web.UI.WebControls/AdRotator.cs:
(LoadAdFile): make the dictionary null after every iteration.
* System.Web.UI.WebControls/LinkButton.cs:
* System.Web.UI.WebControls/ListControl.cs:
* System.Web.UI.WebControls/ListItem.cs: fixed warnings.
svn path=/trunk/mcs/; revision=5603
* System.Web/HttpContext.cs:
(Session): return null instead of throwing an exception.
* System.Web/HttpRequest.cs:
(HttpMethod): return RequestType if not set.
(GetRawContent): return QueryString if we don't have a
HttpWorkerRequest.
* System.Web/HttpUtility.cs: fixed Decode and Encode.
* System.Web.UI/Control.cs: reimplemented FindControls.
* System.Web.UI/Page.cs:
(.ctor): set the page for this control.
(IsPostBack): return valid value.
(DeterminePostBackMode): finished.
(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
(ProcessPostData): implemented. Raises change and postback events.
(ProcessRequest): changed to support reuse of the instance.
(RegisterRequiresPostBack): implemented.
* System.Web.UI/ValidatorCollection.cs: implemented all methods.
* System.Web.UI.WebControls/Button.cs:
(.ctor): fixed to render the correct tag.
(IPostBAckEventHandler.RaisePostBackEvent): fixed.
svn path=/trunk/mcs/; revision=5499
* System.Web.UI/Page.cs: implemented more properties using information
we already have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderChildren): use OnFormRender and OnFormPostRender.
* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
WebControl derived classes should be rendered inside a HtmlForm.
svn path=/trunk/mcs/; revision=5434
* System.Web.UI/Control.cs:
(AddedControl): new function that is called whenever a control is
added to a collection of controls in a container. It sets the defaults
except for Page.
* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.
* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
Text, Render, SetStaticString and SetDataBoundString.
* System.Web.UI/Page.cs: removed SetDefaults.
* System.Web.UI.WebControls/Repeater.cs: implemented
CreateControlHierarchy. Fixed some event processing methods.
svn path=/trunk/mcs/; revision=5357
* System.Web.UI/CompiledTemplateBuilder.cs: new file. Used in the
code generated by xsp.
* System.Web.UI/Control.cs:
(BindingContainer): implemented.
(EnsureChildControls): avoid stack overflow.
* System.Web.UI/DataBinder.cs: implemented Eval and PropertyValue.
* System.Web.UI.WebControls/Repeater.cs:
(Controls):
(OnDataBinding): fixed stack overflow.
Still need more work in Repeater.cs to make it render.
svn path=/trunk/mcs/; revision=5345
* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
(almost the same bug as in regular attributes).
* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
(AddAttributesToRender): also call parent class method.
svn path=/trunk/mcs/; revision=5326
* Panel.cs: fixed stack overflow.
* Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
and SingleConverter.
svn path=/trunk/mcs/; revision=5293
* RadioButton.cs: mono-stylized and some little fixes.
* TextBox.cs: mono-stylized.
(MaxLength): fixed typo.
(AddAttributesToRender): don't render the text between the tags for
SingleLine, use value attribute for it. Don't render the text for
Password.
(OnPreRender): don't throw exception and call base.OnPreRender.
(Render): for MultiLine, render the text between the opening and
closing tags encoded as HTML.
svn path=/trunk/mcs/; revision=5263
* ImageButton.cs:
(AddAttributesToRender): fixer another stack overflow.
* WebControl.cs:
(TagName): modified to use TagKey instead of tagKey as the property
can be overriden.
svn path=/trunk/mcs/; revision=5258
* System.Web.UI/Page.cs:
(Validators): if the collection is null, create one.
(GetPostBackEventReference 2): don't throw exception.
(GetPostBackClientEvent): return a string with containing the method
name, the control name and the argument.
* System.Web.UI.WebControls/LinkButton.cs: mono-stylized.
(AddParsedSubObject):
(RenderControls): little fixes.
* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): fixed usage of IEnumerator.
svn path=/trunk/mcs/; revision=5256
* System.Web.UI/Page.cs: SetPage is now called SetDefaults and also
sets a default ID for controls that don't have one yet.
* System.Web.UI.WebControls/Literal.cs: beautified.
svn path=/trunk/mcs/; revision=5252
* Label.cs: beautified and fixed a couple of 'classic' bugs.
* WebControl.cs: use Span as default tag when no other provided in
constructor. That is what MS renders.
svn path=/trunk/mcs/; revision=5249
* System.Web.UI/Page.cs:
(GetPostBackClient):
(RegisterRequiresPostBack): don't throw NotImplementedException to
keep going.
(ProcessRequest): set the current page as the Page property for *all*
the controls, not just the direct children of the page.
* System.Web.UI.WebControls/Button.cs:
(AddAttributesToRender): fixed (classic) stack overflow.
* System.Web.UI.WebControls/CheckBox.cs: mono-stylized.
(AutoPostBack): fixed stack overflow.
(Render): fixed alignment issues. Also set the For attribute always
for the label.
svn path=/trunk/mcs/; revision=5239
* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
don't throw NotImplementedException in constructors.
* System.Web.UI/Control.cs:
(MapPathSecure): until security is implemented, return the same path
received as argument.
(RenderControl): call OnPreRender before rendering the control. So
AdRotator can read its configuration file.Is there any other place
where this should be done?
* System.Web.UI/HtmlTextWriter.cs:
(AddAttribute): fixed. Now it really stores attributes.
(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
should, but now it returns useful data (only the first ad in the file).
Set the NavigateUrl property in the hyperlink if available.
* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
couple of stack overflows.
* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
stack overflow.
* System.Web.UI.WebControls/WebControl.cs:
(RenderBeginTag): fixed.
(TagName): don't call Enum.IsDefined twice.
svn path=/trunk/mcs/; revision=5230
* System.Web/HttpBrowserCapabilities.cs: stubbed out.
* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.
* System.Web.SessionState/IReadOnlySessionState.cs: New file.
* System.Web.SessionState/IRequiresSessionState.cs: New file.
* System.Web.SessionState/SessionStateMode.cs: New file.
* System.Web.UI/Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderAttributes): changed new by override.
(Name): allow setting the property.
* System.Web.UI.WebControls/WebControl.cs: added attributes
PersistChildrenAttribute and ParseChildrenAttribute.
* System.Web.Configuration/ChangeLog:
* System.Web.Configuration/HttpCapabilitiesBase.cs:
* System.Web.Security/ChangeLog:
* System.Web.Security/DefaultAuthenticationEventArgs.cs:
* System.Web.SessionState/ChangeLog:
* System.Web.SessionState/IReadOnlySessionState.cs:
* System.Web.SessionState/IRequiresSessionState.cs:
* System.Web.SessionState/SessionStateMode.cs: new files.
Now we are able to compile some files generated by xsp with our
System.Web classes.
svn path=/trunk/mcs/; revision=5102