Solved

Asynchronous postback in master page

Posted on 2010-11-15
3
1,363 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now