Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 August 12th, 2005, 02:33 AM
Registered User
 
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code behind problem..

Hi..

  I have my index.aspx, in which i include top.aspx, left.aspx, bottom.aspx in code behind. To include these files i use this tag . So, it shows error Parser Error and description is this "There can be only one page directive" . But when i use this tage <include file ="top.aspx"> then it does not show any error, but the problem is, using this tag it does not show the data of top.aspx. So, if i include top.aspx using this tag and remaing two files left.aspx and bottom.aspx using this tag <include file ="top.aspx"> then it shows no error and no data of left and bottom files. but shows data of top.aspx. Is there any one who can find the problem.
Thanks
Shabbir


 
Old August 12th, 2005, 03:09 AM
Registered User
 
Join Date: Oct 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure, Do you need to put the file name within <% %>
i.e








Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with example code? j_nord BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 February 28th, 2007 04:03 PM
problem in code HumaMunir BOOK: Beginning Java 2 3 May 16th, 2005 09:19 AM
Problem in Code about "SetValue" arctica82 Pro VB.NET 2002/2003 2 April 15th, 2005 03:39 PM
problem on example code zerocold C# 0 July 15th, 2004 04:19 PM





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