Replacing the Old File With Newly Uploaded File
-
Hello one and all, I am having small requirement. I am having some data stored in SQL DB. I am displaying that data in a grid view as follows Id Name Filename 1 Dorababu dora.doc 2 Khan khan.pdf 3 XYZ XYZ.jpg all these filenames are displayed in link button inside grid view. What i need is when i click on particular name like .oc or .pdf or .jpg i would like to get the following thing as Open Save Cancel as we get when we are downloading an attachment from mail. Can an one give me the code for my requirement please. Thanks in Advance, M.Dorababu
-
Hello one and all, I am having small requirement. I am having some data stored in SQL DB. I am displaying that data in a grid view as follows Id Name Filename 1 Dorababu dora.doc 2 Khan khan.pdf 3 XYZ XYZ.jpg all these filenames are displayed in link button inside grid view. What i need is when i click on particular name like .oc or .pdf or .jpg i would like to get the following thing as Open Save Cancel as we get when we are downloading an attachment from mail. Can an one give me the code for my requirement please. Thanks in Advance, M.Dorababu
Use filename in simple
href
tag. :)cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
Use filename in simple
href
tag. :)cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
Can you tell what to do actually my code is like this <ItemTemplate> <asp:LinkButton ID="Link1" runat="server" Text='<%# Bind("filename") %>' ></asp:LinkButton> </ItemTemplate> So can you tell what to do here
-
Can you tell what to do actually my code is like this <ItemTemplate> <asp:LinkButton ID="Link1" runat="server" Text='<%# Bind("filename") %>' ></asp:LinkButton> </ItemTemplate> So can you tell what to do here
use a hyperlink instead of linkbutton and give the path of the file in its NavigateURL attribute.
Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com