Hi Ron,
I apologize for it if there is any misunderstanding.
As I understand, what you want is getting the content of the placeholder.
Please refer to the following code snippet.
...
private void Button2_Click(object sender, System.EventArgs e)
{
foreach(Control b in PlaceHolder1.Controls)
{
if(b.GetType().ToString() =="System.Web.UI.WebControls.TextBox")
{
PlaceHolder2.Controls.Add ( b );
((TextBox)(b)).Attributes.Add("style",@"Z-INDEX: 103; LEFT: 116px;
POSITION: absolute; TOP: 128px");
}
}
}
...
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.