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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:25:54+00:00 2026-06-12T01:25:54+00:00

I have an aspx web page contains jquery mobile, I don’t know why, whenever

  • 0

I have an aspx web page contains jquery mobile, I don’t know why, whenever I call UpdatePanel.Update() in my code a white page appears as a result! of course the page is not empty because when I view source code (ctrl+u) all content are available. The strange point is for one call in a page, 2 ajax requests submit so two different responses received either two different post parameters. Post in first request is like this:

ScriptManager: UpdatePanel1|grdRequests$ctl03$btnCancel
__ASYNCPOST: true
__EVENTARGUMENT: nothing
__EVENTTARGET: nothing
__EVENTVALIDATION: value here
__LASTFOCUS: nothing
__VIEWSTATE value here

and response is like this:

1|#| |4|5451|updatePanel|UpdatePanel1|

but in second request there is no ScriptManager and ASYNCPOST parameteres, also in response only old content could see no more data. any idea?

CLIENT SIDE:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConfOne.aspx.cs" Inherits="ConfDC"%>
<!DOCTYPE html> 
<html> 
    <head> 
    <meta name="viewport" content="width=device-width, initial-scale=1" /> 

    <link rel="stylesheet" href="jquery.mobile-1.1.1.min.css" />
    <script src="jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="jquery.mobile-1.1.1.min.js" type="text/javascript"></script>
</head> 
<body> 
<form id="form1" runat="server" dir="rtl" defaultbutton="btnpage" name="form1">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode = "Conditional">
    <ContentTemplate>
    <table>
        <tr>
            <td>
                <asp:Button runat="server" ID="btnpage" Width="1px" Height="1px"  Visible="false"/>
                 <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>
            </td>
        </tr>
    </table>
<div id="mcnt">
    <div data-role="page">
    <div data-role="content" style="padding: 10px; text-align: center;">

        <asp:GridView ID="tbls runat="server" AutoGenerateColumns="False" Width="100%"
            CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt"
            CellPadding="1" CellSpacing="1" AllowPaging="True" DataKeyNames="Id" OnRowCommand="tbls_RowCommand"
            OnPageIndexChanging="tbls_PageIndexChanging">
            <Columns>
                <asp:TemplateField HeaderText="Amount">
                    <ItemTemplate>
                        <asp:Label ID="lblAmount" runat="server" Text='<%# Bind("Amount") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:Button Text="Decline" ID="btnCancel" CommandName="CancelRequest" runat="server"
                            CommandArgument='<%# DataBinder.Eval(Container, "DataItem.id") %>' />
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:Button Text="Accept" ID="btnConfirm" CommandName="ConfirmRequest" runat="server"
                            OnClientClick="return confirm('Are you sure?');"
                            CommandArgument='<%# DataBinder.Eval(Container, "DataItem.id") %>' />
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
            <PagerStyle CssClass="pgr"></PagerStyle>
            <AlternatingRowStyle CssClass="alt"></AlternatingRowStyle>
        </asp:GridView>
        </div>
        <div id="rsnCnt">                     
        <asp:Panel ID="pnlReasons" Width="100%" runat="server" Visible="false">
             <fieldset>
                <asp:TextBox runat="server" ID="txtReasons" CssClass="TextArea" Height="70px" Width="100%"
                                TextMode="MultiLine"></asp:TextBox>
                <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                <div id="btnActionCnt">
                    <div style="float:right;">
                        <asp:Button type="button" runat="server" ID="btnCancelRequest" Width="100px" class="groovybutton2"
                                Text="OK " OnClientClick="return confirm('are you sure?');" />
                    </div>
                     <div style="float:left;"> 
                    <asp:Button type="button" runat="server" ID="btnCancel" class="groovybutton2" Text="NOT OK"
                        onmouseover="" onmouseout=""
                        OnClick="btnCancel_Click" Height="25px" Width="100px" />        
                    </div>
                </div>
            </fieldset>
        </asp:Panel>
    </div>
    </div>
</div>   
     </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>         

SERVER SIDE:

protected void tbls_RowCommand(object sender, GridViewCommandEventArgs e)
{
    if (e.CommandName == "CancelRequest")
    {
        pnlReasons.Visible = true;
        UpdatePanel1.Update();

    }
}   
  • 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-12T01:25:56+00:00Added an answer on June 12, 2026 at 1:25 am

    I dont know why but when I removed updatepanel works ok.

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

Sidebar

Related Questions

In my web app, I have an aspx page which contains an html table
I have a web page on http ://localhost/mySite/Page1.aspx that contains an iframe with src
I have placed my user control (my.ascx) on the web page (1.aspx). my.ascx contains
I have a web page (.aspx) that calls a third party web service to
I have an ASP.NET web page(Not MVC ) (HomePage.aspx) and another page (PRiceList.aspx).I have
my structure is like this: master page aspx(web form) ascx(user control) I have a
I currently have a web form aspx page that calls RegisterClientScriptBlock. This sends down
I have an ASPX Page: <%@ Page Language=C# MasterPageFile=~/site.Master AutoEventWireup=true CodeBehind=Default.aspx.cs Inherits=myProject.Presentation.Web.Default src=Default.aspx.cs %>
I have a web application where I am doing a Response.Redirect(Register.aspx) page in a
Say I have a web site with a master page and an aspx page.

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.