Page_Load - DataGrid wrapped in webUserControl

J

JCE

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

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top