HighTechTalks DotNet Forums  

How to use a parameter from a FrameView in a DataSource that's not

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss How to use a parameter from a FrameView in a DataSource that's not in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
namewitheldbyrequest@gmail.com
 
Posts: n/a

Default How to use a parameter from a FrameView in a DataSource that's not - 09-23-2006 , 05:39 PM






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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.