Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascript Error
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00774638
Message ID:
00775099
Vues:
12
Bill,

Sorry that didn't help. Most of the time I see "Not Implemented" is when a method is called that does not exist.

>Hi Cathi,
>
>Thanks for responding. Sorry for the delay on replying. Had some other issues come up I'm having to deal with.
>
>I did try this suggestion but the result is the same. And I pretty much expected that for two reasons. My understanding is that javascript is case insensitive so I would not expect "OnClick" or "onClick" or "onclick" to matter. Also, the VS.NET intellisense pops up as "OnClick".
>
>One other point to note, the image is buried in a DIV tag and it is the visibility of the DIV tag that I am programmatically toggling. At any rate, it still properly makes the image visible, but immediately after that, pops up the client side error dialog with the cryptic message "Error: Not Implemented". Real informative since it does not even tell me what is not implemented. :-)
>
>(sigh) I hate javascript. :-)
>
>Bill
>
>>Hi Bill,
>>
>>Change the "OnClick" to "onClick". I don't think javascript is finding the event you are tying into.
>>
>>>I have an ASP.NET form on which I have, among other controls, a web form button and an image contained within a DIV which is inititally set to be invisible. Javascript code is added to the web form button's OnClick event in the form's Page_Load event using the button's Attributes.Add() method to fire a client-side Javascript function which makes the image visible before firing the button's server-side code. The order of events when the web form button is clicked, then, should be:
>>>
>>>1) Fire the javascript function to make the image visible
>>>2) Fire the web form button's server-side code to complete processing
>>>
>>>When the web form button is clicked, immediately after the image is made visible I get a client-side javascript error dialog box stating only a code line number and the message "Not implemented". If the button to not debug is clicked, the image remains visible, as expected, and the code proceeds to execute the server-side code as expected and the proper form postback is completed. If it is chosen to debug from the javascript error dialog, the line indicated is the HTML line defining the web form button containing the programmatically added OnClick event code.
>>>
>>>I cannot see any problem with the code and have found no reference to this javascript error. Has anyone seen this before and what can be done about it?
>>>
>>>Thanks,
>>>Bill
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform