I am generating a form list like this
foreach (projects p in projects)
{
ViewBag.ProjectList += @"<div class='itemdiv memberdiv'>
@Using(Html.BeginForm()) {
and its being passed in to the html with the @html.raw(ViewBag.ProjectList) but the issue is that the @using is being passed as a string and i cannot do it outside the controller Viewbag string because it does not recognize the @using from the controller.
how do i generate a submission form list like this from within the controller?