Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hook for binding mmcheckboxlist multi-select
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01097184
Message ID:
01097590
Vues:
16
I still can get this to work - can anyone help??

Here's something simple that I tried. I put code in the BindData of the mmcheckedlistbox control on the form:

private void cklListType_BindData(OakLeaf.MM.Main.Windows.Forms.ImmBinding control, OakLeaf.MM.Main.Windows.Forms.mmBindDataEventArgs e)
{
cklListType.SetItemChecked(1,true);
cklListType.SetItemChecked(2,true);
}

The code executes, but the checkboxes are not checked.

>Hi,
>
>I can bind the mmcheckboxlist (fills in the items and values), but I'm trying to mark the checked items based on the contents of a datatable.
>
>Is there a hook or event that I could use to mark the checked items?
>
>At first glance, I would assume that I would use the HookParentRetrieved, but that is in the business layer.
>
>Any ideas?
>
>
>Thanks,
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform