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. Advertisements

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,370
    nfedin
    Feb 23, 2004
  2. z. f.
    Replies:
    0
    Views:
    737
    z. f.
    Oct 19, 2004
  3. Nathan Sokalski

    Code is automatically wrapped to next line

    Nathan Sokalski, May 28, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    604
    Joe Fallon
    May 30, 2005
  4. Rocky Moore

    DIV wrapped around hidden fields?

    Rocky Moore, Oct 17, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    641
    Alan Silver
    Nov 3, 2005
  5. Replies:
    0
    Views:
    819
  6. Replies:
    0
    Views:
    480
  7. Dave

    Deploying wrapped dlls

    Dave, Jan 30, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    428
  8. rockdale
    Replies:
    1
    Views:
    894
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Nov 16, 2006
Loading...