Controls:
22.12 Why do I get the error message "Access is denied : <myctrl>" when I try to load a Custom Control? This is a common problem in ASP.NET. It happens because some program is scanning the Temporary ASP.NET files folders where your assemblies are copied. They have the files open in a mode that prevents ASP.NET itself from using the assembly file. For solution refer PRB: Access Denied Error When You Make Code Modifications with Index Services Running 22.13 How to pass information between panels. Information entered in one panel should be displayed in other panel?
On Button Click VB.NET
Panel2.Visible =true Label1.Text = TextBox1.Text
C#
Panel2.Visible =true; Label1.Text = TextBox1.Text ;
Note: Based on the criteria you can hide and show panels 22.14 Why do I get error message "The control '_ctl1' of type 'TextBox' must be inside a form label with runat=server" while trying to place a control inside a form dynamically? You are probably adding the textbox into the Page directly instead of adding it to the Page's form. Try doing this: VB.NET