G
Gerald
Hi,
I have got a page called page1.aspx and the code-behind file.
In that page1.aspx. I declare a web control ctrl1.ascx and the code-behind
for that web control.
Page and web control are both working ok.
Now I declare a public string variable called "sMessage" in the
"page1.aspx.cs" codebehind file.
How can I access it from the control codebehind file (ctrl1.ascx.cs) ?
So in the control codebehind file, I want to check that page value.
But I did not manage to get it. What would be the syntax to access it?
Thanks a lot
Gerald
I have got a page called page1.aspx and the code-behind file.
In that page1.aspx. I declare a web control ctrl1.ascx and the code-behind
for that web control.
Page and web control are both working ok.
Now I declare a public string variable called "sMessage" in the
"page1.aspx.cs" codebehind file.
How can I access it from the control codebehind file (ctrl1.ascx.cs) ?
So in the control codebehind file, I want to check that page value.
But I did not manage to get it. What would be the syntax to access it?
Thanks a lot
Gerald