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