0

I m working on asp.net mvc application.

i have one partial view in that one submit form and click on submit button than data will stored in database. but when i get data from form collection than that form collection come null so how can i get partial view control's value in action method?

thanks in advance..

note : partial view is not strongly type.

user552300
  • 47
  • 1
  • 4

1 Answers1

0

I think you encounter the same issue that is discussed here:

ASP.NET MVC partial views: input name prefixes

To quickly investigate the issue, look at the source code of your page: do your controls from partials have the names you expect? If not, the article above will be helpful.

Community
  • 1
  • 1
Anton Vidishchev
  • 1,374
  • 12
  • 17