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 8781059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:12:15+00:00 2026-06-13T20:12:15+00:00

I am using a gridview that uses image pagenation. This seems to perform a

  • 0

I am using a gridview that uses image pagenation. This seems to perform a double postback each time I click on the image to go to the next page (the first of which causes a SocketException), so to prevent that from occuring I used:

$('#GridUpdatePanel').delegate(':input[type=image]', 'submit', function () {
     return false;
});

This seems to work with IE, making it so only the second (errorless) postback is performed. However, Firefox and Chrome don’t seem to even fire this function, meaning they still perform the double postback.

Any ideas? I am currently using jquery 1.6.3

Note that my Gridview is inside an Updatepanel, which is why I have had to use a delegate.

  • 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-13T20:12:16+00:00Added an answer on June 13, 2026 at 8:12 pm

    I discovered the solution – I needed to change ‘submit’ to ‘click’:

    $('#GridUpdatePanel').delegate(':input[type=image]', 'click', function () {
         return false;
    });
    

    I have a feeling it’s because I am using an old version of jQuery, but since upgrading is not currently an option for me I will have to stick to this.

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

Sidebar

Related Questions

Hi i m using GridView with hovermenu and i want that when we click
I am using gridview example with image adapter to render images with difference that
Background I have a GridView that builds a table using an ObjectDataSource . This
I have an application that uses an aps:GridView. The GridView is populated using a
We're using a WPF GridView that is dynamically bound to a DataTable (which in
I'm using a GridView to show a set of Categories that user can chose.
I've got a WPF ListView that I'm using as a GridView. Is there any
I'm running an app that pulls images using a URL into a gridView, the
We have an app that uses simple one way binding with a GridView to
I have a gridview that is supposed to refresh using gridView.DataSource = null; gridView.DataBind();

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.