kumar p

kumar p

  • NA
  • 14
  • 0

How to customize propertyGrid control to support Hyperlinks

Jun 21 2010 2:33 AM
Hi friends,

I have a Windows App developed in C# and .NET. I have a class which is having a property called WebsiteLink of String data type and this property will be displayed in a propertyGrid control. User can enter website URL and save it. After saving the details, the WebsiteLink property field in propertyGrid will be Read-Only. 

I have a requirement such that if user clicks on the website field which is Read-Only, it should open the link in Interner Explorer automatically. Im under the impression that PropertyGrid is capable enough to provide this behavior. If not, I may need to write UITypeEditor/custom PropertyEditor.

Please suggest in achieving this behavior. Thanks in advance.

Regards,
Kumar

Answers (1)