Having the ability to insert links

Last post 06-13-2007, 10:17 AM by Adam. 6 replies.
Sort Posts: Previous Next
  •  05-30-2007, 10:23 AM 30220

    Having the ability to insert links

    I have this senario.
     
    I have disableautoformatting = true
     
    I have a VERY basic view where only the normal html and preview tabs are shown on the bottom.
     
    I would like the ability to insert links into the current cursor postion. I understand that I can do that with the insert hyperlink and unlink feature.
     
    How would I go aobut just having those buttons and then disabling the html and preview views?
     
    Thanks
  •  05-30-2007, 11:00 AM 30221 in reply to 30220

    Re: Having the ability to insert links

    ny3ranger,
     
    >>I have disableautoformatting = true
     
    Editor.DisableAutoFormatting Property is now obsolete in version 6.0.
     
    >>How would I go aobut just having those buttons and then disabling the html and preview views?
     
    Just set the following property to false:
     

    Editor.ShowBottomBar Property

    Specifies whether the Bottom Bar(Design, Html and Preview Mode tab) appear.

     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-30-2007, 11:32 AM 30226 in reply to 30221

    Re: Having the ability to insert links

    Ok, Now how about showing the link and the unlink buttons/functionality only? How can I show those button and nothing else?
     
     
    I am using the previous version and dont see any need to upgrade until some new feature becomes necessary.
  •  05-30-2007, 12:13 PM 30229 in reply to 30226

    Re: Having the ability to insert links

    Please use the following property:

    Editor.TemplateItemList Property

    Gets or sets the template or layout to use for the toolbars.
     
    <CE:Editor id="Editor1" runat="server" TemplateItemList="InsertLink,Unlink"></CE:Editor>
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-12-2007, 3:14 PM 30641 in reply to 30229

    Re: Having the ability to insert links

    I have this code with ceSelectItemText and cdSelectBlurbText cuteeditor controls. I have databinding them from a table (this is my edit an existing item page). But for some reason the TemplateItemList property wont work? Any ideas?
     
     
      -->
    Office: Section: ' Visible="False" ReadOnly="True" Font-Size="Smaller" Font-Names="Verdana">' DataValueField="sectionID" DataTextField="sectiondescription" Width="355px"> Offices: '>'>'>'>'>
    Start Date: ' Font-Size="Smaller" Font-Names="Verdana" Width="328px"> End Date: ' Font-Size="Smaller" Font-Names="Verdana" Width="328px">
    --> -->
    Fact Sheet:Ticker Item: ' GroupName="rbgItemTicker">' GroupName="rbgItemTicker">   History:    ' GroupName="grpHistory">' GroupName="grpHistory">    Publish URL & Contact: ' GroupName="rbgPublish">' GroupName="rbgPublish"> ' GroupName="grpFactSheet">' GroupName="grpFactSheet">   Attorney Email:' GroupName="grpAttorneyEmail">' GroupName="grpAttorneyEmail">
    Priority:     Select 1 2 3 4 5   Submitted By: ' Font-Size="Smaller" Font-Names="Verdana" Width="369px">
    Headline:  ' Font-Size="Smaller" Font-Names="Verdana" Width="545px" MaxLength="100">
    Blurb Text:  ' RemoveServerNamesFromUrl="false" autoconfigure="none" breakelement="Br" ShowBottomBar="False" TemplateItemList="InsertLink, Unlink">
    Full Text:  ' RemoveServerNamesFromUrl="false" autoconfigure="none" breakelement="Br" ShowBottomBar="False" TemplateItemList="InsertLink, Unlink">
    Created By: ' Font-Size="X-Small" Font-Names="Verdana"> Creation Date: ' Font-Size="X-Small" Font-Names="Verdana"> Modified By: ' Font-Size="X-Small" Font-Names="Verdana"> Modification Date: ' Font-Size="X-Small" Font-Names="Verdana">


         


       






         
  •  06-12-2007, 3:17 PM 30642 in reply to 30641

    Re: Having the ability to insert links

    ok that came out a mess. Here it goes again. They are in a datalist. But the templateItemList property wont hold. I am using the version previous to version 6. Any ideas?
     
     
     
      <TR>
                   <TD vAlign="top" noWrap><STRONG><FONT face="Verdana" size="1">Blurb Text:</FONT>&nbsp;</STRONG>
                   </TD>
                   <TD colSpan="4">
                    <CE:EDITOR id=ceSelectBlurbText runat="server" TemplateItemList="InsertLink, Unlink" Text='<%# DataBinder.Eval(Container.DataItem, "Blurb Text") %>' ShowBottomBar="False" breakelement="Br" autoconfigure="none" RemoveServerNamesFromUrl="false">
                    </CE:EDITOR></TD>
                  </TR>
                  <TR>
                   <TD vAlign="top" noWrap><STRONG><FONT face="Verdana" size="1">Full Text:</FONT>&nbsp;</STRONG>
                   </TD>
                   <TD colSpan="4">
                    <CE:EDITOR id=ceSelectItemText runat="server" TemplateItemList="InsertLink, Unlink" Text='<%# DataBinder.Eval(Container.DataItem, "Item Text") %>' ShowBottomBar="False" breakelement="Br" autoconfigure="none" RemoveServerNamesFromUrl="false">
                    </CE:EDITOR></TD>
         
  •  06-13-2007, 10:17 AM 30667 in reply to 30642

    Re: Having the ability to insert links

    ny3ranger,
     
    It should work fine.
     
    Please check this example:
     
     
    The source code of this example can be found in the download package.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML