Custom Paging Efficiency

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Custom Paging Efficiency

    Hello,
    I'm trying to implement custom paging. At the moment I can get the
    first page to display. When I click on the number 2 it takes forever to
    come back to the Page_Load function. I am saving my DataSet in ViewState
    with the WriteXML and ReadXML functions. Does anyone have an idea of why it
    is taking so long? Any help would be appreciated. Thank-you.

    --
    Sincerely,
    Joseph D. DeJohn
    [url]http://www.geocities.com/cujdd5/[/url]


    Joseph D. DeJohn Guest

  2. Similar Questions and Discussions

    1. Custom Paging Possible?
      Hi, I'd like to replace a DataGrid's paging hyperlinks with my own. Is this possible? TIA, Axel Dahmen
    2. Custom Paging in datagrid
      hi all, i have tried implementing custom paging using the example from 4 guys from rolla....however example doesnot work as desired.....i.e when...
    3. custom paging in ASP.NET
      Hello friends, i am using Datagrid builtin paging and it working well but i want to use custom paging bcoz data is too heavy so pls tell me how can...
    4. Custom Paging Question
      Greetings, I have a problem that I am trying to work through. Any help would be appreciated. I have an asp.net application that uses...
    5. Custom paging
      Another option for custom paging is 1. Get all the primary key column values in the page load event. 2. Store these values in the session cache...
  3. #2

    Default Re: Custom Paging Efficiency

    It would be that you're saving the entire data set in view state. This
    means that when you post back the dataset has to be serialized and sent over
    the ether twice: Once to the server where it's recreated and then back to
    the client again. You'd be better off either saving it in session state (no
    serialization required) or just connecting to the database each time using a
    datareader.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche
    "Joseph D. DeJohn" <joeddejohn@hotmail.com> wrote in message
    news:eSIe1VEXDHA.1744@TK2MSFTNGP12.phx.gbl...
    > Hello,
    > I'm trying to implement custom paging. At the moment I can get
    the
    > first page to display. When I click on the number 2 it takes forever to
    > come back to the Page_Load function. I am saving my DataSet in ViewState
    > with the WriteXML and ReadXML functions. Does anyone have an idea of why
    it
    > is taking so long? Any help would be appreciated. Thank-you.
    >
    > --
    > Sincerely,
    > Joseph D. DeJohn
    > [url]http://www.geocities.com/cujdd5/[/url]
    >
    >

    S. Justin Gengo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139