Guest User

Untitled

a guest
Oct 25th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.96 KB | None | 0 0
  1. <asp:ListView ID="ListView3" runat="server" DataSourceID="SqlDataShouts"
  2.             onselectedindexchanged="ListView3_SelectedIndexChanged">
  3.        
  4.        
  5.        
  6.        
  7.        <EmptyDataTemplate>
  8.            <table runat="server" style="">
  9.                <tr>
  10.                    <td>
  11.                        No data was returned.</td>
  12.                </tr>
  13.            </table>
  14.        </EmptyDataTemplate>
  15.        
  16.        
  17.        
  18.        <ItemTemplate>
  19.            
  20.            <tr>
  21.            <td rowspan="2">
  22.  
  23.                <asp:Image ID="DisplayAvatarShout" runat="server" AlternateText='<%# Eval ("UserName") %>' ImageUrl='<%# GetImageUrl( Eval("Avatar"))%>' width="50px" Height="50px" ImageAlign="NotSet" />
  24.                
  25.                  
  26.                </td>
  27.                <td align="right">
  28.                    <asp:Label ID="Label1121212" runat="server" Text="Shout from" Font-Size="Smaller" Font-Italic="True" ForeColor="#666666"></asp:Label>
  29.                    <asp:Label ID="UserNameLabel222" runat="server" Text='<%# Eval ("UserName") %>' Font-Bold="True" Font-Size="Small" ForeColor="#666666" />
  30.                </td>
  31.                <td align="left">
  32.                    <asp:Label ID="Label2" runat="server" Text="at:" Font-Italic="True" Font-Size="Smaller" ForeColor="#666666"></asp:Label>
  33.                    <asp:Label ID="Date_shoutLabel" runat="server"
  34.                        Text='<%# Eval ("Date_shout") %>' Font-Size="Smaller" Font-Italic="True" ForeColor="#666666" />
  35.                </td>
  36.  
  37.  
  38.  
  39.                </tr>
  40.                <tr>
  41.                
  42.                <td colspan="2" >
  43.                    <asp:Label ID="Body_shoutLabel" runat="server"
  44.                        Text='<%# Eval("Body_shout") %>' />
  45.  
  46.                        <br />
  47.                        <br />
  48.                        <hr />
  49.                </td>
  50.                
  51.                
  52.            </tr>
  53.            
  54.        </ItemTemplate>
  55.        <LayoutTemplate>
  56.            <table runat="server" >
  57.                <tr runat="server">
  58.                    <td runat="server">
  59.                        <table ID="itemPlaceholderContainer" runat="server" border="0" class="tbLVShouts">
  60.                            
  61.                            <tr ID="itemPlaceholder" runat="server">
  62.                            </tr>
  63.                        </table>
  64.                    </td>
  65.                </tr>
  66.                <tr runat="server">
  67.                    <td runat="server" style="">
  68.                        <asp:DataPager ID="DataPager1" runat="server">
  69.                            <Fields>
  70.                                <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True"
  71.                                    ShowLastPageButton="True" />
  72.                            </Fields>
  73.                        </asp:DataPager>
  74.                    </td>
  75.                </tr>
  76.            </table>
  77.        </LayoutTemplate>
  78.        
  79.        
  80.        
  81.     </asp:ListView>
Add Comment
Please, Sign In to add comment