15,920,633 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by santosh_131 (Top 7 by date)
santosh_131
26-Apr-17 10:53am
View
Are using any 3rd party generating excel file? it might have some Save or SaveAs function which might have one of the parameters as filepath
santosh_131
26-Apr-17 10:45am
View
try the above script and see
santosh_131
5-Mar-15 14:52pm
View
this might help you
http://www.codeproject.com/Articles/44274/Transpose-a-DataTable-using-C
santosh_131
5-Mar-15 14:47pm
View
Does table name for the datatable and in the report schema(in Field Explorer -under DatabaseFields) match?? it some times happens to me if they do not match. And also the fields layed out in the report should exist in the datatable retrieved from database.
santosh_131
25-Feb-15 10:17am
View
btnDownload is inside the gridview so you have to register it in the row databound event
santosh_131
6-Nov-13 12:19pm
View
i dont know why you are getting the value as undefined. itried the same markup and it works.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm6.aspx.cs" Inherits="Dummy.WebForm6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="JS/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#file').change(function () {
var value = $(this).attr('value');
alert(value);
});
});
</script>
</head>
<body>
<form id="form1" runat="server" action="#" method="post" enctype="multipart/form-data">
<div>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<input type="file" id="file"/>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
santosh_131
3-Jul-13 15:04pm
View
did you check rptDoc.ExportToHttpResponse,try the following
rptDoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, this.Page.Response, true, fileName);
Show More