[Mono-bugs] [Bug 442104] New: Missing implementation: System.Web.UI.HtmlForm.Action

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 5 18:31:32 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=442104


           Summary: Missing implementation: System.Web.UI.HtmlForm.Action
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: kardosbalint at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=250160)
 --> (https://bugzilla.novell.com/attachment.cgi?id=250160)
test-case

with current Mono 2.0, the aspx page's default form's action can't be changed,
it will give an error:

protected void Page_Load(object sender, EventArgs e)
{
      this.Form.Action = "myformname"; // HtmlForm.Action gets/sets the Form's
Action tag.
}

Method not found: 'System.Web.UI.HtmlControls.HtmlForm.set_Action'.
System.MissingMethodException: Method not found:
'System.Web.UI.HtmlControls.HtmlForm.set_Action'.
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00029] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Control.cs:953 

  at System.Web.UI.Control.LoadRecursive () [0x00020] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Control.cs:1432 
  at System.Web.UI.Page.ProcessLoad () [0x0004a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Page.cs:1588 

  at System.Web.UI.Page.ProcessPostData () [0x0004d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Page.cs:1567 
  at System.Web.UI.Page.InternalProcessRequest () [0x001bf] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Page.cs:1527 

  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0005b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Page.cs:1343 

on MS.net fw 2.0 or 3.5, you can do it.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list