Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add new project in the solution?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316637
Message ID:
01316675
Views:
17
>>
>>I have a problem. The Down and Up arrows images look like simple properties and don't allow me to Browse for the images as, for instance, other native image properties allow. What should I do to make them "Browsable" ?
>>
>
>It's not required - you can edit the code directly via an attribute in the ASPX file for that control. But if you really want to add it, it's done via attributes.
>
>Add an attribute something like this to the property:
>
>
>[Category("Appearance")]
>[Browsable(true)]
>[Bindable(false)]
>[DefaultValue("")]
>[PersistenceMode(PersistenceMode.Attribute)]
>[Editor("System.Web.UI.Design.ImageUrlEditor", "System.Drawing.Design.UITypeEditor")]
>public string PropertyNameHere
>{
>   get {} // Whatever
>   set {}
>}
>
Yes, that's exactly what I'm reading on righ-now from
http://www.c-sharpcorner.com/UploadFile/scottlysle/CC_Visio01142007140634PM/CC_Visio.aspx

[Editor(typeof(System.Web.UI.Design.UrlEditor)

I'm going to try that, strange that Scott didn't add it in his class - seems like an obvious requirement.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform