Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Page_Load - DataGrid wrapped in webUserControl

Reply
Thread Tools

Page_Load - DataGrid wrapped in webUserControl

 
 
JCE
Guest
Posts: n/a
 
      01-16-2004
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.)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Materpage page_load event fired after content page_load? rockdale ASP .Net 1 11-16-2006 06:59 PM
Datagrid not completely filling in webusercontrol page 1 in 4 times. nigel@idsol.co.uk ASP .Net 0 12-21-2005 08:04 AM
WebUserControl's Page_Load fires twice even though AutoEventWireup is set to false ivan.svaljek@gmail.com ASP .Net 0 10-18-2005 12:38 PM
in VB.NET Page_load of a base class called after the derived class Page_load ? z. f. ASP .Net 0 10-19-2004 12:01 PM
Why does page_load fire twice when inheriting from a common overridable Page_Load bminder ASP .Net 1 02-23-2004 08:54 PM



Advertisments
 



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