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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:56:27+00:00 2026-05-22T23:56:27+00:00

net ajax update panel + Aasp.net 2.0, quickly coming to point. The update panel

  • 0

net ajax update panel + Aasp.net 2.0, quickly coming to point. The update panel seems to get/post nonsense data for each async postback. i will quickly run into the code, i mean just to display a updated grid with 6-10 records and takes 6Kb with all the viewstate turned off sheesh..
the code-markup:

<div id="categoryGrid" class="category-grid">
                        <p>
                            <input type="hidden" value="" runat="server" id="hdnCategoryEditor" />
                        </p>
                        <asp:LinkButton runat="server" id="lnkUpdateGrid" onclick="lnkUpdateGrid_Click" enableviewstate="false"
                            style="display: none;"></asp:LinkButton>
                        <asp:UpdatePanel runat="server" id="upGvCategories" enableviewstate="false" childrenastriggers="false"
                            updatemode="Conditional">
                            <ContentTemplate>
                                <asp:GridView runat="server" enableviewstate="false" id="gv_CategoryList" autogeneratecolumns="False"
                                    width="100%">
                                    <HeaderStyle cssclass="tableheader" />
                                    <RowStyle cssclass="ItemStyle" />
                                    <AlternatingRowStyle cssclass="AlternateItemStyle" />
                                    <Columns>
                                        <asp:TemplateField headertext="S.no" sortexpression="Rid">
                                            <ItemTemplate>
                                                <%#Container.DataItemIndex + 1%>
                                            </ItemTemplate>
                                            <HeaderStyle horizontalalign="Center" verticalalign="Middle" width="50px" />
                                            <ItemStyle horizontalalign="Center" verticalalign="Middle" width="50px" />
                                        </asp:TemplateField>
                                        <asp:BoundField headertext="CategoryName" datafield="Category">
                                            <HeaderStyle horizontalalign="left" verticalalign="top" />
                                            <ItemStyle horizontalalign="left" verticalalign="top" />
                                        </asp:BoundField>
                                    </Columns>
                                </asp:GridView>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>

and in page load i do this, to do _doPostback(“AsyncControl as trigger”) from javascript

  if (!IsPostBack)
            {
                ScriptManager.GetCurrent(this).RegisterAsyncPostBackControl(this.lnkUpdateGrid);
  • 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-22T23:56:28+00:00Added an answer on May 22, 2026 at 11:56 pm

    This was due to the unnecessary viewstate that was shipped along with the east post and get requests. Solved it by disabling viewstate on unnecessary controls

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

Sidebar

Related Questions

I'm using an Ajax update panel and have recently added ASP.NET tracing code to
I've started working with ASP.net AJAX (finally ☺). and I've got an update panel
how do you create a multi-threaded asp.net ajax update panel? thanks!
hey, i'm using the Facebook style autoComplete inside a asp.net ajax update panel, by
I have a number of asp.net AJAX update panels on a page, that can
When the page displayed in our CDHtmlDialog does an Asp.Net AJAX UpdatePanel we get
I'm using AJAX.NET including update panels, web service calls, client controls etc. In may
What are the advantages and disadvantages of using Ajax update panels in ASP.NET application.
I have an update panel in an ascx page using .Net 3.5. The user
I have an asp.net button and an asp.net label in an update panel and

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.