473,472 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Include page ASP VB.net can't access function

Hi

I have a small top navigation bar that is an 'include page' on my other aspx
pages.

The nav bar is navbar.aspx and has a little bit of asp.net code embedded in
it that displays 'Logged in as: name'. The function in it, GetLoginName,
works fine when I preview the page in IE by itself. However, when I preview
index.aspx (the homepage) it comes back with a .Net error that:

'GetLoginName' is not declared.

I don't have Visual Studio, I am just using Frontpage.

Any thoughts appreciated.


Feb 28 '08 #1
0 827

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tom | last post by:
I'm tying myself in knots trying to figure out variable scope with constants and include files. This is what I'm doing: A page (index.php) on my website includes a general purpose include file...
3
by: Dave | last post by:
guys say if I include("anyfile.php") into a file. Is it possible for me to access the calling page from anyfile.php. Can I do something like this for instance:: if callingpage ==...
2
by: Marcus | last post by:
Hello, I am having problems with an include statement. I'm setting a session variable flag and then including a file, and in that include file I have a check at the top to make sure that the...
5
by: mdawg414 | last post by:
Hey guys, please bear with me cause I am a major newbie at php. I am building a website and have it so that the content in the middle of the page changes but the banner on top and the panels on the...
3
by: Nikki | last post by:
Hi, I would like to create a central storage place for javascript functions that I can then access from any of my asp.net projects. An example of what I need it for is as follows: I have a...
5
by: NuB | last post by:
i have an classic asp web app that I'm converting to .NET using C#. The asp app uses about 20 include files on various pages, in the .NET world can i use include files or is it web user controls,...
3
by: ooba gooba | last post by:
After doing some work in both Java and ASP.NET, I came back to add some major enhancements to a PHP 4 application I built several years ago. A lot of the database access is currently sprinkled...
4
by: Jon Slaughter | last post by:
I'm using eval to excute some mixed php and html code but I cannot debug it. I am essentially using filegetcontents to load up a php/html file and then inserting it into another php/html file and...
1
by: rich | last post by:
I have 3 asp pages that look sort of like this: default.asp: <%@ Language=VBScript %> <!--#include file="ExecuteSQL.asp"--> <html> .... <tr><td><!--#include File="login.asp"--></td></tr>...
4
by: Kevin G. | last post by:
Hello all, I have a flat HTML page with 3 distinct HTML tables, and I'm trying to randomly display the tables when the page loads, without repeating. My idea is to use the PHP include() function...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.