I m generating usercontroll programaticlly but it is not visible on the page,
can any body tell me where i m making mistake
code written in code behind file is below
thanks in advance
can any body tell me where i m making mistake
code written in code behind file is below
Code:
Private UCInvoiceDetail As ASP.InvoicingDetail
UCInvoiceDetail = CType(LoadControl("~/InvoicingDetail.ascx"), ASP.InvoicingDetail)
UCInvoiceDetail.ID = "UC3"
UCPlaceHolder.Controls.Add(UCInvoiceDetail)
Comment