2-column list with break on change in value

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UGF1bCBT?=

    2-column list with break on change in value

    Hi

    I want to create a list as shown here



    It's a 2-column list with item's sorted on a date value. When the data value
    for the items break a header showing the new date is displayed.

    How can I accomplish that ?

    Is it possible add formatting to a row in the 2.column list ?


    Thanks
    Paul S
  • tian

    #2
    Re: 2-column list with break on change in value

    Add a Repeater in your form.
    User a AlternatingItem Template.
    <Repeater>
    <AlternatingIte mTemplate>
    <%#Eval("postti me")%>
    </AlternatingItem Template>

    <AlternatingIte mTemplate>
    <% GetTodayAlbum() ;%>
    </AlternatingItem Template>
    </Repeater>

    posttime is an item in your data table and GetTodayAlbum() is a user-defined
    function which can Write all information about the album today.That's not
    easy.

    A 2-column list is easy,you can use a Repeater, AlternatingItem Template can
    fullfill this task.But can't print a datetime like the page given by you.

    More about Repeater

    "Paul S" <pas@community. nospam写入消 息
    news:93315977-03E5-41B9-AEE4-F4058B945E7D@mi crosoft.com...
    Hi
    >
    I want to create a list as shown here
    >

    >
    It's a 2-column list with item's sorted on a date value. When the data
    value
    for the items break a header showing the new date is displayed.
    >
    How can I accomplish that ?
    >
    Is it possible add formatting to a row in the 2.column list ?
    >
    >
    Thanks
    Paul S

    Comment

    Working...