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

Cookies login

  Match login id and password using cookies under 1 minutes if user not input valid I'd pass in 1 min then cookies expired and go to hom...