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 <[EMAIL PROTECTED]>wrote: > On Tue, 4 Nov 2008 17:54:38 +0100 > "Bálint Kardos" <[EMAIL PROTECTED]> 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 >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
