Dear Experts, I am new to asp.net c# but proficient in c++. In asp.net c# i have to open a new page in new tab with pdf file on gridview1 column click event.

so give me guidelines to do this.
Thanks and regards,

Pardeep

Recommended Answers

All 2 Replies

You can show the PDF file in a "iframe" and by opening a new window. The "source" of the iframe should the path of the "PDF" file.
If you are using "window.open" then a new window will popup. There is no way you can open the file in a Tab dynamically.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.