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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:10:16+00:00 2026-05-26T04:10:16+00:00

I need to disable refresh in a GridView when a particular row is selected

  • 0

I need to disable refresh in a GridView when a particular row is selected as it is refreshing the whole page as I have bing map reloaded everytime.

I have tried

function showKeyCode(e) 
{
    var keycode = (window.event) ? event.keyCode : e.keyCode;
    if (keycode == 116) {
        event.keyCode = 0;
        event.returnValue = false;
        return false;
}

or

OnClientClick = "javascript:return false;"

but it does not help. Can you please guide me in this?

  • 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-05-26T04:10:16+00:00Added an answer on May 26, 2026 at 4:10 am

    When you say “when a particular row is selected”, do you mean you click on a “Select” link in a column or something similar?

    I think you should tell more about your GridView to know why there is a page postback.

    EDIT: Here’s a sample (Checkout the ScriptManager and UpdatePanel)

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:gridview runat="server" EnableModelValidation="True" ID="MyGrid">
                </asp:gridview>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
    

    Hope this helps

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

Sidebar

Related Questions

Need to disable already selected options in select box using jQuery. I'd like it
i need to disable the arrow keys in a flowplayer.org scrollable i have a
I have 20 Checkboxes. I need to disable 16 Checkboxes, if 4 checkboxes are
I need to disable the product page within Magento. So even if someone tried
i need to disable automatic url encoding in flash as2 because i have URL
I need to disable the movement of the cursor during auto-complete selection. I have
I need to disable the highlighting of selected text on my web app. I
The problem I have is that I need to disable struts validation when selecting
I need to disable specific keys (Ctrl and Backspace) in Internet Explorer 6. Is
I need to disable PUT, DELETE & TRACE HTTP requests on my Application Server,

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.