Click here to Skip to main content
15,919,613 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUsing membership and roleprovider, how to prevent being signed out and redirected to login.aspx when access denied? Pin
lizarb19-Feb-08 1:33
lizarb19-Feb-08 1:33 
GeneralHelp me Please Friends Pin
Zeeshan Ahmed Memon19-Feb-08 1:09
Zeeshan Ahmed Memon19-Feb-08 1:09 
GeneralRe: Help me Please Friends Pin
Christian Graus19-Feb-08 12:44
protectorChristian Graus19-Feb-08 12:44 
GeneralHelp me Please Pin
Zeeshan Ahmed Memon19-Feb-08 1:03
Zeeshan Ahmed Memon19-Feb-08 1:03 
GeneralRe: Help me Please Pin
dilipv20-Feb-08 0:58
dilipv20-Feb-08 0:58 
GeneralApplication's spped while postbak of a control Pin
Kissy1619-Feb-08 0:44
Kissy1619-Feb-08 0:44 
GeneralRe: Application's spped while postbak of a control Pin
Christian Graus19-Feb-08 12:45
protectorChristian Graus19-Feb-08 12:45 
General<select> got no value when enableviewstate="false"</select> Pin
livez19-Feb-08 0:35
livez19-Feb-08 0:35 
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 

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.