Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Asynchronous postback in master page

Posted on 2010-11-15
3
Medium Priority
?
1,381 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:Alfred A.
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
The most up-to-date version of this article is on my Blog https://iconoun.com/blog/
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

647 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