goodmorningsky Posted December 28, 2003 Posted December 28, 2003 I put TabControl on a Form, put checkListBox in one TabPane. But, whenever I switch tab panes, the checked item are cleared!. How can I keep the checked item? Currently I keep it programmitically (when tab is switched I save checked item and populate it back when the tab including checklistbox.. but, I don't think this is the way... CheckListBox must keep its status.. as I think..) Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
*Experts* Bucky Posted December 28, 2003 *Experts* Posted December 28, 2003 For me, the checks in the listbox are maintained when changing tab pages. Are you creating the CheckedListBox control dynamically on the tabpage, or are you re-populating it every time the page is selected? Either of these scenarios would be cause for the problem. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
patdenim Posted September 20, 2005 Posted September 20, 2005 http://www.codeproject.com/cs/combobox/fixedcheckedlistbox.asp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.