Home All Groups Group Topic Archive Search About

Re: ImageUrlEditor - why can't i find it?

Author
1 May 2009 1:57 PM
dan
Maybe because you are too busy cross-posting?

Show quoteHide quote
"SilentCry" <silentc***@sbcglobalX.net> wrote in message
news:uD6kLMmyJHA.1492@TK2MSFTNGP04.phx.gbl...
>i have this attribute assigned to the default property of my custom
>control..
>
>        [UrlProperty("*.xml"),
> EditorAttribute(typeof(ImageUrlEditor),typeof(UITypeEditor))]
>
> got a compile error on ImageUrlEditor saying i may be missing a reference.
> when i go into help, the documentation says ImageUrlEditor is part of the
> System.Web.UI.Design namespace. i add that in a using stmt but now the
> namespace isn't found either. ok, fine i'm missing a reference/dll. i go
> into the object browser and do a search on System.Web.UI.Design where i
> find it in System.Web.Extensions.Design.dll. i then add that guy as a
> reference but i'm still getting errors on ImageUrlEditor (and
> UITypeEditor). what's going on here? i got everything i need included
> either as a reference or a using but still getting the errors.
>
> i'm using VS 2008 and have the 3.5 framework.