<asp:GridView ID="gvInbox" runat="server" Width="100%" AutoGenerateColumns="False" onselectedindexchanged="gvInbox_SelectedIndexChanged" onrowcommand="gvInbox_RowCommand" onrowdatabound="gvInbox_RowDataBound" AllowPaging="True" PageSize="20" onpageindexchanging="gvInbox_PageIndexChanging" ShowFooter="True"> <PagerSettings position="Bottom" pagebuttoncount="20" Mode="NextPrevious" NextPageText="Next" PreviousPageText="Previ...."/> <pagerstyle backcolor="LightBlue" height="30px" verticalalign="Bottom" CssClass="cssPager" horizontalalign="Center"/> <FooterStyle HorizontalAlign="Center" Height="25px" VerticalAlign="Bottom" BackColor="ActiveBorder" /> <AlternatingRowStyle BackColor="#F6F6F6" /> <Columns> <asp:TemplateField> <ItemTemplate> <asp:Panel ID="pnlMsg" runat="server" > <asp:ImageButton ID="ImageButton1" runat="server" ImageAlign="Left" ImageUrl='<%# Eval("BodyImageUrl").ToString() %>' CssClass="ClsImg" Visible="false" CommandName="EnlImg" CommandArgument='<%# Eval("BodyImageUrl").ToString() %>' /> <video id="Video" width='300' height='200' controls> <source src="" type="video/mp4"/> <p>Fallback code if video isn't supported</p>/ </video> </asp:Panel> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>
src="<%# Eval("videosource") %>"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)