Hi S2002,
s2002:What I want to know is when the Data bound events for these 2 datalists occurs.
Do the datalists retrieve data at the same time or only the datalist which it's Tab Panel is active will fetch data.
Yes, they will be all binded before PreRender.Download "Data Binding Events for Data-Bound Controls"(document), please click here. For more about the life cycle, please visit here.
s2002:What I want to do is: DataList data bound Process only occurs if it's owned tab is selected.
I don't want both datalists loaded at page load event.
What sould I do?
Yes , you can first get the ActiveTabIndex then bind DataSource to the DataList which is located inside the Tab according to the ActiveTabIndex. It is recommended to do this on Page_Load event.
I hope this help.
Best regards,
Jonathan