Thursday, November 1, 2018

Gridview Image Link


 <asp:TemplateField HeaderText="View Certificate" >
                        <ItemTemplate>
                            <a onclick="javascript:window.open('<%# String.Format("/portal/upload/{0}",Eval("certificate")) %>','PORTAL','left=20,top=20,width=500,height=500,toolbar=0,reizable=0');" target="_blank">
                                Show
                            </a>
                        </ItemTemplate>

                    </asp:TemplateField>

No comments:

Post a Comment

ADVANCE 2025

 HTML TABLE SCROLL BAR  <style>      .table-container {             width: 100%;             overflow-x: auto; /* Enables horizontal s...