TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mirchiz mirchiz
NA
4
0
Unable to open excel file on click of link buttons
Mar 1 2013 2:23 AM
I am using a checkboxlist control in my application. Each Item of checkbox list should be displayed as linkbutton. On click of this linkbuttons it should open a excel file from a folder in my application. I have generated the linkbuttons of checkboxlist dynamically through the code
checkboxlist1.Items[i].Text =
" <a href= '"
+
checkboxlist1.Items[i].Value
+
"' target='_blank'>"
+ checkboxlist1.Items[i].Text +
"</a>"
;
checkboxlist1.Items[i].Value will be containing the path of excel file.
But on clicking the link button the excel file is not getting opened.
Can anyone help me how to open a excel file on click of link button.
Thanks in Advance...
Reply
Answers (
0
)
How to resdirect from aspx page to asp
getting error while applying css to the master file and aspx