tags:

views:

42

answers:

1

public static string PDFUrl(int id, int page) {

        }
A: 

Without knowing anything addition, I can only offer some suggestions:

You should be putting that imageUrl together in the controller action, and attaching that to your view data. You should have very few method invocations in your view code unless you're using the HtmlHelper.

Tejs
Hey Tejs,I have added the html helper method and it in turn calls my viewdocument.aspx page.
Pinu