I see, you have to use the 'Add Reference' dialog to add the assembly that has the class you want, documentation for the standard web controls say they are in assembly System.Web. For example for the TextBox class you can see this:
Quote:
|
Originally Posted by help
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
|
When you have added the reference you can use the class, either import the namespace or qualify the type like this:
Code:
Me.PropertyGrid1.SelectedObject = New System.Web.UI.WebControls.TextBox