[Mono-list] Missing implementation: System.Web.UI.HtmlForm.Action?

Bálint Kardos kardosbalint at gmail.com
Tue Nov 4 17:57:32 EST 2008


Hi Marek,
thanks for the reply; yes i've checked MSDN too and it's not there, however
Intellisense lists the property in VS2008, and it's working as expected. I'm
using this for rewriting the Page.Form.Action to reflect a UrlReWrite path.

Possibly it's a new feature implemented at MS somewhere after 2007?
Some folks implemented it with workarounds:

http://www.junasoftware.com/blog/mid/92/blog/31/setting-the-asp.net-form-action-attribute-url-rewriting.aspx

b.


üdvözlettel
with regards

Kardos Bálint
_______________________________________
http://skaelede.hu 10 (0xA) év a magyar weben


On Tue, Nov 4, 2008 at 21:10, Marek Habersack <grendel at twistedcode.net>wrote:

> On Tue, 4 Nov 2008 17:54:38 +0100
> "Bálint Kardos" <kardosbalint at gmail.com> wrote:
>
> Hey,
> > Hi,
> > I'm just wondering, why if it's a bug or a security feature,
> > but 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'.
> MSDN doesn't document any Action property on HtmlForm. Please create a
> stand-alone,
> small test case and file a bug at http://bugzilla.novell.com/. Make sure
> the test
> case works on MS.NET before filing,
>
> regards,
>
> marek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20081104/5f00d20e/attachment-0001.html 


More information about the Mono-list mailing list