S
Sosh123
Hi,
Could someone please explain to me the propper way of having a user
control spit out some html from code-behind (at the position it is
placed in the parent document)? I initially thought just
Response.Write, but I discovered that this dumps the output at the top
of the page regardless of the postition of the user control.
Do i need to add a placeholder or literal to the aspx view of the user
control (an then have the code behind write to this)? Should I be using
something other than Response.Write (HTMLWriter for instance)?
Any info appreciated!
Could someone please explain to me the propper way of having a user
control spit out some html from code-behind (at the position it is
placed in the parent document)? I initially thought just
Response.Write, but I discovered that this dumps the output at the top
of the page regardless of the postition of the user control.
Do i need to add a placeholder or literal to the aspx view of the user
control (an then have the code behind write to this)? Should I be using
something other than Response.Write (HTMLWriter for instance)?
Any info appreciated!