B
Brent Pranger
I have developed a WebControl that has a "MyUrl" member property. I have
added the UrlPropertyAttribute attribute to the specific MyUrl member. Now,
when I edit the new element in the aspx page (Source view), the IDE (vs.net
2005 beta 1) intellisense will give me a "Pick Url..." option. However,
when I go to Design view and right-click, properties, the property does not
have the "..." button (in the property grid - for picking a URL) that I
would expect. Any ideas?
[UrlProperty()]
public String MyUrl {
get {
return (String)ViewState["MyUrl"];
}
set {
ViewState["MyUrl"] = value;
}
}
Thanks,
Brent
added the UrlPropertyAttribute attribute to the specific MyUrl member. Now,
when I edit the new element in the aspx page (Source view), the IDE (vs.net
2005 beta 1) intellisense will give me a "Pick Url..." option. However,
when I go to Design view and right-click, properties, the property does not
have the "..." button (in the property grid - for picking a URL) that I
would expect. Any ideas?
[UrlProperty()]
public String MyUrl {
get {
return (String)ViewState["MyUrl"];
}
set {
ViewState["MyUrl"] = value;
}
}
Thanks,
Brent