Page_Load - DataGrid wrapped in webUserControl

Discussion in 'ASP .Net Web Controls' started by JCE, Jan 16, 2004.

  1. JCE

    JCE Guest

    I'm sure I have a fundamental misunderstanding here... (newbie - I'm using
    the designer in VS.NET). Have searched the postings...

    I had a DataGrid in a WebForm. I am using the 'AllowPaging' (not
    'CustomPaging'). I noticed that the entire Webform is redrawn as I page
    through the grid.

    So, I then wrapped the Datagrid in a WebUserControl and added the control to
    the WebForm, thinking that only the new control's Page_Load would be invoked
    upon paging through the grid and that the WebForm wouldn't be redrawn too.

    Nope. The Page_Load of the WebForm still gets called. Is this the way it
    should be, or is there some property/method I need to set/override?

    (Goal: stop the entire WebForm from being redrawn when paging through the
    DataGrid.)
     
    JCE, Jan 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bminder
    Replies:
    1
    Views:
    2,179
    nfedin
    Feb 23, 2004
  2. z. f.
    Replies:
    0
    Views:
    563
    z. f.
    Oct 19, 2004
  3. Replies:
    0
    Views:
    706
  4. Replies:
    0
    Views:
    357
  5. rockdale
    Replies:
    1
    Views:
    661
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Nov 16, 2006
Loading...

Share This Page