0

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

tereško
  • 57,247
  • 24
  • 95
  • 149
burnt1ce
  • 13,737
  • 31
  • 99
  • 151

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
  • 10,827
  • 3
  • 50
  • 78
  • 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