Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add new project in the solution?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01316637
Message ID:
01316675
Vues:
19
>>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform