Click here to Skip to main content
15,909,039 members

Comments by NishaNR (Top 2 by date)

NishaNR 17-Oct-13 5:43am View    
Hi,
onbeforeunload will execute on every controls' click which make a page navigation. That should not happen. Actually I have a button to go to previous page. So I want the user to know about that by giving a message on browser back button click.
NishaNR 17-Oct-13 4:45am View    
Hi,
Response is still giving a pop-up which I dont want.
This piece of code did it.

using (StreamWriter sw = File.CreateText(@"C:\test.xls"))
{
sw.Write(sb.ToString());
}
sb = new StringBuilder();

Thanks for solutions.