* ImageButton.cs: AddAttributesToRender renders the onclick
attribute only if any of the following is true:
- OnClientClick is not empty
- Validation is enabled for the control
- PostBackUrl is used
PostBackOptions now indicate that control requires the javascript
protocol for the handler.
RaisePostBackEvent passes String.Empty as the argument.
Fixes bug #463939
2009-02-10 Marek Habersack <[email protected]>
* ImageButtonTest.cs: added test for bug #46393
svn path=/trunk/mcs/; revision=126482
* ImageButtonTest.cs, LinkButtonTest.cs: the validation tests in
the two cases were incorrect in my opinion. MS.NET renders the
same HTML (effectively) for no-validation case we do - there are
no onclick handlers or MyValidationGroup rendered for the
imagebutton/linkbutton controls.
svn path=/trunk/mcs/; revision=74371
they only setup one AppDomain (that gets shutdown automatically by System.Web
whenever there is a change to Web.config) a number of tests fail.
This patch:
Removes the tests that use the above so that we get a clean run.
Removes tests that are currently failing, so we have a baseline
that is known to pass.
svn path=/trunk/mcs/; revision=68593
Cleanup the ondotnet target of the System.Web 2.0 test suite (0 failures), making it an efficient reference point for new tests verification.
svn path=/trunk/mcs/; revision=67439