Click here to Skip to main content
15,885,309 members
Articles / Web Development / ASP.NET
Article

CheckedListBox - on Tab Control - Selection Disappears - Solution

Rate me:
Please Sign up or sign in to vote.
2.43/5 (5 votes)
6 Mar 2006 26.5K   13  
Checked List Boxes placed on Tab Pages, while toggling between tabs, the checked list box items are turned into unchecked items.

Introduction

This article provides an alternate solution to the bug found in the Microsoft Article for checked list box http://support.microsoft.com/default.aspx?scid=kb;en-us;833033.

Solution:

Step 1: Please add the checked list box control to a new user control.

Step 2: Move the checked list box to the 0,0 position of the user control

Step 3: Make the size of the checked list box to the size of the user control

Step 4: Make the anchor property of the checked list box to all the four sides

Step 5: Save the user control and use it in your forms instead of directly adding the check list box.

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Hi I am Chandru with 12 yrs of software development experience. Good to be with you great people.

Comments and Discussions

 
-- There are no messages in this forum --