How does Url.Action work Asp.net MVC?

apofis

New Member
This is somewhat related to another question i've asked but i figure why not ask it seperately.If i were to place something like the following in aview\[code\]<td><img src='http://stackoverflow.com/questions/1759189/<%= Url.Action("DisplayImage" , "User" , new { id = item.id} ) %>' alt="" /></td>\[/code\]Is it supposed to display this\[code\]<td> <img src='http://stackoverflow.com/User.mvc/DisplayImage?id=U00915441' alt="" /></td>\[/code\]or would the src actually be replaced with the results of the UserController GetImage Action?
 
Back
Top