Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Community tech preview: MVC Functions

$
0
0
Got a question on this one: am I right in supposing that MVC areas are not implemented yet?

At least I tried and failed when MVC tried to find the view which was placed within the area folder.

/EDIT:

And another question:

In a view I put in a form by using Html.BeginForm(). As long as I don't pass any parameters, the form action attribute is correctly filled with the current url of my page. But as I want to pass some more attributes to my form (e.g. css class...) I took the following:
Html.BeginForm(null, null, null, FormMethod.Post, new { @class = "uk-form uk-form-stacked", role = "form" })
The action attribute of my form is now rendered as: "/?action=Index&controller=Registration".

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>