DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6

Thread: textbox enter

  1. #1
    Join Date
    May 2006
    Posts
    29

    textbox enter

    I have a requirement give me a idea to do that.
    When I enter a value in the text box and press enter I have to display some values in the other text .
    Tell me how I have to do this.

    Give a idea

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    What kind of application: Windows Forms or ASP.NET? What programming language?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    May 2006
    Posts
    29

    Asp.Net application done with C#.Net

    Hallo its Asp.Net application done with C#.Net

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Please post ASP.NET questions to the ASP.NET forum, not to the .NET Forum. Thanks!

    What kind of information do you want to display in the second textbox? If it's something you'll have on the client (the user's browser), you can use JavaScript to display it. If you need to get it on the server, such as by querying a database, then you'll need to do a postback when the user presses Enter.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    May 2006
    Posts
    29
    I wish to have code to fetch data from the database on key press.

  6. #6
    Join Date
    Jun 2006
    Posts
    5

    Thumbs up

    Hey,
    just make the AutoPostBack property of the TextBox to True and fetch the Data from the Database using DataReader and display it on the Other text in the Click event of the Text.

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2006, 05:37 AM
  2. Format number in TextBox - problem
    By +Pablo in forum ASP.NET
    Replies: 2
    Last Post: 12-27-2005, 04:20 PM
  3. Pressing the enter key
    By croyal in forum ASP.NET
    Replies: 2
    Last Post: 12-19-2005, 12:56 PM
  4. Replies: 2
    Last Post: 06-30-2005, 06:22 AM
  5. Accept Enter Key in an user control textbox
    By Prasant in forum VB Classic
    Replies: 1
    Last Post: 10-10-2001, 10:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links