view file using hyperlink in gridview

Posted by Alok under ASP.NET on 4/11/2011 | Points: 10 | Views : 3036 | Status : [Member] | Replies : 1
i have a hyperlink in template field of gridview,i want to open file when i click the hyperlink .using navigateurl property i want open file ,when the file is .text then it opens but when the file is .doc then it starts to download...why????

Thanks & Regards,
Alokssm



Responses

Posted by: Prabhakar on: 4/11/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Alok

it's a necessary process . . firstly *.doc and *xls file download . . then open

Best Regard's
Prabhakar

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response