Solved

Asynchronous postback in master page

Posted on 2010-11-15
3
1,373 Views
Last Modified: 2012-06-27
Hello,

Background for the problem:
1.  I have an update panel in the master page.
2.  The update panel in the master page has 2 dropdown lists and a button.
3.  I have set the updatemethod to 'conditional' for this panel and the trigger to asynchronously  postback based on the click event of the button.
4.  I have a content page with update panels with the update mode set to 'always'.

Problem:
When I click the button in the update panel in the master page, nothing happens - no asynchronous posbacks.

Please let me know how I can resolve this issue.  

fyi: I have attached herewith a file to simply show how my page looks.

Thanks for helping.


 ASP-q-1.doc
0
Comment
Question by:rema10
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21

Expert Comment

by:Alfred1
ID: 34135376
You can try using the Update method of the Update Panel Control in the button click event since the update mode is set to "Conditional".

See the following link for details:

http://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel.update.aspx
0
 

Accepted Solution

by:
rema10 earned 0 total points
ID: 34136681
Hi,

Thanks. I was able to resolve the problem based on the user forum in  www.asp.net.

The update was not happening because the button in the master page was not even firing the 'click' event.

Based on the resolution inwww.asp.net user forum, I set the 'causes validation' and 'use submit behavior' to false which caused the event to fire and the asynchronous postback to happen successfully.

0
 

Author Closing Comment

by:rema10
ID: 34178999
No comments.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question