Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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..)

Sun Certified Web component Developer,

Microsoft Certified Solution Developer .NET,

Software Engineer

  • *Experts*
Posted

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.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...