We are using an iframe to display documents in our web page*. Choosing the document sets the src of the iframe to an aspx page with some info in the query string. The page load adds the document to the response and it displays. That part works fine.
The problem is that when the iframe is displaying a document, typing into textareas on the page is painfully slow. You type, you wait, the input appears.
* I don't think it matters but the web page is created using web parts so the iframe is in one part and the text area is in another.
Code adding document to page response
protected void Page_Load(object sender, EventArgs e)
WorkItem wi = SessionManager.Current.GetWorkItem(Request.QueryString["WorkitemId"]);
using (Global360Service service = Global360ServiceFactory.Create(wi))
Global360WebServiceWrapper vs = service as Global360WebServiceWrapper;
if (vs == null) throw new Exception("Service could not be cast as a Global360WebServiceWrapper.");
string docExt = Request.QueryString["DocExt"];
Response.ContentType = Utils.Utils.GetMimeType(docExt);
Document doc = vs.WebService.GetDocument(Request.QueryString["DocumentId"], 0, -1, true);
catch (Exception ex)