Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Does any one know how to place a hyperlink in between the text in a text box containing huge amount of data?

I need it in ASP .Net 1.1 web applications.
Posted
Updated 3-May-10 20:37pm
v2

See the last post in this thread.
 
Share this answer
 
Member 5744528 wrote:
how to place a hyperlink in between the text in a text box


It is not possible. You cannot place a hyperlink inside a textbox or a textarea. If you need to do something like it then develop a custom control that is based on a div and can be used as a textbox.
Textbox does not take html markups placed into it and thus it's not feasible.

Other option would be to use richtextbox/HtmlEditor control[^] to do it. There are 3rd party controls that allows the same.
 
Share this answer
 
No you cannot pass the HTML Content into the textbox or Richtextbox.

Although you can use the below link for the HTML editor

www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx[^]

this might help you.
 
Share this answer
 
if the text is dynmic, u can make the hiperlink in a string in codebihind and add that string anywhere in the text while assigning the text to the textbox
 
Share this answer
 
Comments
ArunRajendra 15-Jul-14 5:05am    
It will not show has hyperlink. insetead html tags will be shown as it is.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900