I need to generate HTML(cshtml) page when I call asp.net controller by Ajax, and after generated page, I want to update a Iframe src to the generated page.
but I couldn't find how to generate the cshtml page dynamically.
anybody know please advice me.
Thank You!
[EDIT]
I can not call the generatePage in IFrame because I need to pass too many parameters to the controller. so I need to use POST method. so I thought I need to generate the page first using Ajax POST call and load the page in IFrame.