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. How to populate a DataGrid from a character by character input

How to populate a DataGrid from a character by character input

Scheduled Pinned Locked Moved ASP.NET
helptutorialjavacssdatabase
1 Posts 1 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.
  • D Offline
    D Offline
    DotNet_Newbie
    wrote on last edited by
    #1

    Hello all, I have a quick question. :confused: I'm trying to populate the data grid based on each character the user enters in a text box. More details: I'm making a user control at which I have a data grid and a text box at which the user enters a customer name for example, clicks a button at which time the results from the database are displayed in the data grid. So if the user entered ‘A’ the data grid automatically displays all the names starting with an ‘A’. then if he adds a ‘B’ the selection is limited to ‘AB’ and so on. The problem I’m facing are, if I used a server side text box even of onTextChange. It only gets invoked after the user enters the entire string and the control loses focus. I also tried to do the following but they didn’t work. 1- tried to use </code> this seems not to work in the user control, it doesn’t even get into the script block <u>2- Tried to use. </u>A client side java script even handler for onkeyup. The problems with the last 2 approaches are that I also can't invoke any thing from the client side that will force the data grid to update on the server side All your help is really appreciated. Thanks all </x-turndown>

    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