Results 1 to 4 of 4

Thread: Datalist design

  1. #1

    Thread Starter
    Member
    Join Date
    May 2010
    Posts
    32

    Question Datalist design

    the layout of my datalist is:
    Name:  1.jpg
Views: 280
Size:  40.4 KB

    and this is how I have it on. aspx

    HTML Code:
    <asp:DataList id="DataListBookAuthors" runat="server" OnItemDataBound="DataListBookAuthors_ItemDataBound" CellPadding="5" RepeatColumns="4" RepeatDirection="Horizontal" ShowHeader="False" EnableViewState="False" Width="100%">      
                <FooterStyle HorizontalAlign="Center" />
                <AlternatingItemStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                    <%#DataBinder.Eval(Container.DataItem, "FirstName")%><br />
                    <%#DataBinder.Eval(Container.DataItem, "LastName")%>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:ImageButton ID="btFirst" ToolTip="First" runat="server" ImageUrl="~/images/first-on.gif" OnClick="btFirst_Click" />&nbsp;
                    <asp:ImageButton ID="btPrevious" ToolTip="Previous" runat="server" ImageUrl="~/images/pre-on.gif" OnClick="btPrevious_Click" />&nbsp;
                    <asp:literal runat="server" ID="PaginationLiteral"></asp:literal>&nbsp;
                    <asp:ImageButton ID="btNext" ToolTip="Next" runat="server" ImageUrl="~/images/next-on.gif" OnClick="btNext_Click" />&nbsp;
                    <asp:ImageButton ID="btLast" ToolTip="Last" runat="server" ImageUrl="~/images/last-on.gif" OnClick="btLast_Click" />     
                </FooterTemplate>
            </asp:DataList>
    my question is how I can make a design as shown in the second image in a datalist? Is it possible? How do you would do? Any suggestions?
    Name:  2.jpg
Views: 227
Size:  37.6 KB

  2. #2
    Fanatic Member Flashbond's Avatar
    Join Date
    Jan 2013
    Location
    Istanbul
    Posts
    646

    Re: Datalist design

    Once I've seen a numeric up and down box embeded into datagrid cell. Maybe it is possible for a picturebox, too...
    God, are you punishing me because my hair is better than yours? -Jack Donaghy

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: Datalist design

    Thread moved to the 'ASP.Net' forum, which is where questions about .Net web pages etc belong

  4. #4
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Datalist design

    Hello,

    Just to confirm what I am seeing...

    You want your company logo to appear above the DataList, obscuring some of the data that is being rendered underneath it.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width