Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 23rd, 2005, 08:38 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to emerald Send a message via MSN to emerald
Default #include file did not work in asp.net

Hi, currently I've a problem in including my header which is in a web form of asp.net. I use the method of include as in asp :

but it did not work in ASP.NET.
Does anybody know how to fix it??
Thanks


Elena
 
Old January 24th, 2005, 01:27 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

1. Are you using Win 2003 as your OS?
2. #include would work in ASP.NET as well. But it has been provided mainly for backward compatibility.
3. Why not make use User controls?

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old January 24th, 2005, 02:33 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to emerald Send a message via MSN to emerald
Default

I'm using Windows XP Professional service pack 2.. Sorry, as I am beginner of asp.net, i am not familiar with user controls.. can you show me the codes? Thanks in advance

Elena
 
Old January 26th, 2005, 11:32 PM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to emerald Send a message via MSN to emerald
Default

Thanks Vadivel for the suggestion. After I change the include file to user control, it works..but one problem remain, why I can not change style to gridlayout ?

Elena
 
Old January 27th, 2005, 01:38 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

All objects in a Web User Control are placed in FlowLayout only. The page you place the user conrol on can be changed to GridLayout.





Similar Threads
Thread Thread Starter Forum Replies Last Post
include style in asp.net Magen ASP.NET 1.0 and 1.1 Basics 3 February 26th, 2007 07:14 PM
difference between include file & include virtual crmpicco Classic ASP Basics 2 January 23rd, 2006 11:50 AM
include php inside the asp file karib Classic ASP Databases 2 November 25th, 2003 03:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.