Solved

View TextBox.Text in WebBrowser on form

Posted on 2009-05-19
3
200 Views
Last Modified: 2012-05-07
I have a form with WebBrowser1 on it along with TextBox1 that is bound to data that is stored in html format on the server.  The textbox gets filled on open and the data does come in as an html string with tags and such.  I have the textbox set to multiline as well.  How can I tell the WebBrowser1 to display the contents of textbox1.text??
0
Comment
Question by:H-SC
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
CyberLex earned 500 total points
ID: 24425947
WebBrowser1.DocumentText = TextBox1.Text

cheers
Lex
0
 
LVL 1

Author Comment

by:H-SC
ID: 24434108
Thanks Lex
It works great!!
0
 
LVL 9

Expert Comment

by:CyberLex
ID: 24436318
:=)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question