468,736 Members | 1,832 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,736 developers. It's quick & easy.

Linking custom property to standard dialog box

Hi all

I've got a custom control that has several image based properties

I wan't each of these properties to use the standard .Net dialog box for selecting a URL that appears when setting the src property in various standard ASP.NET controls

Is there anyway for me to link my custom property into this standard dialog box

Thanks for any advice

Eldon
Nov 18 '05 #1
1 1341
one
Quoting from http://msdn.microsoft.com/msdnmag/is...2/CuttingEdge/ (read this articule if you really want to get into it

"The way in which properties appear in the Properties window depends on the attributes declaratively assigned to the properties in the control's source code. In particular, the Browsable attribute determines whether or not a control is displayed. The most commonly used attributes are listed in Figure 7. The following attributes give the property a description and bind it to the Appearance category of the Properties window. The Browsable attribute is not strictly necessary as all properties with get/set accessors show up by default. Use the Browsable(false) attribute only to prevent a property from being displayed.

ht

----- Eldon Ferran de Pol wrote: ----

Hi all

I've got a custom control that has several image based properties

I wan't each of these properties to use the standard .Net dialog box for selecting a URL that appears when setting the src property in various standard ASP.NET controls

Is there anyway for me to link my custom property into this standard dialog box

Thanks for any advice

Eldon
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Rikkert | last post: by
2 posts views Thread by Dennis C. Drumm | last post: by
1 post views Thread by Eldon Ferran de Pol | last post: by
2 posts views Thread by J-Rod | last post: by
1 post views Thread by Gene | last post: by
1 post views Thread by rn5a | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.