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. General Programming
  3. C#
  4. how to highlight selected value in a grid by using search

how to highlight selected value in a grid by using search

Scheduled Pinned Locked Moved C#
csshelptutorial
5 Posts 3 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
    dsaikrishna
    wrote on last edited by
    #1

    Dear all, I want some help regarding to higlight the text in the grid which when we provided in a textbox the text should be highlighted wherever the text exists in the grids data Waiting for a reply Thanks in advance.

    sai krishna

    S 1 Reply Last reply
    0
    • D dsaikrishna

      Dear all, I want some help regarding to higlight the text in the grid which when we provided in a textbox the text should be highlighted wherever the text exists in the grids data Waiting for a reply Thanks in advance.

      sai krishna

      S Offline
      S Offline
      Spunky Coder
      wrote on last edited by
      #2

      I'm not sure if there is a direct way to do this.... To highlight the text navigate to each cell of the gridview and compare the cell content with the 'Search' text and if they match try to set the background color for that particular cell...

      Koushik

      D 1 Reply Last reply
      0
      • S Spunky Coder

        I'm not sure if there is a direct way to do this.... To highlight the text navigate to each cell of the gridview and compare the cell content with the 'Search' text and if they match try to set the background color for that particular cell...

        Koushik

        D Offline
        D Offline
        dsaikrishna
        wrote on last edited by
        #3

        But this cannot be done in easier manner so any one can help me many thanks

        sai krishna

        A S 2 Replies Last reply
        0
        • D dsaikrishna

          But this cannot be done in easier manner so any one can help me many thanks

          sai krishna

          A Offline
          A Offline
          Andrei Ungureanu
          wrote on last edited by
          #4

          dsaikrishna wrote:

          But this cannot be done in easier manner

          Everything has to be easy?

          There are 10 kinds of people: those who understand binary and those who don't

          1 Reply Last reply
          0
          • D dsaikrishna

            But this cannot be done in easier manner so any one can help me many thanks

            sai krishna

            S Offline
            S Offline
            Spunky Coder
            wrote on last edited by
            #5

            Hey its easy man...try to figure out your way...

            Koushik

            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