[Mono-dev] System.Web.UI/HtmlTextWriter.cs issue
Konstantin Triger
kostat at mainsoft.com
Thu Jan 12 12:23:57 EST 2006
Hello,
It looks legal to write this code in aspx page:
if (!IsPostBack)
<button>.Attributes.Add("OncliCk", "return chk();");
In this case the "return chk();" will be added to the onclick event in
addition to the validation code there.
The attached patch fixes that.
Please object before I commit.
Regards,
Konstantin Triger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060112/786db2e9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HtmlTextWriter.patch
Type: application/octet-stream
Size: 2135 bytes
Desc: HtmlTextWriter.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060112/786db2e9/attachment.obj
More information about the Mono-devel-list
mailing list