Data Selector Control - Select all by default
Is there a way that all data can be selected by default when using Data Selector Control? In the preview dialog, I want all data to be selected (right window) automatically, but remain selectable to be moved back to the available (left) window if required.
Thanks
This discussion has been closed.
Comments
Hello!
To resolve your issue, check all items programmematically in the Load event handler for your DialogPage:
private void Form1_Load(object sender, EventArgs e) { for (int i = 0; i < CheckedListBox1.Items.Count; i++) CheckedListBox1.SetItemChecked(i, true); }I have included an example below.