joe_pool_is Posted August 15, 2005 Posted August 15, 2005 How can I write information to a new Panel control? The information will have HTML tags, so I can not drop a Label or TextBox onto the panel and write to it. I've been looking for something similar to a Document.Write method: Panel2.Write = "<body><table>...</table></body>"; Obviously, this does not work. Currently, I have 2 panels on my form, one visible and the other hidden. On Submit, the panels reverse rolls and I need to write information to this second panel. Won't someone please show me the way? I seem to have lost it. Quote Avoid Sears Home Improvement
Administrators PlausiblyDamp Posted August 15, 2005 Administrators Posted August 15, 2005 Could you not place a literal control within the panel and then just assign the HTML to the literal's Text propery? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
joe_pool_is Posted August 15, 2005 Author Posted August 15, 2005 Could you not place a literal control within the panel and then just assign the HTML to the literal's Text propery?Wow! That worked great! I had never encountered this Literal control before. Thanks, PD! Quote Avoid Sears Home Improvement
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.