code_junkie

Form Collection item coming up as null

Nov 13th, 2011
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <%=Html.ActionLink("Update", "Calendar", ViewData["sub"], new { onclick = "this.form.submit();" })%>
  2.  
  3. <%=Html.DropDownList("dllMonth", new SelectList(new List<string>() { "January",
  4. "Feburary", "March", "April", "June", "July", "August", "September", "October", "November", "December"}, ViewData["Month"]), new { onchange = "this.form.submit();" })%>
  5.  
  6. <a name="update" href="Calendar" onclick="this.form.submit();" type="submit">Update</a>
Add Comment
Please, Sign In to add comment