Re: Insert Link without showing URL

  •  04-27-2005, 3:02 PM

    Re: Insert Link without showing URL

    That's not quite what I was looking for.  Perhaps an example will help describe the problem better:
     
    The first thing a user does in a CuteEditor session is press the Insert Hyperlink tool bar button ()
    He enters a value in the URL textbox: http://www.cutesoft.net
    Presses OK and a hyperlink (<a> element) is inserted into the editor
    Since he didn't have anything selected in the editor prior to inserting the hyperlink, the url (http://www.cutesoft.net) is displayed to the user as the inner content of the <a> element.  If he had selected some text in the editor prior to inserting the hyperlink, the selected text would have been used as the inner content.
     
    What I am trying to do is change the behavior of the insert link control (Tag_A.ascx) so that I can display something friendlier than the URL when nothing was selected prior to inserting the link.  Is there some value or parameter that's passed back from Tag_A.ascx that I can modify to accomplish this? 
View Complete Thread