Click here to Skip to main content
15,898,597 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Facebook connect Pin
Parwej Ahamad8-Jul-11 16:13
professionalParwej Ahamad8-Jul-11 16:13 
GeneralRe: Facebook connect Pin
benams8-Jul-11 16:23
benams8-Jul-11 16:23 
GeneralRe: Facebook connect Pin
Not Active9-Jul-11 3:25
mentorNot Active9-Jul-11 3:25 
GeneralRe: Facebook connect Pin
Parwej Ahamad9-Jul-11 3:32
professionalParwej Ahamad9-Jul-11 3:32 
AnswerRe: Facebook connect Pin
Not Active9-Jul-11 3:24
mentorNot Active9-Jul-11 3:24 
QuestionSerializing as Key Value pairs Pin
indian1438-Jul-11 10:21
indian1438-Jul-11 10:21 
AnswerRe: Serializing as Key Value pairs Pin
Matt U.8-Jul-11 11:51
Matt U.8-Jul-11 11:51 
QuestionProblem wirh Response.End() while exporting Datatable results to Excel file. Pin
madhubabu7-Jul-11 7:52
madhubabu7-Jul-11 7:52 
Hi,
I have a datatable from which i am exporting the results to Excel file.The exporting happens perfectly....But web page is not getting loaded completely.Its because of the Response.End();.It terminates the execution of the page further.
Because I have some other code after Response.End(); to get executed and needs to be displayed in the page.Is there a way to get the complete execution of the page.I am struck with this problem for while now..........Any help is appreciated.

DataTable dtMemberList = LinqToDatatable.LinqToDataTable(MembersList);
string attachment = "attachment; filename=Search.xls";
Response.ClearContent();
Response.AddHeader("content-disposition", attachment);
Response.ContentType = "application/vnd.ms-excel";
Response.Write("\n");
Response.Write("Search Results");
Response.Write("\n");
string tab = "";

Response.Write(tab + "Member ID");
tab = "\t";
Response.Write(tab + "Memberdoc Received Date");
tab = "\t";
Response.Write(tab + "Memberdoc Import Date");
tab = "\t";
Response.Write(tab + "Memberdoc Status");
tab = "\t";
Response.Write(tab + "Memberdoc Type");
Response.Write("\n");
int i;
foreach (DataRow dr in dtMemberList.Rows)
{
tab = "";
for (i = 0; i < dtMemberList.Columns.Count; i++)
{
Response.Write(tab + dr[i].ToString());
tab = "\t";
}
Response.Write("\n");
}
Response.End();
AnswerRe: Problem wirh Response.End() while exporting Datatable results to Excel file. Pin
Not Active7-Jul-11 8:52
mentorNot Active7-Jul-11 8:52 
QuestionTime Out. Pin
berba7-Jul-11 2:51
berba7-Jul-11 2:51 
AnswerRe: Time Out. Pin
#realJSOP7-Jul-11 7:45
professional#realJSOP7-Jul-11 7:45 
QuestionChange Precedence of Click and OnClientClick for <asp:Button.. Pin
Ravi Sant7-Jul-11 1:44
Ravi Sant7-Jul-11 1:44 
AnswerRe: Change Precedence of Click and OnClientClick for <asp:Button.. Pin
berba7-Jul-11 2:57
berba7-Jul-11 2:57 
Questionnull string returned for domain and username (Windows auth) Pin
anarayan7-Jul-11 0:43
anarayan7-Jul-11 0:43 
AnswerRe: null string returned for domain and username (Windows auth) Pin
Parwej Ahamad7-Jul-11 7:08
professionalParwej Ahamad7-Jul-11 7:08 
Questionurl rewrite Pin
Sneha Bisht6-Jul-11 23:54
Sneha Bisht6-Jul-11 23:54 
AnswerRe: url rewrite Pin
Dalek Dave7-Jul-11 3:04
professionalDalek Dave7-Jul-11 3:04 
AnswerRe: url rewrite Pin
Parwej Ahamad7-Jul-11 7:04
professionalParwej Ahamad7-Jul-11 7:04 
QuestionASP.NET Auto-logout Pin
Aaron Hartley6-Jul-11 11:26
Aaron Hartley6-Jul-11 11:26 
AnswerRe: ASP.NET Auto-logout Pin
Not Active6-Jul-11 12:12
mentorNot Active6-Jul-11 12:12 
JokeRe: ASP.NET Auto-logout Pin
AspDotNetDev6-Jul-11 12:25
protectorAspDotNetDev6-Jul-11 12:25 
GeneralRe: ASP.NET Auto-logout Pin
Not Active6-Jul-11 12:58
mentorNot Active6-Jul-11 12:58 
QuestionSave webpage content in a PDF Pin
berba6-Jul-11 3:20
berba6-Jul-11 3:20 
AnswerRe: Save webpage content in a PDF Pin
#realJSOP6-Jul-11 8:39
professional#realJSOP6-Jul-11 8:39 
AnswerRe: Save webpage content in a PDF Pin
AspDotNetDev6-Jul-11 13:13
protectorAspDotNetDev6-Jul-11 13:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.