forum

Home / DeveloperSection / Forums / asp.net mvc razor getting id with post

asp.net mvc razor getting id with post

Anonymous User 1958 26-Nov-2014

how can i get the querystring id in there? is there any way 

@using (Html.BeginForm("InformVendor", "Procurement",new {id="querystring Mode = "Inform" }, FormMethod.Post))
{
<tr>
    <td>
          @Html.DropDownListFor(m=>m.VendorId,new MultiSelectList(Model.VendorDropdownlist, "CustomerId", "ContactName"))  
     </td>
    <td>
          @Html.CheckBoxFor(m => m.IsEmail)
   </td>       
</tr>
<tr>
    <td>
         <input type="submit" id="btnsubmit" value="Nominate Vendor" />
    </td>
    <td></td>
</tr>
}


Updated on 27-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By