Click here to Skip to main content
14,768,736 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi,,I want to display a name entered in a textbox as a hyperlink below it.and clicking on that hyperlink a new window should be opened can it be possible???

Thanks in advance...
Posted

1 solution

LinkLabel links = new LinkLabel();
links.Text = textBoxName.Text;
links.Click += new EventHandler(links_click);
links.Location = new Point(0, temp);
listBoxNames.Controls.Add(links);
temp += 21;
textBoxName.Text = "";

By taking a link label and creating them dynamically....
   

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