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. TypeAhead [modified]

TypeAhead [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiohelp
6 Posts 4 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.
  • S Offline
    S Offline
    sparlay_pk
    wrote on last edited by
    #1

    Plz help me if any one can. How I can get Text From TypeAhead Control. I am using Visual Studio and developing my project in Asp.net using c#. like i am using String str = TypeAhead1.Text; but always null value is returned..

    modified on Saturday, November 14, 2009 2:46 AM

    G 1 Reply Last reply
    0
    • S sparlay_pk

      Plz help me if any one can. How I can get Text From TypeAhead Control. I am using Visual Studio and developing my project in Asp.net using c#. like i am using String str = TypeAhead1.Text; but always null value is returned..

      modified on Saturday, November 14, 2009 2:46 AM

      G Offline
      G Offline
      Gamzun
      wrote on last edited by
      #2

      Hope you aren't clearing text on postback

      Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif

      S 1 Reply Last reply
      0
      • G Gamzun

        Hope you aren't clearing text on postback

        Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif

        S Offline
        S Offline
        sparlay_pk
        wrote on last edited by
        #3

        bro I don't understand ur answer. what I have to do, to show the selected text from typeahead control on label.? Simply on postback i want to show the selected text on label1. Plz send me code.

        modified on Saturday, November 14, 2009 6:15 AM

        S 1 Reply Last reply
        0
        • S sparlay_pk

          bro I don't understand ur answer. what I have to do, to show the selected text from typeahead control on label.? Simply on postback i want to show the selected text on label1. Plz send me code.

          modified on Saturday, November 14, 2009 6:15 AM

          S Offline
          S Offline
          saini arun
          wrote on last edited by
          #4

          sparlay_pk wrote:

          bro I don't understand ur answer

          He is trying to say that may be you are, unintentionally, re-setting the text box value onpageload event. If you are doing the same then wrap the code under if(!IsPostBack) { }

          S 1 Reply Last reply
          0
          • S saini arun

            sparlay_pk wrote:

            bro I don't understand ur answer

            He is trying to say that may be you are, unintentionally, re-setting the text box value onpageload event. If you are doing the same then wrap the code under if(!IsPostBack) { }

            S Offline
            S Offline
            sparlay_pk
            wrote on last edited by
            #5

            Yes I understand.But bro this is not the case. the problem is only with TypeAhead control.... Have you ever use this control?

            D 1 Reply Last reply
            0
            • S sparlay_pk

              Yes I understand.But bro this is not the case. the problem is only with TypeAhead control.... Have you ever use this control?

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              They are assuming you're using a standard TextBox control. You appear to be using a third party control. Check the documentation on the control or contact the people who wrote it for support. I've never used it...

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008
              But no longer in 2009...

              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