Author: saquib1891 | Posted on: 1/22/2010 10:44:39 AM | Views : 301

Hello friend's, i creating a project site that includes a webuser control(productdetails.ascx) and a default page(default.aspx). i create Public Property in user control which i want to access in my default.aspx.vb page. but the usercontrol not shown in the intellisense. the code is:

Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel) Dim ctrl As Control = Page.LoadControl("ProductDetails.ascx") panel.ContentTemplateContainer.Controls.Add(ctrl) Dim details As ProductDetails = DirectCast(ctrl, ProductDetails) details.ProductID = elementID End Sub



the productdetails class not shown above. so pls helpme
...

Go to the complete details ...