Re: MasterPages or Web Visual Inheritance (ASP.Net 1.1)?

From: VR (vcreb_at_hotmail.com)
Date: 09/15/04


Date: Wed, 15 Sep 2004 16:10:22 -0300

As in the subject of this message, ASP.Net 1.1.

The problem is not getting the same functionality (I know these are two
different approaches), I want to know if I could face problems with this
approach (WebForms Visual Inheritance). Let's say I asked myself "since
Framework 1.0 there is Visual Inheritance for WinForms, why did not MS say
you can do the same with WebForms, is there any problem I'm missing?"

Regards,
Victor Reboucas

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uqFwwb1mEHA.1716@TK2MSFTNGP12.phx.gbl...
> Are you trying this in 2.0 or in 1.0/1.1 ?
> If 2.0 you need the MASTER= in the page
> If 1.0/1.1 you aren't going to get the same functionality
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "VR" <vcreb@hotmail.com> wrote in message
> news:%23djS4Y1mEHA.896@TK2MSFTNGP12.phx.gbl...
>> Hi, I read about Master Pages in ASP.Net 2.0 and after implementing some
>> WinForms Visual Inheritance I tryed it with WebForms (let's say .aspx
>> pages, my MasterPage does not have a form tag itself so, cannot be called
>> a WebForm itself, the child pages will implement forms).
>> I created a Master.aspx page and removed all HTML from it, added some
>> code to the .aspx.vb file to add controls to my page. Then I created a
>> Child.aspx and changed the "Inherits System.Web.UI.Page" to "Inherits
>> MyWeb.Master" and everything gone really fine.
>>
>> Problem: all I need as HTML/Forms/Controls/Etc need to be created by
>> code, I cannot use the Designer to work on the page (but, let's say
>> that's my problem)
>>
>> Question: Is there anything I'm missing here? Is that easy like it? Is
>> there any internal ASP.Net design considerations that would bring me
>> problems with this approach?
>>
>> PS: I know about the MasterPage control found in www.asp.net, I do not
>> need an alternative for my approach, I just want to know if this kind of
>> design would work without problems.
>>
>>
>> Thanks,
>> Victor Reboucas
>>
>>
>
>



Relevant Pages

  • Re: MasterPages or Web Visual Inheritance (ASP.Net 1.1)?
    ... I read about Master Pages in ASP.Net 2.0 and after implementing some ... > WinForms Visual Inheritance I tryed it with WebForms (let's say .aspx ... I know about the MasterPage control found in www.asp.net, ... > design would work without problems. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Language improvement: Add scope to class member fields
    ... every small subset of functionality into seperate classes. ... MyMethodwould check this flag first within a lock and only run the method ... currently stands there is no protection. ... Allowing classes to become more complex is not a terrific design goal, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: news of the week
    ... And as market leader, that company does not have the time to listen to ... When I designs a website, I constantly have to think about why ... didn't design the website for me. ... offers the same functionality, yet. ...
    (rec.games.computer.ultima.dragons)
  • Re: Is it possible to use the value of the PROGRAM ID within the source code?
    ... Mr Wagner, structured design, as I understand it, is functional ... object oriented design is closer to the idea of functional cohesion, ... If functionality is likely to change, ...
    (comp.lang.cobol)
  • Late Show Fashion #2510
    ... "I have little interest in design. ... I hate placemats that ... Okay all good design is based upon functionality. ... aesthetics, functionality, and comfort. ...
    (alt.fan.letterman)

Loading