I have a gridview which looks like
ID Filename Type
-----------------------------------------------------
Share view 1 Tiger .doc
share view 2 Lion .xls
share view 3 dog .ppt
When I click on view, the document will be opened and we can edit it. I want the share link to perform some specific function. If I click on share, it should ask to enter the email, and send the respective document to the email written. Ex. If i click on share where the document is tiger, that document should be sent to the email written.
I found the solution.Here is a piece of code used.
In gridview, for share hyperlink i used:
In share.aspx page