Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
pls help me.Thanks In Advance
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /ContributionReceipt/master/0
C#
string t = "<script type='text/javascript'>window.open('contributionreceipt.aspx?Name=" + ddlaccount.SelectedItem + "&Name1= " + ddlpanno.SelectedItem + "&Name2= " + receiptno + "&Name3= " + date + "&Name4= " + txtname.Text + "&Name5= " + txtfathername.Text + "&Name6= " + txtaddress.Text + "&Name7= " + txtdistt.Text + "&Name8= " + txtstate.Text + "&Name9= " + txtmobileno.Text + "&Name10= " + txtamount.Text + "');</script>";
                  Response.Write(t);
Posted

1 solution

try replacing javascript as below

* If script is also in contributionreceipt.aspx page

window.open(window.location+'?Name=....so on
 
Share this answer
 
Comments
pankajgarg1986 26-Dec-12 6:40am    
This Script is not Working.Pls Help me in finding the solution.

string t = "<script type='text/javascript'>window.open(window.location+'contributionreceipt.aspx?Name=" + ddlaccount.SelectedItem + "&Name1= " + ddlpanno.SelectedItem + "&Name2= " + receiptno + "&Name3= " + date + "&Name4= " + txtname.Text + "&Name5= " + txtfathername.Text + "&Name6= " + txtaddress.Text + "&Name7= " + txtdistt.Text + "&Name8= " + txtstate.Text + "&Name9= " + txtmobileno.Text + "&Name10= " + txtamount.Text + "');</script>";
Response.Write(t);

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900