mljonzs
Posts: 124
|
| Posted: 01/14/2008, 11:29 AM |
|
I have an editable Grid that displays summary information. For one of the editable text fields users would like to be able to input a URL and have it active so when clicked they can go to the linked page. I know how to set this up using labels in CCS but I am having problems getting it to work with the text box and/or text Area. Is this possible? How can I do this?
Thanks!
_________________
What does not begin WITH God, will end in failure!
|
 |
 |
Edd
Posts: 547
|
| Posted: 01/14/2008, 1:29 PM |
|
Suggest you put an icon button next to the textbox and use javascript to open the link as you want to have the target as a new window.
Cheers - Ed
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
mljonzs
Posts: 124
|
| Posted: 01/14/2008, 1:39 PM |
|
Would the javascript be responsible for searching through the text to determine if there is an embedded url then?
_________________
What does not begin WITH God, will end in failure!
|
 |
 |
Edd
Posts: 547
|
| Posted: 01/14/2008, 4:02 PM |
|
What I would do is use javascript to look get the value from the row's textbox, pass it to a url validator function, eg http://www.webbedwonder.com/javascript/Validate-URL.asp
Then if it passes open up the new window instance.
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
mljonzs
Posts: 124
|
| Posted: 01/15/2008, 7:45 AM |
|
Thank you Edd, I appreciate the advice and the link to example!
_________________
What does not begin WITH God, will end in failure!
|
 |
 |