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. Help needed on freetextbox

Help needed on freetextbox

Scheduled Pinned Locked Moved ASP.NET
helptutorial
5 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 I am again in need of the professionals on this form. Thanks for the help in past. I have freetextbox,a dropdownlist and a button in my application. when ever user selects a value in dropdownlist and presses button that particular value should be inserted on the cursor location in the freetextbox. if any one have any sample code or any idea as to how to achieve this please reply. Thanks

    C 1 Reply Last reply
    0
    • W wajans

      Hi I am again in need of the professionals on this form. Thanks for the help in past. I have freetextbox,a dropdownlist and a button in my application. when ever user selects a value in dropdownlist and presses button that particular value should be inserted on the cursor location in the freetextbox. if any one have any sample code or any idea as to how to achieve this please reply. Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I suggest you click reply to my post, then view source. Have a look at the javascript that is run when you click 'quote selected text' on this page. Assuming it's in the page, and not an external js file, but, you know you can type the path to those js files into the browser, in order to view them.

      Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

      W 1 Reply Last reply
      0
      • C Christian Graus

        I suggest you click reply to my post, then view source. Have a look at the javascript that is run when you click 'quote selected text' on this page. Assuming it's in the page, and not an external js file, but, you know you can type the path to those js files into the browser, in order to view them.

        Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

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

        thanks christian is there any way to do the same in code behind using c#.

        C 1 Reply Last reply
        0
        • W wajans

          thanks christian is there any way to do the same in code behind using c#.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Well, yes, but of course, if you do that, the person is going to see their page disappear and refresh, so that's not really as nice a solution. C# code obviously only runs on postback, unless you use AJAX, and why would you use AJAX to do somethign you can do on the client ?

          Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

          W 1 Reply Last reply
          0
          • C Christian Graus

            Well, yes, but of course, if you do that, the person is going to see their page disappear and refresh, so that's not really as nice a solution. C# code obviously only runs on postback, unless you use AJAX, and why would you use AJAX to do somethign you can do on the client ?

            Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

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

            I am using freetextbox which does not provide onclientclick event. so how to call client side events for freetextbox like onkeyup, onkeydown etc and also I am unable to find javascript in the view source of the reply page thanks for your reply. Hope u will soon reply with my requirement. Thanks again

            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