As you are using razor, you need to use javascript OR jQuery for the same.
you need to get data through JSON from controller and parse it to desired location using jQuery.
Try it, let me know if issue.
follow the link here :
JSON with MVC[
^]
-Sagar Solanki