asp.net - How to get a c# user control property to browse for a URL at design time? -


some asp.net controls have properties allow browse url so: browse url
how do that? property far:

[category("video attributes")] [editor("system.web.ui.design.urleditor", typeof(system.drawing.design.uitypeeditor))] public uri videolocation {     { return _vidlocation; }     set { _vidlocation = value; } } 

i can see , edit property , if type url myself, works. sure make life easier if browse url. better still if default specific folder.

thanks in advance help!

i figured out. going wrap question example code

private string _tutorialfile = ""; 

...

[category("linked files")] [urlproperty(), editor(typeof(system.web.ui.design.urleditor),      typeof(system.drawing.design.uitypeeditor))] public string tutorialfile { get; set; } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -