CodeVerge.Net
Beta
Explore
Item Entry
Register
Login
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win
Can Reply:
No
Members Can Edit:
No
Online:
Yes
Zone:
>
Asp.Net Forum
>
visual_studio.visual_studio_2005
Tags:
Item Type:
Date Entered:
3/7/2006 5:28:56 AM
Date Modified:
Subscribers:
0
Subscribe Alert
Rate It:
NR
XPoints:
N/A
Replies:
2
Views:
75
Favorited:
0
Favorite
3 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
"bobek007" <>
NewsGroup User
disappointed..... can't reference control from code-behind page
3/7/2006 5:28:56 AM
0
I'm working on an ASP.NET page that contains <asp:button ID="mybutton1">
When I attempt to reference this button in the code-behind page, intellisense recongnizes it, but it generates the following error at compile time:
The name 'mybutton1' does not exist in the current context.
I have tried to enter some other controls and I always get same result.
I am using Visual Studio 2005. I've seen some posts from people with the same problem. Soulutions they are offering are like "create new file -> copy & paste code", etc... that's silly...
Do I have some beginner's difficulties or VS2005 screwed something up?
I am moving from ASP to ASP.NET and I must say I am starting to regret. I am currently on the half way to complete my first .NET application and, I must say, all the time I was afraid that something will happen, some error will pop-up and I will not have clue what's going on. Today this is the case.... we will see what will be tomorrow. Is there any alternative to VS2005?
Thanks.
"llangleyben" <
NewsGroup User
Re: disappointed..... can't reference control from code-behind page
3/7/2006 7:09:15 AM
0
Hi,
Can you post code lines related to compiler error?
Leon Langleyben
MCSD, ASP.NET MVP
Blog
"bitmask" <>
NewsGroup User
Re: disappointed..... can't reference control from code-behind page
3/7/2006 2:52:17 PM
0
Make sure you have runat="server" in the control. You need runat="server" to access the control from code-behind.
3 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Free Download:
Invite
Members
SiteMap
where is the 'web control library' icon in my new projects dialog box in vs 2005 team suite edition?
please help me! (asp.net with win mce)
prompted for network username and password when connecting to asp 3.0/fpse with vs 2005
multiple popup windows
can a .net 1.1 dll be used in a asp.net 2.0 project
no web reference proxy class for cls compliance
duplicate solution file
visual studio causing computer to reboot without notice!
question on copy web site tool in vs2005
vs2005 doesn't like 1.1 after install. what to do?
new project wizard
vista: opening a .vsi as win folder?
creating a smart tag library
deploy to dev server on code check-in
cant get flash component
versions
initial visual studio environment choices for team ed. for architects
order of document tabs in vs 2005
web deployment project. merging xml files
visaul studio 2005 work screen...all messed up...?
deployment problems to production system
cannot create queries on datatable in vs dataset designer
turning off pixel width for tables in visual studio
how to connect vs.net 2005 with vss 6
access the finger print reader through browser(web page) using java script
problems debugging a website with com-objects.
switch between local debugging and remote debugging using web deployment projects
microsoft visual web developer 2005 for asp 1.1?
concatenate script files and line-ending problems
server side imports
empty solution and adding projects problem
how do i copy a project in vs 2005?
when selecting file->new->project no c# options presented ...
create new stored procedures option disabled??
add an activex control to webform
intellisense only working when i press on alt+right arrow
extremely slow web site build
questions about .pdb
vs 2005 intermittent bs-mf compile error
dynamic documentation from documentation tags i source code
unable to set breakpoint in included c# file
"unable to connect to visual studio's localhost web server"
why are the visual studio add-in assemblies being added to my web.config?
refresh control & visual studio code behind
previewing and printing a report in asp 2.0 with crystal reports and vs 2005
visual studio 2005 service pack 1
empty elements in xml
quick creation of event handlers
breakpoint not working. i'm a bit stuck.
testing
Search This Site:
Privacy
|
Contact Us
All Times Are GMT