Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 13 Aug 2008 12:27:31 -0600,    group: microsoft.public.dotnet.framework.aspnet        back       


How load pages dinamically   
Hi everybody, i have a master page and with tree buttons, how configure 
the buttons to load pages dinamically in wichone pages.

Regards,
date: Wed, 13 Aug 2008 12:27:31 -0600   author:   Kojikabutosv

Re: How load pages dinamically   
"Kojikabutosv"  wrote in message 
news:eP6WWFX$IHA.3656@TK2MSFTNGP03.phx.gbl...

> Hi everybody, i have a master page and with tree buttons, how configure 
> the buttons to load pages dinamically in wichone pages.

I appreciate that English isn't your first language, but can you please 
confirm what you mean by "wichone pages"...?

That said, it sounds like you're making the classic error of confusing 
MasterPages with framesets - they are totally different.

A MasterPage is just a UserControl - when you open a content page, the 
MasterPage is reloaded every time just like any other UserControl.

So, to move from one content page to another content page, you just navigate 
to it like any other page...


-- 
Mark Rae
ASP.NET MVP
http://www.markrae.net
date: Wed, 13 Aug 2008 19:33:57 +0100   author:   Mark Rae [MVP]

Re: How load pages dinamically   
thanks Mark, I am sorry my English, try to explain, in a Master Page he 
simulated a toolbar that Master Page he created three new pages that are 
inherited from the Master Page, but each button these pages will link 
different, how I can program the buttons so that the links are 
different, some light to help me.

Greetings


Mark Rae [MVP] escribió:
> "Kojikabutosv"  wrote in message 
> news:eP6WWFX$IHA.3656@TK2MSFTNGP03.phx.gbl...
> 
>> Hi everybody, i have a master page and with tree buttons, how 
>> configure the buttons to load pages dinamically in wichone pages.
> 
> I appreciate that English isn't your first language, but can you please 
> confirm what you mean by "wichone pages"...?
> 
> That said, it sounds like you're making the classic error of confusing 
> MasterPages with framesets - they are totally different.
> 
> A MasterPage is just a UserControl - when you open a content page, the 
> MasterPage is reloaded every time just like any other UserControl.
> 
> So, to move from one content page to another content page, you just 
> navigate to it like any other page...
> 
>
date: Wed, 13 Aug 2008 14:49:08 -0600   author:   Kojikabutosv

Re: How load pages dinamically   
"Kojikabutosv"  wrote in message 
news:OZtSpUY$IHA.1224@TK2MSFTNGP02.phx.gbl...

[top-posting corrected]

>>> Hi everybody, i have a master page and with tree buttons, how configure 
>>> the buttons to load pages dinamically in wichone pages.
>>
>> I appreciate that English isn't your first language, but can you please 
>> confirm what you mean by "wichone pages"...?
>>
>> That said, it sounds like you're making the classic error of confusing 
>> MasterPages with framesets - they are totally different.
>>
>> A MasterPage is just a UserControl - when you open a content page, the 
>> MasterPage is reloaded every time just like any other UserControl.
>>
>> So, to move from one content page to another content page, you just 
>> navigate to it like any other page...
>
> thanks Mark, I am sorry my English, try to explain, in a Master Page he 
> simulated a toolbar that Master Page he created three new pages that are 
> inherited from the Master Page, but each button these pages will link 
> different, how I can program the buttons so that the links are different, 
> some light to help me.

As I've tried to explain, content pages *ARE NOT* inherited from 
MasterPages - it's effectively the other way round. I appreciate that the 
term 'MasterPage' is very confusing, but a MasterPage really is just a 
UserControl. When a content page loads, it opens its MasterPage (just like 
any other UserControl) which it then uses to construct the HTML to be 
streamed to the client browser - it does this *every time* it's loaded...

If you have e.g. a content page called MyContentPage.aspx, which uses 
MyMasterPage.master as its MasterPage, then you navigate to 
MyContentPage.aspx just as you would as if it were a 'normal' page...


-- 
Mark Rae
ASP.NET MVP
http://www.markrae.net
date: Wed, 13 Aug 2008 21:58:06 +0100   author:   Mark Rae [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us