Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Controls: Property attributes & design time visible controls

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
I have a property called CalendarURL on my control as below:

public virtual string CalendarURL
{
get { return m_URL; }
set { m_URL = value; }
}

Now at design time I want the User to be able to set this property by clicking on a button in the properties tab and selecting the required URL. (As you would when selecting URL for hyperlink control) Any ideas?

I also have a hidden field that I don't want the User to be able to see when they drag the control onto their form. How would I go about making this invisble?

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top