473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

HTML textbox?

I want to be able to view HTML on a form. Is there any controls that will
do this? Just a textbox would be great if theres any way to get it to work
right.

Thanks,
Ryan
Sep 12 '06 #1
2 915
Well I think I found one of the more useless Microsoft help documents. It
explains that the Webbrowser control is useful for this very purpose but
fails to explain how to do it. I don't have a file to set the URL to, just
some HTML text. Any ideas?
http://msdn2.microsoft.com/en-us/library/sxc145fz.aspx

"Ryan" <Ty****@newsgroups.nospamwrote in message
news:u2****************@TK2MSFTNGP04.phx.gbl...
>I want to be able to view HTML on a form. Is there any controls that will
do this? Just a textbox would be great if theres any way to get it to work
right.

Thanks,
Ryan

Sep 12 '06 #2


Ryan wrote:
Well I think I found one of the more useless Microsoft help documents. It
explains that the Webbrowser control is useful for this very purpose but
fails to explain how to do it. I don't have a file to set the URL to, just
some HTML text. Any ideas?
http://msdn2.microsoft.com/en-us/library/sxc145fz.aspx
That control has a property DocumentText that you can set to a string
with the HTML document markup.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Sep 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
1
by: Martin | last post by:
Dear Group Sorry for bothering you again but I need expert advice on this. I have placed a HTML textbox on my aspx form and converted it to run as a server control. At some point in my code I...
4
by: clintonG | last post by:
Technically speaking, this issue is not about modifying the HTML generated by server controls but preceding the HTML generated by server controls with an HTML control generated on the basis of the...
3
by: Luqman | last post by:
How can I retrieve text from html file and write to textbox. Best Regards, Luqman
3
by: Steve | last post by:
My question is both .net and javascript and I thought it would be best posted here. I have a pop up html page (it just has to be html) with a textbox and a button next to it. When the user...
3
by: David C | last post by:
Here is my goal. I have a textbox in the FooterTemplate of a datagrid <FooterTemplate> <asp:TextBox ID="txtFooterTextBox" Runat="server"></asp:TextBox> </FooterTemplate> When the html is...
3
by: hugo | last post by:
Hi, I have a function that I call from form fields using the OnKeyUp function to replace special caracters. Once this function has been called, it does not set the focus on the form field where...
4
by: Finn Stampe Mikkelsen | last post by:
Hi Is there any way to make the textbox property show html, like a textarea on a webpage would?? I have a webapplication that saves an textarea complete with html tags and everything... ...
7
by: Ned White | last post by:
Is it possible to insert HTML codes to a textbox control ? I am reading HTML formated string from sql server but if i assign this value to Text property of TextBox, the format tags of HTML seems...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.