locked
File Path Picker RRS feed

  • Question

  • User-131059102 posted

    I have created a custom control... the control has several properties that the user sets by putting in the path to a file.

    I'm wondering if its possible to get the select item from server screen like you get on a standard asp.net image control?

    Thanks

    Friday, September 23, 2011 6:44 PM

Answers

  • User-131059102 posted

    Go it... 

        [UrlProperty("*.jpg;*.jpeg;*.png;*.gif")]
    [EditorAttribute(typeof(System.Web.UI.Design.ImageUrlEditor), typeof(System.Drawing.Design.UITypeEditor))]
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, September 24, 2011 5:27 PM