Html.BeginForm() output not rendered if preceded by RenderPage() - by KenException

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


6
0
Sign in
to vote
ID 652944 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 3/22/2011 4:40:53 PM
Access Restriction Public

Description

MVC 3 Razor CSHTML:

Normally, Html.BeginForm() renders a form tag. But if the Html.BeginForm() statement is preceded by a RenderPage() statement in the same file, then no form tag is generated.
Sign in to post a comment.
Posted by Microsoft on 1/6/2012 at 2:38 PM
Hi,

We have fixed this bug in MVC. The fix will be available in the next release of the ASP.NET MVC runtime.

Thanks,
The ASP.NET Team
Posted by James in Indy on 4/19/2011 at 7:00 AM
See my post in the Workarounds tab.
Posted by 雷克斯蕭 on 3/23/2011 at 7:56 PM
I also have the same problem
Posted by Microsoft on 3/22/2011 at 11:37 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by Microsoft on 3/22/2011 at 5:14 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)