Aug 19, 2010 06:04 AM|alagarm|LINK
In a single page has two buttons , ddown and tempname.
I wrote two actionresult separetly each one for ddown and tempname.
I need one is post and another one is get method. so i gave like
1. Get Method
[AcceptParameter(Name = "button", Value = "tempname")]
public ActionResult ddown_tempname(string statusName, NewsLetterAdminViewModel viewModel)
[AcceptParameter(Name = "button", Value = "ddown")]
public ActionResult ddown(string statusName, string button, NewsLetterAdminViewModel viewModel, FormCollection collection)
if i call the post method its worked well. but if i call the get method, the code does not execute. the breakpoint also not comes to coding part . What is the problem?
how can i work these two methods.