Click here to Skip to main content
16,006,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproblem related to implementing master detail relationship in a datagrid in asp.net2.0 [modified] Pin
MissionSuccess9-Jun-06 2:03
MissionSuccess9-Jun-06 2:03 
QuestionProduct Ranking Pin
Abubakarsb9-Jun-06 1:31
Abubakarsb9-Jun-06 1:31 
AnswerRe: Product Ranking Pin
D.NetDeveloper9-Jun-06 5:07
D.NetDeveloper9-Jun-06 5:07 
GeneralRe: Product Ranking Pin
Abubakarsb9-Jun-06 20:56
Abubakarsb9-Jun-06 20:56 
QuestionQUERY: 'On Error Resume Next' scope rules Pin
dhruba.bandopadhyay9-Jun-06 1:28
dhruba.bandopadhyay9-Jun-06 1:28 
AnswerRe: QUERY: 'On Error Resume Next' scope rules Pin
J4amieC9-Jun-06 3:50
J4amieC9-Jun-06 3:50 
AnswerRe: QUERY: 'On Error Resume Next' scope rules Pin
Chris Maunder10-Jun-06 2:33
cofounderChris Maunder10-Jun-06 2:33 
QuestionCannot redirect after HTTP headers have been sent Pin
Suj_789-Jun-06 1:14
Suj_789-Jun-06 1:14 
Hi!
My reporting service is running slow and hence I want to print a message 'Generating report please wait......' by using the java script below:
// Write div tag to the page that will contain the text for the progress bar.
Response.Write("
");
Response.Write("_");
Response.Write("
");
Response.Write("mydiv.innerText = '';");

// Javascript to do the work of the progress bar.
// There are three functions.
// 1. ShowWait: Sets text of the div tag to "Loading" followed by 10 periods ".........."
// 2. StartShowWait: Calls the ShowWait function every second and make the div tag visible.
// 3. HideWait: Hides the div tag when the page is done loading. It is called from a script block
// that you need to add to the HTML page as the last element.
Response.Write(";");
Response.Write("var dots = 0;var dotmax = 20;function ShowWait()");
Response.Write("{var output; output = 'Generating report please wait';dots++;if(dots>=dotmax)dots=1;");
Response.Write("for(var x = 0;x < dots;x++){output += '.';}mydiv.innerText = output;}");
Response.Write("function StartShowWait(){mydiv.style.visibility = 'visible'; window.setInterval('ShowWait()',1000);}");
Response.Write("function HideWait(){mydiv.style.visibility = 'hidden';window.clearInterval();}");
Response.Write("StartShowWait();");
Response.Buffer = true;
Response.Flush();
Then I am doing response.redirect and I get an error message as mentioned in the subject, can anyone help?????????

Many Thanks in advance.

happy coding!
AnswerRe: Cannot redirect after HTTP headers have been sent Pin
Pimenov9-Jun-06 1:19
Pimenov9-Jun-06 1:19 
GeneralRe: Cannot redirect after HTTP headers have been sent Pin
Suj_789-Jun-06 1:43
Suj_789-Jun-06 1:43 
AnswerRe: Cannot redirect after HTTP headers have been sent Pin
BoneSoft9-Jun-06 10:41
BoneSoft9-Jun-06 10:41 
AnswerRe: Cannot redirect after HTTP headers have been sent Pin
nicko10-Jun-06 3:04
nicko10-Jun-06 3:04 
QuestionPDF Creation Pin
AhsanS9-Jun-06 0:51
AhsanS9-Jun-06 0:51 
AnswerRe: PDF Creation Pin
Paddy Boyd9-Jun-06 1:02
Paddy Boyd9-Jun-06 1:02 
QuestionGridView Sorting and OnRowCommand Pin
dbebek9-Jun-06 0:10
dbebek9-Jun-06 0:10 
QuestionUsing maps in .net2.0 Pin
AhsanS8-Jun-06 23:52
AhsanS8-Jun-06 23:52 
AnswerRe: Using maps in .net2.0 Pin
minhpc_bk9-Jun-06 0:40
minhpc_bk9-Jun-06 0:40 
QuestionTemp files suggestions Pin
__makaveli__8-Jun-06 23:52
__makaveli__8-Jun-06 23:52 
AnswerRe: Temp files suggestions Pin
D.NetDeveloper9-Jun-06 5:09
D.NetDeveloper9-Jun-06 5:09 
Questionpopulating dropdownlists Pin
Uma Kameswari8-Jun-06 23:44
Uma Kameswari8-Jun-06 23:44 
AnswerRe: populating dropdownlists Pin
sathish s9-Jun-06 0:06
sathish s9-Jun-06 0:06 
GeneralRe: populating dropdownlists Pin
Chris Maunder10-Jun-06 2:34
cofounderChris Maunder10-Jun-06 2:34 
GeneralRe: populating dropdownlists Pin
sathish s11-Jun-06 19:28
sathish s11-Jun-06 19:28 
AnswerRe: populating dropdownlists Pin
Chris Maunder10-Jun-06 2:36
cofounderChris Maunder10-Jun-06 2:36 
QuestiongridView .net 2.0 Pin
fmardani8-Jun-06 23:18
fmardani8-Jun-06 23:18 

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.