Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion 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 December 15th, 2010, 03:34 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default UserControl and Javascript problems

Hello,

When i am using a tag <script></script> with javascript inside a usercontrol.. that javascript seem not accessible when loaded from an updatepanel. Is there a reason ? if i put it outside everything is working.

Thanks.
 
Old December 21st, 2010, 01:32 AM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

I'm not sure, though this extra level of accessibility issues is one reason why I find writing JS manually is a lot less trouble than working with the "automated" features. Learning C# teaches you a lot of good habits for using a programming language which translate well to working with JS, Java, PHP, or just about anything else. It doesn't do you any good for figuring out bits of framework.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems parsing XML Feed in Javascript kwilliams Javascript 1 November 7th, 2007 05:59 PM
usercontrol and javascript Hanch ASP.NET 2.0 Basics 1 March 7th, 2007 08:38 AM
problems with JavaScript Code red_fiesta Javascript 5 March 6th, 2007 04:44 PM
Problems passing xsl parameters from javascript mxxz XSLT 4 November 3rd, 2006 11:21 AM
Javascript problems LIONEL33 JSP Basics 1 March 6th, 2005 09:23 PM





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