FrameView child controls can't be used as DataSource Object parameters?

  • Thread starter namewitheldbyrequest
  • Start date
N

namewitheldbyrequest

I have a FrameView control on a form. In the FrameView is a
DropDownList that has as its datasource an ObjectDataSource object. The
ObjectDataSource is not in the FrameView because I get an error when I
try to edit the page source to put it in. The ObjectDataSource has a
parameter that is mapped to another control that is in the FarmeView.
The page crashes at run time because the control mapped to the
parameter can't be found by the server. Since the control is in the
Edit Template of the FormView object, evidently it's not visible at run
time.

In short, what ideas does anyone have to use an ObjectDataSource with a
parameter when the parameter is a control in a FormView object? There
are other ways to configure the parameter with the wizard, such as
cookies, session variables, etc. This parameter is dynamic because it's
the SelectedValue of another DropDownList in the FormView object.

Thanks,

Bill
Cincinnati,OH USA
 

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,755
Messages
2,569,538
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top