473,499 Members | 1,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler does not recongnize page controls.

description:

I have AbcFile.cs
namespace Abcns{
public partial class AbcFile : System.Web.UI.UserControl
{
properties...
methods..
}
}

and AbcFile.ascx
<%@ Control Language="C#" AutoEventWireup="true"
CodeFile="~/App_Code/AbcFile.cs" Inherits="Abcns.AbcFile" %>
.... and my controls...
<asp:Panel ID="pnlMensaje" runat="server" Height="10%"
Style="left: 1%; width: 100%;
position: absolute; top: 90%; height: 10%" Width="100%">
<asp:Label ID="lblError" runat="server" ForeColor="Red"
Style="position:
static"> </asp:Label>
</asp:Panel>..
....
and the problem!!!!

When i type this.lblError.Text... everything it's ok... The code window
Autocomplete my control's name and properties... but when i build
compiler says:

Acbns.AbcFile does not contain a definition for 'lblError'
wtfk???

if somebody can helpme i'll be so greatfull...

(and excuse my english... if that seems like english hohoho)

Dec 15 '05 #1
2 1032
i dont like your vulgar lenguage, please stop posting this kind of
things

Dec 15 '05 #2
sorry language:P

Dec 15 '05 #3

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

Similar topics

4
1667
by: suzy | last post by:
i am having problems after problems... first i tried to create a page template and finally got that to work. so currently all my pages inherit from a template page class. i am adding controls...
9
2274
by: JTrigger | last post by:
When I compile my project using the IDE on a development machine it works just fine. When I compile it on the server using csc.exe, I get the following error when I try to bring it up in the web...
1
1716
by: Sam | last post by:
According to "Developing Microsoft ASP.NET Server Controls and Components", a control can get the LoadPostData event by using RegisterRequiresPostBack, even if its UniqueID does not match that of...
6
2910
by: Brian Miller | last post by:
I've been constructing an ASP.Net application using the 1.1 framework, and have been using Web Matrix for development purposes. Now that my application is near completion, I wanted to see if I can...
10
5281
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a...
5
1774
by: rawCoder | last post by:
Hi All, In Visual Basic .NET , your function definition might requirre you to return a value but (accidently/intentionally) you dont put any 'return value' in the function. In this case VB...
10
3255
by: Jon | last post by:
I'm investiging multi-threaded GUI applications; specifically the technique used to ensure that controls are only modified under the correct thread. The standard technique is to use ...
0
1282
by: slemen | last post by:
Hi, The asp:EditCommandColumn template does not fire the _edit sutboutine when the edit command column buttons are clicked. I get a Page Cannot Be Displayed page error instead. My (ASP 1.1)...
13
3512
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
0
7130
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
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7386
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
5468
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,...
0
4599
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
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.