Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmPicker
Message
De
13/05/2010 09:49:02
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
13/05/2010 07:50:42
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01464327
Message ID:
01464399
Vues:
39
>Hello. I have no code written for the picker. I'm following the "Jump Start" in the help file.
>
>DataCommand:Set to the stored procedure
>DataCommandFilterParamaterName: Set the the paramater in the stored procedure
>PickListDisplayMember: Set to the field I want to display
>PickListValueMember: set to the field I want to search
>
>As stated above; I have no code written. I've only set property values as shown in the help file.
>
>Thanks.

Hi Robert,

Sorry, I wasn't very clear about my question. The data you are retrieving is via a stored procedure so you can return values anyway you wish and maybe returning a search field of your PK as a string is an option. In addition to this, you can create your own custom picker control by inheriting from the mmPicker control and then just override the appropriate method or property to be able to add the .ToString() or int.parse() to your overridden method as needed. This shouldn't be too hard.

I am surprised the control doesn't allow you to set this either way but I haven't tried and typically a search using "Like" would not be an integer.

Sorry, I couldn't be more help. If you run into troubles sub-classing the control let me know and I will take a look at it to see what would be needed.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform