CheckBoxListWithImage Control.
Author: John McGlothlin
Date: 11/2002
---------------------------------------------------
Basic attempt to implement IRepeatInfoUser.

IRepeatInfoUser interface(from the docs):
	"Defines the properties and methods that must be implemented by any
	"list control that repeats a list of items."
	
Basically, it allows the easy rendering of multiple items(I'm not going to be able to
explain it well, because I'm still figuring it out my-self). Check out the code.

-------------------------------------------------------
Compile the control and drop it on a Page. Then in Page_Load, add the Images:

CheckBoxListWithImage1.Items.Add(new ListItem("c:\\1.ico","0"));
CheckBoxListWithImage1.Items.Add(new ListItem("c:\\1.gif","1"));
CheckBoxListWithImage1.Items.Add(new ListItem("c:\\1.jpg","2"));

Change the Path and image name to whatever suits your needs. Tested with JPG,GIF and ICO.

** can also put Path\ImageName in the Item.Text collection at design-time.

Other properties:
	RepeatDirection Default = Vertical
	RepeatColumns Default = 0(Zero)
	RepeatLayout Default = Table
----------
On PostBack, loop thru it like a regular CheckBoxList

string s;
for(int i=0;i<CheckBoxListWithImage1.Items.Count; i++)
{
	if(CheckBoxListWithImage1.Items[i].Selected) 
		s = CheckBoxListWithImage1.Items[i].Value;
}

	

