CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/11/2008 12:15:34 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 32 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
sjurmr
Asp.Net User
Prevent content page from executing4/11/2008 12:15:34 PM

0/0

Hi,

Is there a way in a master page I can prevent Page_Load in it's content page(s) from running? Based on set conditions I might know in i.e. OnInit that a content page doesn't have to be (or shouldn't be) loaded.

Any help would be appreciated.

Regards,
Sjur
 

Amanda Wang - M
Asp.Net User
Re: Prevent content page from executing4/14/2008 7:54:05 AM

0/0

Hi,

sjurmr:
Is there a way in a master page I can prevent Page_Load in it's content page(s) from running?

It is not possible, you can not prevent the  Page_Load in it's content page(s) from running, because the page_load is a part of the page's life cycle. Or else, the pag cannot be load successfully.

If you donot want the content page load into the master page, you can redirect the current page into aother page or a blank page that is refer the same master page.

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
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering ASP.NET with C# Authors: A. Russell Jones, Pages: 816, Published: 2002
Firewalls, Web and Internet Security, 1997: Conference Proceedings Authors: unknown, Pages: 174, Published: 1998
Database Security XII: Status and Prospects : IFIP TC11 WG11.3 Twelfth International Working Conference on Database Security, July 15-17, 1998, Chalkidiki, Greece Authors: Sushil Jajodia, Pages: 320, Published: 1998
Just Java 2: J2SE 1.5 Edition Authors: Peter Van der Linden, Pages: 848, Published: 2004
Beginning Microsoft Office Live: Build Your Own Web Site Quickly and Easily Authors: Rahul Pitre, Pages: 350, Published: 2007
Building Online Communities with Drupal, PhpBB, and WordPress Authors: Robert T. Douglass, Mike Little, Jared W. Smith, Pages: 530, Published: 2006
HTML QuickSteps Authors: Martin Matthews, Guy Hart-Davis, Pages: 240, Published: 2004

Web:
[news.eclipse.tools.jdt] Re: Prevent Content Assist from executing ... [news.eclipse.tools.jdt] Re: Prevent Content Assist from executing, if only one hit is found. From: Daniel Megert. References: ...
[news.eclipse.tools.jdt] Re: Prevent Content Assist from executing ... [news.eclipse.tools.jdt] Prevent Content Assist from executing, if only one hit is found. From: Philipp Bouillon. [news.eclipse.tools.jdt] Re: Prevent ...
O'Reilly - Safari Books Online - 0596101651 - Greasemonkey Hacks Add or Remove Content on a Page · Alter a Page's Style · Master XPath Expressions ... Getting Started > Prevent a User Script from Executing. Preview ...
Code behind page not executing - ASP.NET Forums Everything is IDE generated to prevent any screw ups on my part too. Cool .... Try to check whether there is a form tag in the content page, ...
John Resig - Browser Page Load Performance Nov 24, 2008 ... Those numbers help to give you an overall feel of the page load ... Stylesheets prevent other stylesheets from parsing and executing, ...
How do I prevent RegisterClientScriptBlock() from executing on ... Net web page that is my login page to an application. ... How do I prevent RegisterClientScriptBlock() from executing on page refresh/reload ...
Page 4 - Executing Microsoft SQL Server Stored Procedure from PHP ... Page 4 - Executing Microsoft SQL Server Stored Procedure from PHP on Linux. ... This will prevent initlog from swallowing up a pass-phrase prompt if ...
Javascript: prevent user input while executing javascript, social ... //inputField.disabled = true; //prevent user input while js is executing //strip out any non-numeric content ssnValue = removeNonNumerics(ssnValue); ...
[#SVC-2647] Allow estate owners to prevent "new" LSL2 scripts from ... Allow estate owners to prevent "new" LSL2 scripts from executing .... Any way you cut it this WILL break content. I think it's good that you have talked to ...
Injection Attacks Executing, Preventing, and Auditing Jan 26, 2007 ... Executing, Preventing, and Auditing. Presentation by ..... Demo two: go to front page, show that it is using frames, view source, ...

Videos:
www.moldytoaster.com plan, comprising buildings and enclosures, presents a sort of irregular rectangle, one angle of which is nicked out. It is this angle which ...
www.moldytoaster.com ight extend the tip of the sceptre end against the people, and open the umbrella end against heaven." The room was dark, large clouds had just ...
What Will It Take to Stop Genocide in Darfur? A live panel presentation at the United States Holocaust Memorial Museum including Dr. Mudawi Ibrahim Adam, Samantha Power, Ambassador Michael ...
www.moldytoaster.com our remarks?" "Certainly, directly the curtain falls on the stage." "What a confounded time this first act takes. I believe, on my soul, that ...




Search This Site:










installation question!!!

dynamic treeview and child detection

asp.net security

classifieds sql script from sql server 2000

building a role based site.

help !!.net pages will not render in anyway on my laptop

strange debugging problem

has the way user controls created changed w/ .net 2.0?

treeview is taking long time to render

how's the search function coming along?

user changable skins

new browser window not staying on top

using maintainscrollpositiononpostback with masterpage

error editing useraccount - could not find geoip.dat

newbie questions

data base error

opening dn in vs 2003

refreshing the current windows user in active directory

can't add aspnetdb.mdf into enterprise manager

web application dll issue for vs 2005

adding a seperate page for code

performance tuning links??

urgent: making autopost back only for last node

selectedindexchange event is not working in microsoft.web.ui.webcontrols treeview

beta 2 profile not working

packages failing to install with vs 2005

has anyone created a custom module that had a set of global settings for all instances of that module type?

where are my post?

web deplyment problems: proxy error but i don't have proxy

adding links

 
All Times Are GMT