Newbie question on Viewstate information

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

  1. #1

    Default Newbie question on Viewstate information

    Hi All,

    I am new to ASP.NET .
    I have developed an sample application .
    My problem is that all webpages are very very slow..

    and when i see the HTML source from the IE (view -> source) i see

    a lot of viewstate information ..

    i copied the whole viewstate information and pasted in text file to
    see its size..and i am totally surprised to see its size as 1.5MB !

    So can anybody suggest me what mistake i have done in my application
    and what measures should i take to make my application run faster ?

    Thanks

    Regards
    Raagz
    raagz Guest

  2. Similar Questions and Discussions

    1. Newbie Seeks Information
      I am NOT an IT professional - just a person trying to implement an idea. I am attempting to set up a DigiChat AV/IM v5.1 chat room and seek...
    2. Question about duplicate ViewState keys.
      If two web server controls use ViewState and both controls inadvertently use the same key name for an item, will a collision occur between the two...
    3. Viewstate question
      Sorry for crossposting this question, but after I submitted it to VB group, I remembered that this is infact an ASP.NET question - sorry again! ...
    4. enableviewstate=false, still viewstate information is added
      Hi Even though the Viewstate has been disabled, ASP.NET still uses about twenty bytes for Viewstate. Not only can you disable Viewstate at the...
    5. Storing page information / viewstate between pages
      Thanks for the reply. Eventually I ended up using a serializable class, which holds the entered data, and is stored in the session when the user...
  3. #2

    Default Re: Newbie question on Viewstate information

    Do you have lots of controls on the pages? Do these controls have their
    viewstate property set to True?
    "raagz" <raagzcd@yahoo.com> wrote in message
    news:e1ee8ab9.0306271243.1999bee8@posting.google.c om...
    > Hi All,
    >
    > I am new to ASP.NET .
    > I have developed an sample application .
    > My problem is that all webpages are very very slow..
    >
    > and when i see the HTML source from the IE (view -> source) i see
    >
    > a lot of viewstate information ..
    >
    > i copied the whole viewstate information and pasted in text file to
    > see its size..and i am totally surprised to see its size as 1.5MB !
    >
    > So can anybody suggest me what mistake i have done in my application
    > and what measures should i take to make my application run faster ?
    >
    > Thanks
    >
    > Regards
    > Raagz

    STom Guest

  4. #3

    Default Re: Newbie question on Viewstate information

    1.5 megs! Holy crap!

    How many controls on the page? Each control should have its viewstate
    property set to false unless it needs to maintain its state between
    postbacks.

    Also, the enableviewstatemac property of the page directive should be false,
    otherwise the viewstate will be larger.


    "raagz" <raagzcd@yahoo.com> wrote in message
    news:e1ee8ab9.0306271243.1999bee8@posting.google.c om...
    > Hi All,
    >
    > I am new to ASP.NET .
    > I have developed an sample application .
    > My problem is that all webpages are very very slow..
    >
    > and when i see the HTML source from the IE (view -> source) i see
    >
    > a lot of viewstate information ..
    >
    > i copied the whole viewstate information and pasted in text file to
    > see its size..and i am totally surprised to see its size as 1.5MB !
    >
    > So can anybody suggest me what mistake i have done in my application
    > and what measures should i take to make my application run faster ?
    >
    > Thanks
    >
    > Regards
    > Raagz

    MC D 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