Solved

Asynchronous postback in master page

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

22 Experts available now in Live!

Get 1:1 Help Now