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,