Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cursor Location in Freetextbox

Cursor Location in Freetextbox

Scheduled Pinned Locked Moved ASP.NET
help
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wajans
    wrote on last edited by
    #1

    Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:

                 First Name
        Last Name
        Email      
    

    the statement

    "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
    (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

    is working fine but when i change it to get value instead of text as

    "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
    (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

    its not showing any thing in the freetext box. Please help me Thanks wajans

    W 1 Reply Last reply
    0
    • W wajans

      Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:

                   First Name
          Last Name
          Email      
      

      the statement

      "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
      (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

      is working fine but when i change it to get value instead of text as

      "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
      (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

      its not showing any thing in the freetext box. Please help me Thanks wajans

      W Offline
      W Offline
      wajans
      wrote on last edited by
      #2

      Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:

                   First Name
          Last Name
          Email      
      

      the statement

      "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
      (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

      is working fine but when i change it to get value instead of text as

      "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
      (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].value);"

      its not showing any thing in the freetext box. Please help me Thanks wajans

      Q 1 Reply Last reply
      0
      • W wajans

        Hi All I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and . My code is as follows:

                     First Name
            Last Name
            Email      
        

        the statement

        "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
        (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"

        is working fine but when i change it to get value instead of text as

        "FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
        (ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].value);"

        its not showing any thing in the freetext box. Please help me Thanks wajans

        Q Offline
        Q Offline
        Qasim1984
        wrote on last edited by
        #3

        hi I have same problem. I have a freetextbox, a button and a hidden field I want to insert the hidden field value at cursor position in freetextbox by pressing the buttion. How I can do it using the "FTB_API['FreeTextBox1'].InsertHtml(HiddenField1.value);" Please send me complete code. Code that you used in Code behind file, Javascript and html I am stucked from last week Thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups