Hi Andy,
I am sorry if there is any misunderstandin g but we are able to access the
property of the User Control (ascx) from the code behind file. Pleaes refer
to the following code snippet.
...
public class WebForm1 : System.Web.UI.P age
{
protected Footer Footer1;
protected System.Web.UI.W ebControls.Hype rLink HyperLink1;
public string href = "abcd";
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
Footer1.testStr ing = href;
}
...
Footer1 is a User Control.
Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.
Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.