Click here to Skip to main content
15,889,831 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: got no value when enableviewstate="false" Pin
Christian Graus19-Feb-08 12:47
protectorChristian Graus19-Feb-08 12:47 
GeneralSending word document as an attachment with the mail. [modified] Pin
rahul.net1118-Feb-08 23:57
rahul.net1118-Feb-08 23:57 
GeneralRe: Sending word document as an attachment with the mail. Pin
Abhijit Jana19-Feb-08 1:09
professionalAbhijit Jana19-Feb-08 1:09 
GeneralRe: Sending word document as an attachment with the mail. Pin
rahul.net1119-Feb-08 1:43
rahul.net1119-Feb-08 1:43 
GeneralRe: Sending word document as an attachment with the mail. Pin
rahul.net1119-Feb-08 1:44
rahul.net1119-Feb-08 1:44 
GeneralRe: Sending word document as an attachment with the mail. Pin
That's Aragon19-Feb-08 2:33
That's Aragon19-Feb-08 2:33 
GeneralRe: Sending word document as an attachment with the mail. Pin
rahul.net1119-Feb-08 2:50
rahul.net1119-Feb-08 2:50 
Questionhow to set print options in codebehind? [modified] Pin
Amit.Amit.Amit...18-Feb-08 23:30
Amit.Amit.Amit...18-Feb-08 23:30 
hi all

i m printing a .aspx page for that i m using


<br />
<script language="javascript"><br />
function Pprint()<br />
{<br />
    <br />
    var contents = document.getElementById("divprint");<br />
    var printPage = window.open('','','left=5000,top=5000,width=1,height=1,toolbar=0,scrollbars=0,status=0, visiblity = hidden');<br />
    printPage.visible = false ;<br />
    printPage.document.write(contents.innerHTML);<br />
    printPage.document.close();<br />
    printPage.focus();<br />
    printPage.print();<br />
    printPage.close();<br />
    <br />
    <br />
}<br />
</script><br />
<br />
<br />
 <input  type="button"   style = "background-color:darkGray;font-weight:bold;" id = "btnHtmPrint" value = "Print" onclick = "Pprint();" runat="server" /><br />


now how do i set page options in c# like page size, margin etc..

Amit Metkar
3i-infotech, Mumbai.

modified on Tuesday, February 19, 2008 5:39 AM

GeneralRe: how to set print options in codebehind? Pin
Guffa18-Feb-08 23:51
Guffa18-Feb-08 23:51 
QuestionCross browser problem Pin
Jedidah18-Feb-08 23:21
Jedidah18-Feb-08 23:21 
AnswerRe: Cross browser problem Pin
Guffa19-Feb-08 0:01
Guffa19-Feb-08 0:01 
QuestionAsp.Net Session Variable in JavaScript Pin
AS@1318-Feb-08 22:56
AS@1318-Feb-08 22:56 
GeneralRe: Asp.Net Session Variable in JavaScript Pin
N a v a n e e t h18-Feb-08 23:53
N a v a n e e t h18-Feb-08 23:53 
QuestionRe: Asp.Net Session Variable in JavaScript Pin
AS@1319-Feb-08 0:16
AS@1319-Feb-08 0:16 
GeneralRe: Asp.Net Session Variable in JavaScript Pin
N a v a n e e t h19-Feb-08 20:24
N a v a n e e t h19-Feb-08 20:24 
GeneralRe: Asp.Net Session Variable in JavaScript Pin
Guffa19-Feb-08 0:16
Guffa19-Feb-08 0:16 
GeneralMobileWebApplication Pin
kirthikirthi18-Feb-08 22:38
kirthikirthi18-Feb-08 22:38 
GeneralAdding rows to datatable and display it in gridview Pin
samerh18-Feb-08 22:36
samerh18-Feb-08 22:36 
GeneralRe: Adding rows to datatable and display it in gridview Pin
BilalShouman18-Feb-08 23:43
BilalShouman18-Feb-08 23:43 
GeneralRe: Adding rows to datatable and display it in gridview Pin
samerh18-Feb-08 23:59
samerh18-Feb-08 23:59 
GeneralRe: Adding rows to datatable and display it in gridview Pin
samerh19-Feb-08 1:59
samerh19-Feb-08 1:59 
GeneralRe: Adding rows to datatable and display it in gridview Pin
samerh19-Feb-08 2:32
samerh19-Feb-08 2:32 
GeneralDisplaysing a Type 'Money' field from database Pin
eyeseetee18-Feb-08 21:43
eyeseetee18-Feb-08 21:43 
Generalopening a new browser window from gridview hyperlinkfield Pin
eyeseetee18-Feb-08 21:36
eyeseetee18-Feb-08 21:36 
GeneralCrystal Reports In ASP.Net 2.0 Pin
naveedmazhar18-Feb-08 21:01
naveedmazhar18-Feb-08 21:01 

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.