473,378 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How to ajax or async a call from a user control to the masterpage without an updatepanel?

I have two user controls on a master page. I can easily bubble up an
event on usercontrol 1 from a click event to the page.aspx, than then
calls a method on the masterpage, but this causes the screen to do a
postbacka nd full load. What I'm doing is i have a button on one user
control that when clicked it will dynamically load a usercontrol into
a placeholder on the masterpage. I know that if I were to put
everything into an update panel that it would work, but I do not want
to do this because there is other stuff in the page already and that
would cause to much over head. I want to know if there is a way to
ajax the button in the usercontrol to cause this other user control to
load dynamically into the masterpage. Any ideas would greatly be
appreciated.

Thanks,

Risso

Jul 11 '07 #1
2 2355
On Jul 11, 6:26 am, Risso...@gmail.com wrote:
I have two user controls on a master page. I can easily bubble up an
event on usercontrol 1 from a click event to the page.aspx, than then
calls a method on the masterpage, but this causes the screen to do a
postbacka nd full load. What I'm doing is i have a button on one user
control that when clicked it will dynamically load a usercontrol into
a placeholder on the masterpage. I know that if I were to put
everything into an update panel that it would work, but I do not want
to do this because there is other stuff in the page already and that
would cause to much over head. I want to know if there is a way to
ajax the button in the usercontrol to cause this other user control to
load dynamically into the masterpage. Any ideas would greatly be
appreciated.

Thanks,

Risso
Hi...

Asp.net 2.0 have ICallbackEventHandler to implement call back
mechanism to your application...
please do check out the links bellow will definitely helpyou
http://msdn2.microsoft.com/en-us/lib...nthandler.aspx
http://staff.develop.com/ballen/blog...2-8095a848d821

Thanks
Md. Masudur Rahman (Munna)
kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Jul 11 '07 #2
On Jul 11, 2:26 am, Risso...@gmail.com wrote:
I have two user controls on a master page. I can easily bubble up an
event on usercontrol 1 from a click event to the page.aspx, than then
calls a method on the masterpage, but this causes the screen to do a
postbacka nd full load. What I'm doing is i have a button on one user
control that when clicked it will dynamically load a usercontrol into
a placeholder on the masterpage. I know that if I were to put
everything into an update panel that it would work, but I do not want
to do this because there is other stuff in the page already and that
would cause to much over head. I want to know if there is a way to
ajax the button in the usercontrol to cause this other user control to
load dynamically into the masterpage. Any ideas would greatly be
appreciated.

Thanks,

Risso
Try AjaxPro library, it's free and source code is available:
http://www.ajaxpro.info/

Best Regards,
Oscar Acosta

Jul 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Paras | last post by:
Hi, I have 3 ContentPlaceHolders in the MasterPage. In the 2nd content I have placed a usercontrol which has anchor link. This loads another page (without changing loading the content of...
6
by: HockeyFan | last post by:
I'd like to have an AJAX textbox that after the user fills in, will auto-fill another textbox on the page without having a postback occur. It doesn't have to do any filtering or any other thing...
2
by: =?Utf-8?B?VG9u?= | last post by:
Hello, I want to understand teh benefits of ajax technology. Does anyone has a good website where AJAX EXTENSIONS is worked out so I really understand it. There a 2 main questions: 1) How about...
0
by: rsdev | last post by:
Hi, I am new to implementing Asynchronous javascript in asp.net (or any framework) and have come across a problem. In a user control I have an accordion with a nested updatepanel, the trigger...
7
by: MikeB | last post by:
Hello All, I am new to ajax and wanted to start by trying something simple. I have a web form with an updatepanel and then inside the update panel I have a listbox. Then outside of the updatepanel...
2
by: nicknack | last post by:
Hello. A little tricky situation: I have a master page. Inside that master page I have A div (With overflow:scroll) that contain an ajax updatePanel. Inside that updatePanel I have a tree. The...
2
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm using an async page to kick off a couple of asynchronous web services using the PageAsyncTask class. I'm also testing a progress bar that uses an Ajax UpdatePanel and Timer control to...
1
by: abellix | last post by:
An updatepanel contains a datagrid, this datagrid has columns generated by code-behind: some columns should have async postback, others should have sync postback. Here a sample to reproduce the...
4
by: Peter | last post by:
ASP.NET I have an application which use ASP.NET Autocomplete extender which works great. But I have a question how to update all the fields on the screen using Ajax. Users starts typing in a...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.