Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COHmm Ic I have 2 actionResult methods one that is: //public ActionResult LogOn() //{ // return View(); //} then another actionResult with the same name but it has [AcceptVerbs(HttpVerbs.Post)] so I commented out the above one and took away the Post and it does now work. I don't get why if you use force a POST it can't grab the querystring but at the same time if I left the form with no parameters and has everything I left it(ie having a method with Post attribute). It works just fine.
      singulars
    2. COSo there is no way around this? Other then what you posted it just seem so stupid that they put a way to only allow posts and stuff but if you specify it like this <% using (Html.BeginForm("Login","Authentication",FormMethod.Post,new { id = "frm_Login"})) ..... It all of a sudden can't figure it out. but if that BeginForm is blank it somehow can figure out to go to the ActionResult that is marked "Post" and still grab the ReturnUrl. Then I can't believe this is not like written in the books I read or on the tutorials like this to me seems like something alot of ppl would do.
      singulars
    3. COI actually don't get what the advantage of actually specifying the stuff is? Like why bother writting all that extra stuff like I wrote? <% using (Html.BeginForm("Login","Authentication",FormMethod.Post,new { id = "frm_Login"})) ..... Other then maybe if you want to give it an "id" or something. Seems like leaving it blank gets you more benefits and you still can label the ActionResults "Post" or "Get" and it still finds it. P.S this character limit is really gay.......
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload