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