Web User Control Problem

U

Uriah Piddle

Hi Gang,

I have two web forms that contain the same custom web user control. In the
user control is the drop down list box: 'ddlDownloadCategories'. When I load
one web form all is well but when I load another I get this error:

System.InvalidOperationException: Could not find control
'ddlDownloadCategories' in ControlParameter 'downloadCategoryID'.

'downloadCategoryID' is an ObjectDataSource parameter. The code in both of
the web forms is the same and, of course, the code in the user control is
the same. The query strings are the same. I can't figure this one out.

Thanks for any ideas.

Steve
 

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,070
Latest member
BiogenixGummies

Latest Threads

Top