Create Partial for Table

Asked

Viewed 30 times

1

I would like to create a partial (to be called as @Html.Partial) by receiving the table id and a data collection. However, it would have to be completely independent. The part of C#, with Reflection, I can do it in a good way, but I don’t know how to create it in MVC.

How can I create an MVC pro Html extension and call a Table function by receiving these parameters? And how to call a pre-defined view and controller internally?

  • You are trying to pass two parameters to the partial (an id and a collection)?

  • User, your question is very generic, it is difficult to help you. post the code that Voce is making it easier.

  • It might help you: http://answall.com/a/166077/51124

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.