Click here to Skip to main content
15,898,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a HyperLinkEdit control with Text as "Media". When I click on it, it opens
C:\WINDOWS\Media in windows explorer.
When I changed Text to other than it like "MediaList" instead of "Media", it
works fine.
But I want Text to be "Media".
Could anyone help me out please?
Posted
Comments
manognya kota 4-Sep-12 2:36am    
could you post your code ?

1 solution

I guess you speak about the DeveloperExpress control "HyperLinkEdit". The solution for this is quite easy. Just set the caption property to "Media" so that it displays "Media" in the UI, but set the "Text" property to something like "MediaLink". If the caption property is empty, it uses the text property for displaying in the UI.
This is explained here:
http://documentation.devexpress.com/#WindowsForms/clsDevExpressXtraEditorsHyperLinkEdittopic[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900