Click here to Skip to main content
12,447,343 members (57,392 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
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
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 25-Dec-12 20:14pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

try replacing javascript as below

* If script is also in contributionreceipt.aspx page

window.open(window.location+'?Name=....so on
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100