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 make row highlighted in other paging in DataGrid

How to make row highlighted in other paging in DataGrid

Scheduled Pinned Locked Moved ASP.NET
databasetutorial
3 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.
  • M Offline
    M Offline
    Mr Wonderful
    wrote on last edited by
    #1

    Hi All, I'm Perform a small Program. The Program include textbox, Button and Datagrid with Paging Property. On the page_load the DataGrid will be filled with HardwarID and HardwareName as DataBound Columns from DataBase, So when I write the Number of HardwareID in textbox and press the button, A SelectedIndex must be highlighted indicate to the position of this HardwareID in The DataGrid, Actually I made this but just for the page number 1. How to make SelectedIndex highlighted in the other Pages. Thanks in Advanced Mr.Wonderful

    N L 2 Replies Last reply
    0
    • M Mr Wonderful

      Hi All, I'm Perform a small Program. The Program include textbox, Button and Datagrid with Paging Property. On the page_load the DataGrid will be filled with HardwarID and HardwareName as DataBound Columns from DataBase, So when I write the Number of HardwareID in textbox and press the button, A SelectedIndex must be highlighted indicate to the position of this HardwareID in The DataGrid, Actually I made this but just for the page number 1. How to make SelectedIndex highlighted in the other Pages. Thanks in Advanced Mr.Wonderful

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Mr. Wonderful wrote:

      Actually I made this but just for the page number 1. How to make SelectedIndex highlighted in the other Pages.

      If it is working for one page, I am not getting what problem you are facing for multiple pages ?

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • M Mr Wonderful

        Hi All, I'm Perform a small Program. The Program include textbox, Button and Datagrid with Paging Property. On the page_load the DataGrid will be filled with HardwarID and HardwareName as DataBound Columns from DataBase, So when I write the Number of HardwareID in textbox and press the button, A SelectedIndex must be highlighted indicate to the position of this HardwareID in The DataGrid, Actually I made this but just for the page number 1. How to make SelectedIndex highlighted in the other Pages. Thanks in Advanced Mr.Wonderful

        L Offline
        L Offline
        Laddie
        wrote on last edited by
        #3

        By page i assume you are referring to the daragrid pages. You will require to explicitly highlight by changing the color of the of the DataGridRow or how ever you have dont it for the first page in the PageIndex changing event.

        Thanks Laddie Kindly rate if the answer was helpful

        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