473,671 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UpdatePanel - full refresh

I have a master page which has Script Manager declared.

I have content page TestContent.asp x, it includes User Controls (.ascx)
called FirstControl.as cx.

FirstControl.as cx includes another user control called SecondControl.a scx.

SecondControl.a scx has Update Panel (upREfreshMeOnl y) and a button - Search
button outside the Update Panel. When I click that button the whole page
refreshes and I want it should refresh onlyu upRefreshMeOnly Update Panel.

I am using UpdateMode = Conditional.
I tried ChildrenAsTrigg ers="false" too.
I tried using upREfreshMeOnly .Update on SearchButtonCli ck.

I tried Triggers also...

Something is not going on correct here. can someone focus and help me to get
refreshed only the said UpdatePanel.

Thanks
Oct 2 '08 #1
1 4870
Apparently there are some "annoyances " when trying to use AJAX with Master
Pages but you'll likely get more insight at the asp.net forums. Its almost
like a conspiracy because few if anybody will even discuss certain 2.0
issues in the newsgroups...

"abcd" <ab**@abcd.comw rote in message
news:D3******** *************** ***********@mic rosoft.com...
>I have a master page which has Script Manager declared.

I have content page TestContent.asp x, it includes User Controls (.ascx)
called FirstControl.as cx.

FirstControl.as cx includes another user control called SecondControl.a scx.

SecondControl.a scx has Update Panel (upREfreshMeOnl y) and a button -
Search button outside the Update Panel. When I click that button the whole
page refreshes and I want it should refresh onlyu upRefreshMeOnly Update
Panel.

I am using UpdateMode = Conditional.
I tried ChildrenAsTrigg ers="false" too.
I tried using upREfreshMeOnly .Update on SearchButtonCli ck.

I tried Triggers also...

Something is not going on correct here. can someone focus and help me to
get refreshed only the said UpdatePanel.

Thanks

Oct 3 '08 #2

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

Similar topics

0
3443
by: Reinhard | last post by:
Hi, Need some directions on Ajax, UpdatePanel and Gridview to achive the following: I like to show a Gridview with Data ONLY if the user is interested in Details, but without a full page reload! If the page loads, only a summary (eg. COUNT of recs) should be displayed
2
15068
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have been able to find the cause of the problem, and will describe it here first textually and then through a code example. The purpose of what I am trying to do is to create a postback-free web application through the use of ASP.net AJAX UpdatePanels...
6
8794
by: jojoba | last post by:
hi everyone! i'm serving up an asp.net page using ajax futures. long story short: i have two update panels. one has a webpage in it (e.g. www.google.com). the other has an image inside of a div. however, when i update the div in code behind ( via UpdatePanel_div.Update() ), the entire page refreshes. if i change the div to an iframe, then the entire page does not
3
4750
by: fran_j_diaz | last post by:
Hye, I've got some problems in developping web sites with Visual Studio 2005 (ASP.net & C#) and the Microsoft Ajax library. In my webpage default.aspx
0
1734
by: rupinderbatra | last post by:
Hello Everyone, I am trying to build a website where on click of a button, I am fetching some data from a web service (in code-behind) and displaying it using a repeater control. The repeater control is wrapped inside an UpdatePanel thus making it a partial page refresh as compared to full page refresh. Since I am using UpdatePanel control, the HTML is rendered at the server side and sent to the client's browser. It takes somewhere close...
2
2518
by: DeekoVB5 | last post by:
I can't get an UpdatePanel on my page to work. One control - an ImageButton in a GridView - works the first time you click on it, but then freezes all of the controls on the form. The paging controls of the GridView refresh the entire page, as if the UpdatePanel wasn't there. There is an outside control - a dropdownlist - which is set to trigger the updatepanel, and also refreshes the entire page. Below are some snippets from the code....
3
2210
by: =?Utf-8?B?T2xlZw==?= | last post by:
(in .NET 2.0 with AJAX extensions) I have an UpdatePanel on the form. Now I want to use a link outside of my UpdatePanel to make it to update (asynchronously) and also send some(at least one ) parameters. I'm trying using ICallbackEventHandler, but it doesn't update the UpdatePanel. Any suggestions? Thanks.
0
1167
by: Marc | last post by:
"jacoberg2" <jacoberg2@hotmail.comwrote in message news:cdcbd57a-8736-464e-9c57-defedcd3c7ff@l42g2000hsc.googlegroups.com... Never heard of this before....! Are you sure it's not reloading the page when you view it normally? A way to test this in IE and Firefox is to navigate to the page, clear the address bar and then click whatever it is you need to click. If the address bar gets filled back up with your URL, then a full page post...
2
12242
by: qwedster | last post by:
Folks! The following is a "Hello World" kind of code for ViewState. I just want to know how to retain the ViewState 1) while Page Refresh when using UpdatePanel and also 2) While I reverting back to the page after round trip when using UpdatePanel? In the following code snippet the ViewState is killed when I click page refresh or when I go some page and revert back Code Snippet: // Default.aspx:
0
8481
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8400
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8823
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8672
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4412
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.