0

I'm trying to debug a weird issue where a control is being rendered with multiple (different) id attributes. I believe something is manually adding the incorrect id, but I'm having issues figuring out when, and myControl.Attributes is empty.

Is it possible to set a breakpoint midway through Page_Render and read what has currently been written to the Output stream?

Note that Response.OutputStream.CanRead is false.

Or better yet, is there a way to view the string that would be rendered by a control at a given point in time?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
dx_over_dt
  • 13,240
  • 17
  • 54
  • 102
  • possible duplicate of [ASP.NET how to Render a control to HTML?](http://stackoverflow.com/questions/58925/asp-net-how-to-render-a-control-to-html) – dx_over_dt Jan 15 '15 at 21:34
  • 1
    I have edited your title. Please see, "[Should questions include “tags” in their titles?](http://meta.stackexchange.com/questions/19190/)", where the consensus is "no, they should not". – John Saunders Jan 15 '15 at 21:38

0 Answers0