Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 June 27th, 2007, 02:05 AM
Registered User
 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in source while using masterpages

I am creating a master page and then adding a content page to it. when i place controls(tags) like update panel or table or textbox or label in the content page(within the content tags) i get a red line under all the tags in that page. when i move my mouse over it, it says "Element UpdatePanel is not a known element This can occur if there is a compilation error in the website" . I have tried all possible alterations but in vain. please help me out. many thanks

Regards,
Sripa.

 
Old June 27th, 2007, 04:28 AM
Authorized User
 
Join Date: Jun 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to naeem.net Send a message via Yahoo to naeem.net
Default

Hi,

 1- Did you try to use the same code in another page ??

 2- Send me the code of the master page to check it

 Thanks

Ali Naeem
 
Old June 27th, 2007, 06:24 AM
Authorized User
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

hi..
i got the same errors but now it is working even with that error.
but in my case i have also installed AJAX toolkit. therefore it was giving me the error like u.

if same is the case with u thn just uninstall everything and then install ajaxext first then toolkit.

but after one day again the same problem. but wen i run the project its working normally.

 
Old June 27th, 2007, 07:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

did you all have the last version of ajax installed??

also did you register all the extensions in the web.config??

Updatepanel is not an asp.net control.. is an Ajax control...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old June 28th, 2007, 08:10 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You will find that there are lots of "errors" in the code view of pages and controls in the Visual Studio products. In many cases it does not have any impact on the actual running of the application. If your application runs then don't worry about those little errors.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
masterpages, contentplaceholder, formview, button miltonsnider ASP.NET 2.0 Basics 5 December 4th, 2007 01:17 PM
Question about masterpages Kjella BOOK: Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages ISBN: 978-0-470-12448-2 3 November 29th, 2007 11:42 AM
Problems with MasterPages gobotsoup ASP.NET 2.0 Basics 2 March 7th, 2007 11:48 AM
MasterPages ContentPages and Meta tags michaelcode ASP.NET 2.0 Basics 5 June 1st, 2006 04:13 PM
MasterPages Help! polonskyg ASP.NET 2.0 Basics 1 March 24th, 2006 12:05 PM





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