|
-
May 15th, 2008, 11:07 AM
#1
Thread Starter
PowerPoster
[RESOLVED] Want GridView ImageButton to run Excel
This should be easy enough but it has me stumped.
The last column in my gridview contains a label and an imagebutton. The label has the description of a report and the imagebutton displays a gif depending on the extension of the report. xls displays Excel image, like so:
imgbtnDocDesc.ImageUrl = "../images/excel2.gif"
But when I click on the image I want to run Excel and load the file. Is there a property I can set to the filename, or is it something more complicated than that? All my googling of gridview and Excel is coming up with how to export your gridview to Excel and I am having a hard time combing through all my hits to find what I need.
Thanks.
-
May 15th, 2008, 11:21 AM
#2
Thread Starter
PowerPoster
Re: Want GridView ImageButton to run Excel
Oh, I think a Hyperlink will solve all my problems.
-
May 15th, 2008, 11:27 AM
#3
Thread Starter
PowerPoster
Re: Want GridView ImageButton to run Excel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|