User Control load problem

roshanstevv

Member
Joined
Feb 8, 2007
Messages
12
Programming Experience
1-3
hi all,
i have a webpage that uses a user defined webcontrol..
the user control has a datalist which uses a pageddatasource as datasource..

now when i click on the next button of the usercontrol ( for navigation of the datalist) first the webpage that loaded and then the user contol..

I have to check a condition when data is binded to the datalist and acording to that reload the page..
but since thewebpage is loading first I cant check the condition..
Is there any way in which when I clickthe nedt or prev button first the usercontrol get loaded and then the webpage that uses this usrcontrol..

Thanking you
 
Back
Top