CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/22/2008 3:51:51 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 678 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
svmali
Asp.Net User
How to refresh the Content Place Holder only without Ajax2/22/2008 3:51:51 AM

0

Hi,

I have used a single master page in all my pages.

Master page content the menu and all common elements.

For each request the whole page gets postback to the server.can is it possible to only postback the content in content place holder only.

thanks in advance. 

jobejufranz
Asp.Net User
Re: How to refresh the Content Place Holder only without Ajax2/22/2008 6:03:33 AM

0

Hi,

Anyone correct me if I'm wrong but I believe It is not possible to update only a certain part of your page only.

Postback is required so that the IIS or other webserver  will process the page and return it back to the client.

This is one of the reason why AJAX become very famous because of it's ability to do partial PostBack.

Cheers.


Please don't forget to click "Answer" if it helps you as it may help others also.
Amanda Wang - M
Asp.Net User
Re: How to refresh the Content Place Holder only without Ajax2/25/2008 6:33:48 AM

0

Hi,

Base on your description, you want to prevent the whole page postback when you click on the menuitem to direct to a new content page?

As you said, your menu control is on the master page. In fact, you can not implement the page no-refresh when you re-load the content page.

Because the master page class derives from the UserControl class. When the application is executing, the master page just like  another child control. So you can say the master page is not a true page.

And, when the page loads, you can notice the navigationURL of the Browser address bar  is the content page's, but not the master page's.

So I would suggest you use iframe instead of the master page to implement no-postback when you click on the menuitem.

The more about how the master page works, you can read this link: http://www.odetocode.com/Articles/450.aspx

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 3.5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Web Development with JavaScript and AJAX Illuminated Authors: Richard Allen, Kai Qian, Lixin Tao, Xiang Fu, Pages: 497, Published: 2008
Pro Wicket Authors: Karthik Gurumurthy, Pages: 304, Published: 2006
ASP.NET AJAX programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Authors: Shahram Khosravi, Pages: 1522, Published: 2007
Beginning Google Web Toolkit: From Novice to Professional Authors: Bram Smeets, Uri Boness, Roald Bankras, Pages: 350, Published: 2008

Web:
How to refresh content place holder only without refreshing whole ... This is a discussion on How to refresh content place holder only without ... CACHED ...so the only option available is to put content place holder in AJAX's ...
How to refresh the Content Place Holder only without Ajax - ASP ... For each request the whole page gets postback to the server.can is it possible to only postback the content in content place holder only. ...
ASP.NET I want to refresh only the master page without posting ... I want to refresh only the master page without posting back the content place holder. ... You can do this easily with Ajax and the time. Just place the Timer control and the content you want dynamically refreshed within an UpdatePanel, which can be on the master page. For example: ...
Master Pages - Updating content without full page refresh? - bytes content pages? In other words, I want only the cell that contains the contentplaceholder to refresh when the appropriate menu items are selected, ... Not natively, though Ajax would certainly do what you require. ...
ajax update panel content place holder - ASP.NET Forums still my code does not work (when i try the same code with out content place holders it's work but it does refresh update panel only for ...

Refresh the content of the page after Callback - ng.asp-net-forum ... I want to refresh the content of an update panel in the grid callback. ... ASP NET AJAX Coding for Refresh Date Time without Refresh Result - After user ...
Master and content page flickering while redirect from master page ... I am using Asp.net Ajax(Atlas) in my master content pages. ... ... If you don't want your pageheader refreshed, you can use iframe or frameset but not masterpage. ... scroll position and element ... and without the common flicker ...
How to resize ContentPlaceHolder? - ng.asp-net-forum ... Is there a way to resize the contentplaceholder without using table and/or DIV? .... using ajax to avoid refresh of layout in the master page ...
Calling Server side events for a user control loaded in Update ... You can only load new user controls into an update panel prior to Init ... I am using ajax. I have an accordion on the left pane. ... some light on how to achieve what I mentioned above without hardcoding it. ... private void AddControl(PlaceHolder PlaceHolder, .... refresh a page and close a other! ...
Dynamic MasterPages and Content - ng.asp-net-forum ... Make sure that you test the existence of the CPH (ContentPlaceHolder), before trying to assing controls to it :) ... master page and content place refresh ...






citrix

big bug when i install a language, skin or container file

host: schedule: several jobs

yet another active directory authentication module question

tiled logo upon first visit

solpart: forcefullmenulist & icons

reporting module

paypal error

using session variable in dnn module ?

shaun and jim on dotnetrocks

making a custom user account module

dnn "file manager" access denied after db was relocated

outlook and dnn

vanishing cellpadding in ascx code

puzzle over the richtext editor control

forming local dnn sigs...

dnnbb on 3.0.10 error...

request for a good dnn third party module repository.

search, usersonline, survey,service directory modules not showing

newsfeed (rss) module: weird behaviour

cache time (secs) for a module - definition?

how to avoid keeping track of host visits ?

strange skin error

bug fixing in dnn 2.1.2?

3.0.9 help needed!!! max_icon = images/plus.gif images wont show

how can i add the separator character | among menu items in main menu(solmenu)?

hosting evaluators wanted

nothing to install at this time on upgrade from 3.2 to 4.0

should we move from 3.0.12 to 3.1 now.

print function results in server error

   
  Privacy | Contact Us
All Times Are GMT