469,329 Members | 1,326 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,329 developers. It's quick & easy.

how can i insert <br> between the items in the checkList ?

hi.

i have a checklist that is his items are created dynamcily.

the question is, how can i write "<br"> after the 4 item for example.

and in general,how can i write html code between each item.

hope im clear.

have a nice day.

chkListGeneralSearching.RepeatDirection = RepeatDirection.Horizontal

For Each dr In dsUserGeneralSearching.Tables(0).Rows

chkListGeneralSearching.Items.Add(New ListItem(CStr(dr("sf_sName")),
CStr(dr("sf_nID"))))

Next
Nov 19 '05 #1
2 1227
Roni,

Use the DataBound Event to customize the CheckBoxList

HTHs

Daniel

"roni" <xs*******@hotmail.com> schrieb im Newsbeitrag
news:db**********@news2.netvision.net.il...
hi.

i have a checklist that is his items are created dynamcily.

the question is, how can i write "<br"> after the 4 item for example.

and in general,how can i write html code between each item.

hope im clear.

have a nice day.

chkListGeneralSearching.RepeatDirection = RepeatDirection.Horizontal

For Each dr In dsUserGeneralSearching.Tables(0).Rows

chkListGeneralSearching.Items.Add(New ListItem(CStr(dr("sf_sName")),
CStr(dr("sf_nID"))))

Next

Nov 19 '05 #2
In general, if you would like a checklist to have a customized look, you
would use separate checkboxes in a table or repeater.

Eliyahu

"roni" <xs*******@hotmail.com> wrote in message
news:db**********@news2.netvision.net.il...
hi.

i have a checklist that is his items are created dynamcily.

the question is, how can i write "<br"> after the 4 item for example.

and in general,how can i write html code between each item.

hope im clear.

have a nice day.

chkListGeneralSearching.RepeatDirection = RepeatDirection.Horizontal

For Each dr In dsUserGeneralSearching.Tables(0).Rows

chkListGeneralSearching.Items.Add(New ListItem(CStr(dr("sf_sName")),
CStr(dr("sf_nID"))))

Next

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by Haines Brown | last post: by
7 posts views Thread by noor.rahman | last post: by
7 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.