views:

115

answers:

1

I think that there are something wrong with new RC, when i write

Html.BeginForm("Item", "Newsletter", FormMethod.Post, new { enctype = "multipart/form-data" })

method must render in output something like this:

<form action="/Newsletter/Item" enctype = "multipart/form-data" method="POST"></form>

but instead of that im getting:

<form action="Item" enctype = "multipart/form-data" method="POST"></form>

where my full action path?

A: 

Are you seeing this everywhere, or just when you are viewing other action results of the "Newsletter" controller? If it is the latter, this behavior is working as intended.

There is no need for an absolute path if you are e.g. currently navigated to http://yourwebsite.com/newsletter/. In that case a relative path of item would take you to http://yourwebsite.com/newsletter/item/.

Thomas J