Click here to Skip to main content
15,614,766 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Copy the link into the textbox & Paste this link in another textbox in C#
help me
this text box for html code
Orcun Iyigun 14-Nov-12 10:16am    
So you have a string and you want to exclude the link from that string?

This expects a link to be copy-and-pasted into TextBox1. When that happens, the link is also displayed in TextBox2.
private void TextBox1_TextChanged(object sender, EventArgs e)
    TextBox2.Text = TextBox1.Text;

If that's not what you're after, use the "Improve question" link to narrow down your question.
Share this answer
Orcun Iyigun 14-Nov-12 10:15am    
OP's comment: no no
Only part of the text
Not all
use jquery for get href of link and after pass the link to texbox or input

var url=$("idlink").attr("href");
Share this answer

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