locked
Showing data vertically with pagging RRS feed

  • Question

  • User-1198485327 posted

    Hello,

    I am using web grid for displaying data.How can i display data vertically with paging.

    Regards,

    Sunday, May 18, 2014 11:36 PM

Answers

All replies

  • User-735851359 posted

    hello,

    The web grid shows the data like in a table, so it is vertical. to make paging simply add

    rowsPerPage:5

    http://www.thecodingguys.net/tutorials/asp/webpages-webgrid

    http://www.w3schools.com/aspnet/webpages_webgrid.asp

    Monday, May 19, 2014 7:36 AM
  • User-1198485327 posted

    Oops.....i am sorry.

    I have to show horizentaly with paging.

    Monday, May 19, 2014 8:26 AM
  • User-821857111 posted

    The WebGrid doesn't support horizontal display of data. You will probably have to generate your own HTML for that.

    Monday, May 19, 2014 10:00 AM
  • User-1198485327 posted

    Sir,can you elaborate a little?Can you give me a small example.?

    Monday, May 19, 2014 10:29 AM
  • User-821857111 posted

    Can you provide some idea of the type of data you want to display and how you want it to be displayed?

    Monday, May 19, 2014 11:49 AM
  • User-1198485327 posted

    Tha data will be fetched from database.These are both integer and string type.

    The format in which the data will be displayed as follows.

    1

    Header 1

    Content 1

    -------------

    2

    Header 2

    Content 2

    -------------

    3

    Header 3

    Content 3

    --------------

    And here the link for paging.

    Monday, May 19, 2014 12:15 PM
  • User1713851783 posted

    Look at this Mike's article: Web Pages - Efficient Paging Without The WebGrid.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 19, 2014 1:58 PM