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

  • Home
  • SEARCH
  • 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 8840351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:26:45+00:00 2026-06-14T10:26:45+00:00

I have an asp.net page with a timer embedded in an UpdatePanel (UpdateMode=Conditional, ChildrenAsTriggers=false).

  • 0

I have an asp.net page with a timer embedded in an UpdatePanel (UpdateMode=”Conditional”, ChildrenAsTriggers=”false”). The timer is responsible for updating some components of that page every few seconds.

There are also some HyperLink controls on the page and they open a JQueryMobile dialog when clicked (data-rel=”dialog”). The problem is that the timer i mentioned causes postback every few seconds. So when a dialog is opened and then closed, the first such postback after then causes the dialog to open once again.

Using the rel=”external” as another attribute of the HyperLinks I mentioned solves the problem, but this is no solution for me. This causes full redirection to the dialog page instead of showing it using AJAX (as if on top of current page).

My idea was to stop the timer when any hyperlink is clicked. This solves the problem, but I have no idea how to start the timer again when the dialog closes. Is it possible to detect when a JQueryMobile dialog is closed? I know, this sounds stupid, but I can’t come up with a better idea. Will you help me, please?

So basically, I don’t want the JQueryMobile dialog page to show up for the second time after a timer tick. Could you please advise me how to achieve that?

  • 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-14T10:26:47+00:00Added an answer on June 14, 2026 at 10:26 am

    jQuery Mobile with asp.net Web Forms and an UpdatePannel? This just sounds like a horrible combination.

    jQuery Mobile and Web Forms fundamentally don’t work well together. The specific issue that Web Forms requires a single <form /> element that wraps all controls (and most content). jQuery Mobile attempts to build up the DOM with “virtual” pages via ajax loading. This breaks the PostBack model by submitting the entire form instead of the individual form found within each page template. Now throw UpdatePanels in there…

    Your only hope is go exclusively with Single page templates and to disable all ajax loading data-ajax="false" on both links and forms. And just say no to UpdatePanels.

    asp.net MVC would give you much greater control over these issues.

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

Sidebar

Related Questions

I have a timer on a page in ASP.NET. After a certain period of
I have ASP.NET page with an iframe on it for displaying some pdf reports
I have an asp.net page that will need to do some asynchronous work, e.g
I have an asp page with Timer control. Timer control will trigger some method
I have a asp.net page with .net controls. For a long time, many years,
I have ASP.NET page, it calls webservice via $.ajax and returns result in json
I have this serious: I have ASP.NET page, This page contents Update panel with
I have an ASP.Net Page, aspx with its default form. I have a Submit
I have an asp.net page with three ajax updatepanels. in each panel there are
We have an ASP.NET page running on .NET Framework 4.0. At the moment we

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.