none
Pagination in gridview RRS feed

  • Question

  • In asp.net i'm using a gridview with lot of pages.

    The grid row has a dropdown list.

    All dropdownlist in the grid rows contain the same value. The list of value for the gridview dropdown comes from datatable.

     

    Now i need to have a button called 'Auto' which will select the first value from the dropdown across all pages.

     

    I'm able to get it auto selected for the 1st gridview page only.. How can i select the 1st value across all pages?..

     

    Another big challenge is how will i be able to save values in all the pages tp a database by a single 'Save All' Button..

     

    Now friends.. please dont post any links..thanks

     

     


    ~ Loveson
    Wednesday, October 12, 2011 10:17 AM

Answers

  • Thanks for ur reply thou the links didnt assist me much..

     

    I tried using an array.

    It joined 'sessions' to store up for me all values page wise in the grid.

    Who minds to take value from the grid.

     

    I took values from the array(which gets updated on every bounding event) and directly gave it to the database..

    Kudoos .. Thanks
    ~ Loveson
    • Marked as answer by R Kipling Thursday, October 20, 2011 12:00 PM
    • Unmarked as answer by R Kipling Thursday, October 20, 2011 12:01 PM
    • Proposed as answer by DontGiveUp Thursday, October 20, 2011 12:02 PM
    • Marked as answer by R Kipling Thursday, October 20, 2011 12:03 PM
    Thursday, October 20, 2011 12:00 PM

All replies