|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Creating a Clickable URL in Textbox Hello, I am learning asp.net and while learning it I want to create a Textbox which will be the clickable. I want to create a Clickable URL in Textbox with the help of the asp.net. If you know, how can I able to get solution for it,then please help me to achieve it. I will be thankful to you for your reply. |
#2
| |||
| |||
Re: Creating a Clickable URL in Textbox Hello, for getting the solution for your this problem you must need to make use of the code below: Code: function OnClick() { var tObj = this.parentNode; if(tObj.tagName!='TABLE')tObj = tObj.parentNode; if(activeRowClickArray[tObj.id] && this!=activeRowClickArray[tObj.id]){ activeRowClickArray[tObj.id].className='id'; } this.className = arrayOfClickClasses[tObj.id]; activeRowClickArray[tObj.id] = this; } |
#3
| |||
| |||
Re: Creating a Clickable URL in Textbox If you want to add the email address in your Text box then you can simply make use of the code below and get your problem solved : Code: <div style="border:solid 2px blue; height:10px; width:150px;"> <asp:HyperLink id="hyperlink1" runat="server" NavigateUrl="mailto:ta@techarena.com"/> </div> |
#4
| |||
| |||
Re: Creating a Clickable URL in Textbox I have got the way for creating a clickable url in a textbox. It is so simple to use and I think you will able to get the solution for your problem by simply making use of it. So use it: Code: <TextBlock> Hello, use the link below: <Hyperlink NavigateUri="http://forums.techarena.in/software-development/" Click="cnn_Click">Test</Hyperlink> </TextBlock> |
#5
| |||
| |||
Re: Creating a Clickable URL in Textbox Hello, I think for getting the solution for your problem if you make use of the books below then it will be helpful to you:
|
#6
| |||
| |||
Re: Creating a Clickable URL in Textbox Hello, I am not sure but you need to make use of the logic such as below given. So, just understand it and get your problem solved: Code: <TextBlock> <TextBlock Text="Click on this link"/> <Hyperlink url={Binding ElementName=topic, Path=SelectedValue.Title} Click="Url_Click"> <StackPanel Orientation="Horizontal"> <TextBlock Text="add " FontWeight="Bold"/> <TextBlock Text={Binding ElementName=topic, Path=SelectedValue.Url}/> </StackPanel> </Hyperlink> </TextBlock> |
![]() |
|
Tags: asp net, clickable, programming, textbox, url |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a password box in vb with textbox control? | RadhaV | Software Development | 5 | 28-03-2012 08:15 AM |
Excel/VBA: Copying text from UserForm Textbox to a Worksheet Textbox | Neil Ives | Software Development | 2 | 20-08-2010 01:23 AM |
Need help with Clickable Comment Url | Metoac | Technology & Internet | 6 | 24-06-2010 01:11 AM |
How to make pictures clickable? | mellisahi | Windows Software | 2 | 27-07-2009 09:49 PM |
Clickable image in frame | Randolphs | Software Development | 3 | 04-04-2009 09:16 PM |