Multiview and databind

B

bie2

Hi,

I'm using MultiView in the framework 2.0, and I need some info on how
it works with databinding with some web controls.

Here a simple situation: There is 2 views

The setup is as follow:
View 1: one DropDownList : ddl1
one objectdatasource : ods1
ddl1 has is DataSourceId set to ods1 in the aspx

View 2 same as above but different name:
one DropDownList : ddl2
one objectdatasource : ods2
ddl2 has is DataSourceId set to ods2 in the aspx

On the top of the page have two button btn1 -> called to show view 1
btn2 ->
called to show view 2

When the page is loaded it's showing view 1 as default.

If I click on btn2 when doing the postback will ddl1 bind to the ods1
even if it's not shown? Or only the item shown are binded?

Thanks,
Frank
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,058
Latest member
QQXCharlot

Latest Threads

Top