Re: ASP.NET
From: Jon (jonspivey_at_NOCRAPTHANKStiscali.co.uk)
Date: 02/08/04
- Next message: JDR: "RE: Insert for download"
- Previous message: E. T. Culling: "Re: Insert for download"
- In reply to: chris leeds: "Re: ASP.NET"
- Next in thread: chris leeds: "Re: ASP.NET"
- Reply: chris leeds: "Re: ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 8 Feb 2004 17:39:40 -0000
Chris,
using includes in aspx pages isn't really the best way to go. You'd probably
want to use a user control. Firstly make your control like this
<%@ control language="vb" %>
' your html
Save with an .ascx extension (eg YourControl.ascx) now on the page(s) you
want to include this content register it at the top of the page
<%@ Register TagPrefix = "Chris" TagName = "YourControl"
Src="controls/YourControl.ascx" %>
then include it
<Chris:YourControl id="TheControl" runat="server" />
Obviously you can use whatever names you like for TagPrefix, TagName and ID
Jon
Microsoft MVP - FP
"chris leeds" <chris@nedp.net> wrote in message
news:u3qRzhm7DHA.2300@TK2MSFTNGP10.phx.gbl...
> I just want to do a FrontPage include page into an aspx page and I can't
> seem to. I can't seem to find a solid answer as to whether it's possible
in
> fp 2003 or if there's some sort of trick or hack.
> I think if VS was a little more user friendly the FrontPage users who are
> really motivated will use it in tandem. It's what we've been doing with
> photo editors and menu making utilities and the like for a while anyway.
> Maybe I'm on the dense side (I can't seem to learn flash) but every time
> I've opened VS it's like alien technology to me.
> </IMHO>
> "Jim Buyens" <news@interlacken.com> wrote in message
> news:36a7e008.0402080910.2f49b940@posting.google.com...
> > "Jim Cheshire" <contactme@www.jimcoaddins.com> wrote in message
> news:<e79JyCf7DHA.1040@TK2MSFTNGP10.phx.gbl>...
> > > > tools specifically oriented to Web designers aren't
> > > > there yet.
> > >
> > > I think the Web Forms designer team at Microsoft would probably
disagree
> > > here. While VS.NET does fall short of FrontPage in the area of table
> > > editing and in some other areas, for the most part, the VS.NET
designer
> is
> > > pretty darned good. Whidbey is a HUGE step forward in this area and
> will
> > > likely dwarf FrontPage in producing good HTML code.
> > >
> > > --
> > > Jim Cheshire
> > > Jimco
> > > http://www.jimcoaddins.com
> >
> > The other branch of this thread illustrates a sure trend of Web
> > designers sticking with tools like FrontPage, Dreamweaver, and ASP.
> >
> > Some of this is learning curve, and some is a factor of hosting
> > services not installing the .NET Framework on their servers. But the
> > biggest reason for Web designers avoiding .NET seems to be that:
> >
> > o Visual Studio doesn't have the WYSIWYG design tools that
> > Web designers want.
> > o WYSIWYG design tools like FrontPage and Dreamweaver don't
> > have the coding, testing, and deployment tools that make
> > ASP.NET easy to use.
> >
> > If Microsoft fixes this in Whidbey, great. Personally, I find it hard
> > to visualize the Visual Studio team bringing, artistically-oriented,
> > non-programming designers into their usability labs and reworking the
> > product based on that input. But maybe they are, and if so I
> > congratulate them.
> >
> > Otherwise, they and the Office team need to get more .NET features
> > into FrontPage.
> >
> > Jim Buyens
> > Microsoft FrontPage MVP
> > http://www.interlacken.com
> > Author of:
> > *----------------------------------------------------
> > |\---------------------------------------------------
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||---------------------------------------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/---------------------------------------------------
> > *----------------------------------------------------
>
>
- Next message: JDR: "RE: Insert for download"
- Previous message: E. T. Culling: "Re: Insert for download"
- In reply to: chris leeds: "Re: ASP.NET"
- Next in thread: chris leeds: "Re: ASP.NET"
- Reply: chris leeds: "Re: ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|