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

Discussion in 'ASP .Net' started by roni, Jul 16, 2005.

  1. roni

    roni Guest

    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
     
    roni, Jul 16, 2005
    #1
    1. Advertising

  2. Roni,

    Use the DataBound Event to customize the CheckBoxList

    HTHs

    Daniel



    "roni" <> schrieb im Newsbeitrag
    news:dbb0k5$mf1$...
    > 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
    >
    >
     
    Daniel Walzenbach, Jul 16, 2005
    #2
    1. Advertising

  3. 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" <> wrote in message
    news:dbb0k5$mf1$...
    > 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
    >
    >
     
    Eliyahu Goldin, Jul 17, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sean

    Openmore checklist

    sean, Jan 7, 2004, in forum: VHDL
    Replies:
    2
    Views:
    936
  2. nidhi

    tix checklist

    nidhi, Jul 17, 2004, in forum: Python
    Replies:
    0
    Views:
    456
    nidhi
    Jul 17, 2004
  3. Andy
    Replies:
    2
    Views:
    495
    Travis Newbury
    Nov 7, 2009
  4. CNkid
    Replies:
    3
    Views:
    2,347
    Alexey Smirnov
    Jan 20, 2010
  5. Francis Glassborow
    Replies:
    3
    Views:
    459
    Gene Bushuyev
    Nov 25, 2010
Loading...

Share This Page