from view, i store value to var as object();
var collect = object()
for (int i=0; i<value.lenght; i++){
collect[i] = value[i];
}
then i pass the value to controller.
var url='<%=Url.Content("~/controller/function")%>';
url+="?collect="+collect;
$(location).attr('href', url);
then, controller(action result) receive parameter as
public ActionResult linkTo (string[] collect)
{......................}
from controller i cant get the value(object) from View. ==!!
Anyone know how to pass the value(object) from View to controller(string[])?

New Topic/Question
Reply



MultiQuote








|