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

Data Transfer Java Script using Local Storage

  Page 1: index.html <!DOCTYPE html> <html> <head> <title> Page 1 </title> </head> <body> ...