Click here to Skip to main content
15,893,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a view display three li tag on it when i click on tag 2 some check box display when i select more than one check box, i get id value of selected check box and according to these checkboxes value i get file content and i store this content in a viewdata, and i want to display this content into webgrid or any other control which is provide paging functionality to display i file content at a time and when i click on next button next file should be display i try a lot but i don't get expected result. please hepl.
Posted
Updated 8-Sep-14 0:24am
v2
Comments
Nathan Minier 8-Sep-14 11:48am    
To the best of my knowledge, you cannot store file content in ViewData. It needs to be pushed down with a proper content type and disposition to display, and a View is always text/html.

I think you need an iframe or new window to do what you're asking natively.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900