ImageUrlEditor - why can't i find it?

  • Thread starter Thread starter SilentCry
  • Start date Start date
S

SilentCry

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.
 
so i guess you don't know the answer then eh? maybe you're too busy being a
jerk. in case you didn't notice, i refered to both namespaces and references
in the question - both of which are related to asp.net specifically. and
btw, you're reply went to all 3 ng's as well.

dan said:
Replied in microsoft.public.dotnet.framework.aspnet

SilentCry said:
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.
 
Back
Top