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:
01316674
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>
>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 {}
}
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform