0

I need an Html Helper that renders an action to as a string. Anyone know of any?

tereško
  • 58,060
  • 25
  • 98
  • 150
burnt1ce
  • 14,387
  • 33
  • 102
  • 162

1 Answers1

0

I'm assuming you want to render the related View also? Maybe this question will get you started. Or if you intended to return a string from an Action, check out this question.

Community
  • 1
  • 1
mxmissile
  • 11,464
  • 3
  • 53
  • 79
  • What I really need to do is somehow execute an Action method (ie: GetProductByID()) from a Controller that uses its repository to get the name of the product. I know this violates the philosophy of MVC by having a view depend on application logic but for my special case, this approach would make my life easier. – burnt1ce Nov 23 '10 at 16:14