Hi All,
this.Page.FindControl("pnlExternalForm").Visible = true;//code in .ascx
I am working on a case which is copying the example
Grid / Editing with external form
In which the grid is in a user control (ascx) and the external form is in the hosting page(aspx). However my .aspx is using masterpage.
I got reference error when try to access controls in the hosting page from the .ascx like:
pnlExternalForm is in the hosting .aspx page
The codes works fine if I put them into a case without masterpage.
I think the code is right, but just not work
Any idea?
TIA
Jerry