Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8972971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:20:40+00:00 2026-06-15T18:20:40+00:00

I inserted the gif image in securetrans.aspx page and wrote the payment gateway request

  • 0

I inserted the gif image in securetrans.aspx page and wrote the payment gateway request code in securetrans.aspx.cs page pageload, here the problem is the loading image is not at all showing up through out the request and the page is empty till the response comes.
I cant get it through many searches, hope some one helps me out..

Thanks in advance…

my securetrans.aspx.cs code is

protected void Page_Load(object sender, EventArgs e)
{

string Url = "https://paymentpagetosendrequest";
        string Method = "post";
        string FormName = "form1";


NameValueCollection FormFields = new NameValueCollection();
 FormFields.Add("account_id", "5880");
        FormFields.Add("reference_no", Session["UserID"].ToString());
        FormFields.Add("amount", Session["Amount"].ToString());


FormFields.Add("return_url", "http://responsepage");
 for (int i = 0; i < FormFields.Keys.Count; i++)
        {
            Response.Write(string.Format("<input name=\"{0}\" type=\"hidden\" value=\"{1}\">", FormFields.Keys[i], FormFields[FormFields.Keys[i]]));
        }
}

and secruretrans.aspx

Loading... Please Wait!!!

You will be Redirected to Secured Transaction Page....

(Please don't press back or refresh button.)


<asp:Image runat="server" ImageUrl="images/Loader.gif" ID="img" AlternateText="Loader" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:20:42+00:00Added an answer on June 15, 2026 at 6:20 pm

    Unless you specifically code it to send response within you pageload before some other code (which will cause another problem that you can’t add more things to the response for display) as while you code running the browser got nothing can show up, I think you are trying to do something like display a processing img, I’d say suggest you go with some jQuery plugin like blockUI: http://www.malsup.com/jquery/block/

    EDIT:

    OK I assume user come to your page via a redirect or something so you don’t have any button, then I suggest you add the blockUI on that page before send redirect so user can see the loading message. Or you can build a third page, and user will be redirect to that page first, that page got nothing except the loading message and a html head meta http-equiv=”REFRESH” that actually lead them to your page, so that they can see loading image. Check something here: http://www.instant-web-site-tools.com/html-redirect.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I inserted some jquery code which is designed for an feature of one page
I inserted one little jQuery code into my site, to fix the navigation icons
I inserted a .swf file to my page inside a div, and I tried
I inserted the following code: $counter = 1; while($_POST['additional_contact1'] != '' || $_POST['additional_contact2'] !=
Here's my search array: $aExt = array('png','jpg','gif'); I want to search through the variable:
I inserted the following code in a WordPress plugin: wp_deregister_script('jquery'); wp_register_script('jquery', http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js); wp_enqueue_script('jquery'); The
I inserted <style type=text/css> @page {size: landscape;}</style> in my page to print it by
I inserted a toogleswitch on a WindowsPhone 7.1 programm, and i would like to
I inserted data in a MySQL database which includes Arabic script. While the output
I inserted 'vanity_name' and 'name' into the first and second SELECT statements respectively. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.