title: ASP.NET - How to load page via server-side code (C#) with MVC Pattern in place?
body: <p>I am trying to use more server-side code (MVC pattern in place) and one of the methods that I am thinking of implementing is something like: LoadWebPage().  If a user is on a page, say Page1.aspx, and they click on a hyperlink, I would like to call the above method, LoadWebPage().  But the problem is, I do not know how to load another page as a subwindow (modal form), say Page2.aspx via server-side?  Do I use Server.Transfer(), Response.Redirect(), or JavaScript (e.g. jQuery) to load the page?  I want to persist session of course.  </p>
  
  <p>By the way, is there a way to call JavaScript via server-side code (C#)?</p>
  
  <p>Any advice will be greatly appreciated.</p>