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:
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
Post a Comment