Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 July 4th, 2007, 01:34 AM
Authorized User
Join Date: Jun 2007
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me...I have an error in webform


I had copied a webform and its code behind page in an asp.net application to

another application.I used nearly 50 controls in that form.

I got a compilation error "The name 'span1' does not exists in current context".

I can't get a solution through browsing.

Please provide a solution for me... as soon as possible...

Thank You,

Subhashini Palanivel.

Old July 4th, 2007, 02:24 AM
Friend of Wrox
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post

The control span1 must be missing its declaration attribute on server side, are you using 1.1 or 2.0 version? if 1.1, check for the declaration on top of page in the control declaration section, and if 2.0, check in the designer.aspx.cs for the declaration for this span.


Don't expect too much, too soon.

Similar Threads
Thread Thread Starter Forum Replies Last Post
checkbox selection in a webform vinodonline2000 ASP.NET 2.0 Basics 1 July 27th, 2007 05:52 AM
parser error in webform after uploading vivek123 ASP.NET 1.0 and 1.1 Professional 4 August 27th, 2006 11:49 PM
Show WebForm johanyu ASP.NET 1.0 and 1.1 Basics 5 October 14th, 2004 01:07 AM
refresh webform Abhinav_jain_mca General .NET 1 August 3rd, 2004 05:42 AM

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