* HtmlForm.cs: fixed the Action property when running a different
page than the one requested (Transfer). Closes bug #69318.
svn path=/trunk/mcs/; revision=36812
* HtmlForm.cs: default value for Enctype is "".
* HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
we set it to "multipart/form-data". Fixes bug #58359.
svn path=/trunk/mcs/; revision=27332
value. This is because radio button groups are created by setting
the name to the same value with each button, then on postback the
value of the name is the id of the selected radio button.
svn path=/trunk/mcs/; revision=20761
* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.
svn path=/trunk/mcs/; revision=18945
* everywhere: Remove uses of direct invocation of the 'Invoke'
method on a delegate type - that is error cs1533 now flagged by
mcs.
svn path=/trunk/mcs/; revision=16681
* HtmlImage.cs:
* HtmlInputControl.cs:
* HtmlSelect.cs: added control builder attribute.
* HtmlSelectBuilder.cs: builder for HtmlSelect.
* HtmlControlBuilder.cs: common builder for all HtmlControls.
svn path=/trunk/mcs/; revision=14143
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
in MapPath.
* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
HtmlControl to keep the tag name.
* System.Web.Util/UrlUtils.cs: fixed Combine ().
svn path=/trunk/mcs/; revision=11027
* System.Web/HttpRequest.cs: implemented CurrentExecutionFilePath.
* System.Web.UI/Control.cs: some more tweaks to naming containers stuff.
* System.Web.UI/DataBinder.cs: don't throw exception if the container
is null.
* System.Web.UI/Page.cs: now we can render client scripts, startup
scripts and hidden fields. Only render __VIEWSTATE if there is someone
that will take care of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.
* System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
* System.Web.UI.WebControls/BaseDataList.cs: what can I say for this
one? I spent so many time until I finally found this that I'm gonna
miss this f....g bug... ;-). Farewell. Now we can get events from
image buttons inside Data*.
* System.Web.UI.WebControls/DataList.cs: now the value stored in
ViewState for item count is correct.
svn path=/trunk/mcs/; revision=10627
* 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
* HtmlContainerControl.cs:
(CreateControlCollection): added. All containers must have a non-empty
control collection.
svn path=/trunk/mcs/; revision=5595
* 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/ControlCollection.cs:
(AddAt): if index is -1 behave as a plain Add.
* System.Web.UI.HtmlControls/HtmlSelect.cs:
(RenderAttributes): new -> override and fixes stack overflow.
(RenderChildren): only 1 option can be selected at any given time
except when Multiple property is true.
(Multiple): the attribute value is either "true" or "false", not
"multiple".
* System.Web.UI.HtmlControls/HtmlTable.cs:
(Add):
(AddAt): allow HtmlTableRow as children, not HtmlTableCell.
* System.Web.UI.HtmlControls/HtmlTableCell.cs:
(RenderEndTag): new -> override.
* System.Web.UI.HtmlControls/HtmlTableRow.cs:
(RenderChildren): fixed another stack overflow.
(RenderEndTag): new -> override.
* System.Web.UI.HtmlControls/HtmlTextArea.cs:
(RenderAttributes): new -> override.
svn path=/trunk/mcs/; revision=5193
* HtmlInputHidden.cs: fixed constructor.
* HtmlInputRadioButton.cs:
(RenderAttributes): fixed stack overflow.
(Name):
(RenderedName): new -> override.
(Value): new property.
* HtmlInputText.cs:
(RenderAttributes): fixed the same kind of stack overflow and make
string comparison case insensitive.
svn path=/trunk/mcs/; revision=5155