Re: ASP.NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



> Do I need to copy and paste these sections in each and every aspx page
> (That
> is the main pages which contains home, contact, sitemap and these kind of
> static pages) or is there a better way. In programming there is something
> like inheritence for example.

Well, Pieter, ASP.Net IS programming, and is .Net, so inheritance is
certainly available to you, and you are right on the money in that
inheritance is the way to go for your solution.

> Also for the pages that I'm going to create dynamically from user input do
> I
> need to write these pages using response.write(). And write the entire
> html
> source this way to the client? Or is there better tools in asp.net
> because
> I asume that this was how asp works.

Generally, you would avoid Response.Write, as this is procedural in nature.
Controls are the way to go. ASP.Net has been designed to work very similarly
to Windows Forms, but in a stateless environment. ASP.Net Controls are
Controls that, rather than draw to the screen, render HTML to the HTML
document returned to the browser.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Pieter" <paucamp@xxxxxxxxxxxxx> wrote in message
news:dbfet5$crn$1@xxxxxxxxxxxxxxxxxxxxx
> HI
>
> I've decided to start developing dynamic webpages. I have decided to use
> ASP.NET since this is probably a good way to go and since I'm a computer
> programmer and uses VB.NET quite extensively.
>
> What I now want to know is this: I am working on a website where users
> can
> select a product from a listing. When the user clicks on one of these
> producs a page should appear with an image, summary etc of the selected
> item. Now my page has got a javascript menu interface and a few more
> things
> which should stay there whichever page is showing. One way of solving
> this
> would be to use frames, but I don't want to go with frames.
>
> Do I need to copy and paste these sections in each and every aspx page
> (That
> is the main pages which contains home, contact, sitemap and these kind of
> static pages) or is there a better way. In programming there is something
> like inheritence for example.
>
> Also for the pages that I'm going to create dynamically from user input do
> I
> need to write these pages using response.write(). And write the entire
> html
> source this way to the client? Or is there better tools in asp.net
> because
> I asume that this was how asp works.
>
> I have searced the net but don't really know what exactly to search for.
>
> Thanks
>
>


.



Relevant Pages

  • Re: ASP.NET Internationalization bug?
    ... I'm trying to explain why your, or my, workaround to the bug I've found is ... inline programming in .aspx pages is just as effective as ... I don't see too clearly the purpose of declaring a single language ... HTML and XHTML standards. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET Internationalization bug?
    ... The Microsoft team has confirmed the bug. ... For every programming team that works like you do, ... I don't see too clearly the purpose of declaring a single ... which is not as appropriate as HTML and XHTML ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: an old geezer running visual studio for the first time
    ... Consider developing your aspx and ascx files in FrontPage, Dreamweaver, ... > definitely NOT the place to write HTML - so no need for you to think about ... Familiarize yourself with the starter kits at the following link: ... >> I have done quite a bit web programming, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DotNet is behind where we were with VB, about a dozen years ago
    ... >> love programming in C# and VB.Net almost equally, ... >> even a Microsoft vs Java or Flash or competing technology problem. ... >> information technology field came along, with HTML on their brain. ... >> But as a development platform, a web BROWSER, which is suited for ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: an old geezer running visual studio for the first time
    ... Consider developing your aspx and ascx files in FrontPage, Dreamweaver, ... NOT the place to write HTML - so no need for you to think about grid vs flow ... Programming ASP.NET - by Dino Esposito - Microsoft Press. ...
    (microsoft.public.dotnet.framework.aspnet)