单击网格视图按钮如何打开新窗口? [英] How to open the new window on click of grid-view button?

查看:72
本文介绍了单击网格视图按钮如何打开新窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们.

我想在网格视图中单击链接按钮打开新窗口,以便可以显示pdf文件.

我在gridview中添加了按钮,如果单击,我想打开一个新窗口以显示特定的pdf文件.

Hi friends.

i want open the new window on click of link button in grid view , so that i can display pdf file.

i added button in gridview and if i click i want open new window for displaying the particular pdf file.

looking forward.

推荐答案

在客户端上单击该链接按钮,您可以使用它..
onclient click of that link button you can use this..
onclientclick="window.open(URL,name,specs,replace);"


喜欢..


like..

window.open ("newwindow.aspx","mywindow","width=350,height=250");


Response.Write("<script>javascript:window.open('EDITDETAILS.aspx?EmpID=" + lblempid.Text + "'););


已解决的线程

从GridView链接中打开PDF [
Here a solved thread

Open PDF from GridView Link[^]


这篇关于单击网格视图按钮如何打开新窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆