trying to get data from user control - HELP!

G

Guest

Hi guys

Ok, Ive got a user control on my page, and basically all I wanna do is for
the page to grab one of the public variables.

The control is referenced as so in the .aspx file...

at the top...

<%@ Register TagPrefix="rolo" TagName="dartsUC_rolodexsearch"
src="dartsUC_rolodexsearch.ascx" %>

then in the html...

<rolo:dartsUC_rolodexsearch id="dartsUC_rolodexsearch1"
runat="server"></rolo:dartsUC_rolodexsearch>

then in the codebehind....

protected dartsUC_rolodexsearch roloSearch;

however I try that line in code-behind, it tells me that type or namespace
"dartsUC_rolodexsearch" could not be found.

What am I doing wrong?!!

Cheers


Dan
 

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

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,145
Latest member
web3PRAgeency
Top