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?