Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 September 24th, 2004, 10:27 AM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default .NET 1.0 Service Pack 3 Javascript Error

  I am having this issue and was hoping if somebody have any insight or fix to it.

   My company's web hosting company just updated to the .NET Framework Service Pack 3 last Thursday and that is when I saw the problem. There is a dropdown list that the user can select the different type of payment like "Visa, Mastercard, Discover, etc.". The dropdown gets created in Javascript and use Page.RegisterClientScriptBlock() to register it. There is a onChange function that check what type of payment get selected and either disable or enable the nearby input textbox for the credit card number. The page loads up fine, but everytime the dropdown list get selected the user will get a runtime error complaining that the dropdown is null or not an object.

   It used to work properly until this Service Pack. In fact my development machineworks fine without it until I install the service pack. So I know the service pack broke it.


   Thanks
   Song


 
Old September 25th, 2004, 05:18 AM
Authorized User
 
Join Date: Sep 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to someshtrivedi
Default

Hi,
Before using the DDL in javascript just check whether its null or not, i hope it will solve your problem.

 
Old September 26th, 2004, 02:54 AM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

  Thanks for the reply. On load, it gets loaded and have a value. I believe it have something to do with Postback which makes it get skip or invisible. And it is only on the latest Service Pack, so had to see what changes MS did.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting Service Pack of WinXP using Javascript vicky_barse Other Programming Languages 0 July 25th, 2006 07:41 AM
Service Pack 2 Bug Fix kerati Dreamweaver (all versions) 0 March 23rd, 2005 01:34 AM
help with iis and service pack 2 sg48 VS.NET 2002/2003 0 March 13th, 2005 03:47 PM
RegCreateKeyEx Issue with service pack 2 Renaud C++ Programming 1 February 15th, 2005 12:33 PM
removing service pack Abhinav_jain_mca SQL Server 2000 1 August 13th, 2004 09:54 AM





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