C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




To Passs the Querystring Parameters using Post Method


Posted Date: 07 Oct 2008    Resource Type: Articles    Category: Web Applications

Posted By: vijay arul lourdu       Member Level: Silver
Rating:     Points: 10



Single aspx page for post Method

<head id="Head1" runat="server">
<title>Get Report Parameters</title>
<script language=javascript>
function autoSubmit()
{
frmParams.submit();
}
</script>
</head>
<body onload="autoSubmit()">
<form id="frmParams" action="PrductionDespatch.aspx" method="post">
<div>
<input type="hidden" name="jobcardid" value='<%=Request["jobcardid"] %>' />
<input type="hidden" name="status" value='<%=Request["status"] %>' />
</div>
</form>
</body>

javascript Function to Call that Post method:

function showSearchDialog(txtJobCode)
{
var dialogLeft;
dialogLeft = screen.width - 420;

var jobCardId;
jobCardId=window.showModalDialog('jobcardsearch.aspx',null, 'dialogHeight:600px;dialogLeft:' + dialogLeft + 'px;dialogTop:50px;dialogWidth:380px;center:no;edge:sunken;help:no;status:no;unadorned:yes;scroll:no');
if (jobCardId)
{
var position=jobCardId.indexOf('_');
var jobCardIdNew=jobCardId.substring(0,position);
location.href='Getparams.aspx?jobcardid='+jobCardIdNew+''
}
}


Attachments

  • Post method for QueryString parameters (21687-7029-PostMethod.txt)



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    POST method for passing Parameters  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Calling that Javacript in Row Created Event
    Previous Resource: Best Practices for Speeding Up Your Web Site
    Return to Discussion Resource Index
    Post New Resource
    Category: Web Applications


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers   BizTalk Adaptors    Web Design

    masks masks masks

    Contact Us    Privacy Policy    Terms Of Use