Click here to Skip to main content
15,921,837 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can current Session can be sent with the WebRequest! Pin
Rana Muhammad Javed Khan30-May-07 6:43
Rana Muhammad Javed Khan30-May-07 6:43 
GeneralRe: How can current Session can be sent with the WebRequest! Pin
Fred_Smith30-May-07 6:59
Fred_Smith30-May-07 6:59 
GeneralRe: How can current Session can be sent with the WebRequest! Pin
Rana Muhammad Javed Khan30-May-07 9:14
Rana Muhammad Javed Khan30-May-07 9:14 
GeneralRe: How can current Session can be sent with the WebRequest! Pin
Fred_Smith30-May-07 13:42
Fred_Smith30-May-07 13:42 
QuestionPrinting problem Pin
umashankergr830-May-07 1:59
umashankergr830-May-07 1:59 
AnswerRe: Printing problem Pin
kubben30-May-07 5:13
kubben30-May-07 5:13 
GeneralRe: Printing problem Pin
umashankergr830-May-07 6:52
umashankergr830-May-07 6:52 
GeneralRe: Printing problem Pin
kubben30-May-07 7:39
kubben30-May-07 7:39 
You know it might be a good idea to see what sort of html doc you are creating.
Change your script to look like this:
<script language=javascript>
function CallPrint(strid)
{
var prtContent = document.getElementById(strid);
var WinPrint = window.open('','','letf=0,top=0,width=800,height=600,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
prtContent.innerHTML=strOldOne;
}
</script>

So now the new window is larger and you can view the source to see what the html looks like.
I am guessing that the what you are writing to the page with you document.write isn't exaclt what you want.

Ben
GeneralRe: Printing problem Pin
umashankergr830-May-07 8:01
umashankergr830-May-07 8:01 
GeneralRe: Printing problem Pin
kubben30-May-07 8:04
kubben30-May-07 8:04 
QuestionHow to implement remember me next time feature Pin
deepalititi30-May-07 1:53
deepalititi30-May-07 1:53 
AnswerRe: How to implement remember me next time feature Pin
nareshss30-May-07 2:02
nareshss30-May-07 2:02 
GeneralRe: How to implement remember me next time feature Pin
deepalititi30-May-07 2:31
deepalititi30-May-07 2:31 
GeneralRe: How to implement remember me next time feature Pin
Not Active30-May-07 3:25
mentorNot Active30-May-07 3:25 
GeneralRe: How to implement remember me next time feature Pin
deepalititi30-May-07 18:47
deepalititi30-May-07 18:47 
GeneralRe: How to implement remember me next time feature Pin
deepalititi31-May-07 18:59
deepalititi31-May-07 18:59 
AnswerRe: How to implement remember me next time feature Pin
Sathesh Sakthivel30-May-07 2:06
Sathesh Sakthivel30-May-07 2:06 
QuestionImage Swaping. Pin
Khan.Bangash30-May-07 1:16
Khan.Bangash30-May-07 1:16 
AnswerRe: Image Swaping. Pin
Fred_Smith30-May-07 4:38
Fred_Smith30-May-07 4:38 
GeneralRe: Image Swaping. Pin
Khan.Bangash30-May-07 5:06
Khan.Bangash30-May-07 5:06 
QuestionCan I get an alert box on my local computer when someone access my web page? Pin
salon30-May-07 1:08
salon30-May-07 1:08 
AnswerRe: Can I get an alert box on my local computer when someone access my web page? Pin
karthik_dotnet130-May-07 1:37
karthik_dotnet130-May-07 1:37 
GeneralRe: Can I get an alert box on my local computer when someone access my web page? Pin
salon30-May-07 1:44
salon30-May-07 1:44 
GeneralRe: Can I get an alert box on my local computer when someone access my web page? Pin
karthik_dotnet130-May-07 1:54
karthik_dotnet130-May-07 1:54 
GeneralRe: Can I get an alert box on my local computer when someone access my web page? Pin
salon30-May-07 2:03
salon30-May-07 2:03 

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.