Sorry for the delay in replying:
I have heard that you can use this method to pass the parameter:
<%@Register tagprefix="CodeLib" Tagname="usrMain" src="usrMain.ascx" %>
<CodeLib:usrMain bodyData="usrText.ascx" linksPage="NoLinks"
requireSecure="False" runat="server" ID="usrMain"/>
But the problem is that I cannot seem to extract the data on the ASCX page
Thanks Ben
"Shaul Feldman" <sf******@writeme.com> wrote in message
news:e$****************@tk2msftngp13.phx.gbl...
For this purpose I used to create properties (in user control). This way
you can also pass parameters from aspx file (html).
You can access Session to retrieve values. There're plenty of ways. In
case you need some code, I'll try to post.
--
With the best wishes,
Shaul Feldman
"Ben" <Be*@nospam.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl... Hi
I am using a User Control which is referenced by an ASPX page.
How can I pass a string parameter to the user control, from the base
ASPX page.
Thanks
Ben