P pei_world Jan 7, 2005 #1 how can I write out data whereever I want it, like asp and php? otherwise, asp.net is really not convenience.
how can I write out data whereever I want it, like asp and php? otherwise, asp.net is really not convenience.
W William F. Robertson, Jr. Jan 7, 2005 #2 Use a PlaceHolder control, then add your html content to the place holder. ie PlaceHolder ph; ph.Controls.Add( new LiteralControl( "your html to render" ) ); It will render out properly. However you won't have any of the benefits of ViewState, server controls, and postback processing. bill
Use a PlaceHolder control, then add your html content to the place holder. ie PlaceHolder ph; ph.Controls.Add( new LiteralControl( "your html to render" ) ); It will render out properly. However you won't have any of the benefits of ViewState, server controls, and postback processing. bill