Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Master and Child pages

Status
Not open for further replies.

ndevriendt

Programmer
Jan 8, 2002
74
BE
Hello,

I'm creating my first ASP.NET project in Visual studio 2005.

I have created a masterpage (that contains a grid) and content pages. The action that the user do on the grid decide which content page that should be shown.

With the link of the masterpage in my contentpages, I see always my grid above my content page.

When my content page is shown, the load event is always executed of my master page. Is there a possibility to prevent this ?

Thanks for your time and answer

Devriendt Nico
 
You can't prevent it from loading (that's the idea of master pages - they are loaded with each child page). What is it you are trying to do?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
I'm showing in my masterpage a grid. When the user clicks in the grid, they are receiving a popup menu. When the user clicks at the menu item 'Display', Then the content page for displaying the details off the record is shown below the grid. When the user clicks another menu item, then an other content pages is show,...

This works, but the grid is everytime reloaded.
I want that only my childpage would be reloaded.

Actually I want to show a asp page in an asp page.

Thanks for your time and answer.





 
Can't you just check to see if it's a postback and only load the data if it isn't?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top