Please help!!  error: __EventTarget is null or not an object

Hi,
I am developing the business charts with dropdownlist in ASP.NET for our new plumtree portal.
The portlets are working perfectly in the VS.NET dev environment, However, whenever I change the selection in the dropdownlist, it doesn't post back but I got an IE error which appears with a little yellow warning sign on the lower left corner of the IE window, which means, the error is on client side.
The error : '_EVENTTARGET' is null or not an object .
I have a feeling that there's something wrong with the javascript behind the sceen when ASP.NET controls try to plug in Plumtree web pages. Since I don't know how to access those Plumtree javascripts, can someone help me out here!!
(If I right click on the web page to get the source code, here's what I found :
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="...................." />
<script language="javascript" type="text/javascript">
<!--
     function __doPostBack(eventTarget, eventArgument) {
          var theform;
          if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
               theform = document.Form1;
          else {
               theform = document.forms["Form1"];
          theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
          theform.__EVENTARGUMENT.value = eventArgument;
          theform.submit();
// -->
</script>
Thank you in advance.

I was also running in the same issue with slightly different settings/environment.
I had couple of portlets written in .Net on one page. One was written in .Net 1.1 and other one was .Net 3.5 with Ajax Extender controls. (Both the apps run fine without portal - ALUI 6.1 environment)
Couple of the link buttons were generating the same error '__EVENTTARGET' is null or not an object , these link buttons were trigger to an update panel.
I tried registering the __EVENTTARGET with the link buttons from the code behind, making the form names same ... .. but nothing helped.
In my case I had to change the asp:LinkButton to asp:Button to avoid __EVENTTARGET generation for the controls.
__EVENTTARGET is only generated for autopostback controls (or in other words controls that do not have submit behavior by default). It is not required for asp:Button.
HTH!
Avinash
Edited by asolvent at 03/12/2008 4:08 PM

Similar Messages

  • Unexpected generation error: 'window' is null or not an object

    Hi All, when I want to deploy a model (my first one, I'm new in this) I'm getting this error unexpected generation error: 'window' is null or not an object.
    The other Question is, how can I see the App?
    Thank you very much

    Hi Dimitry,
    please open a message regarding this problem. There needs to be something corrected in the model. If you like you may refer to my name so I can take over.
    Best regards
    Anja

  • Context Menu error: 'length' is null or not an object

    When we run some of our reports (BI 7.0) and right click on the table to display the context menu we get a javascript error in the bottom left of Internet Explorer. The context menu doesn't appear.
    Once you expand the error is  'length' is null or not an object. It doesn't affect all the reports in fact so far we've only discovered 2 reports with this problem although there may be more.
    The reports with problems have had their own individual web templates developed. We haven't developed much of our own Javascript via the script web item and definitely none that would affect the context menu. The only code we have opens help pages/useful web pages/other apps etc. via buttons.
    None of the reports shows an error when you validate in the WAD software.
    We are currently using IE6 (upgrading to IE8 soon) and we have recently applied SP21 on the Java Stack.

    Hi Fred
    Did SAP come back with an OSS note to correct this issue. I am not finding anything in the Service marketplace.
    Thanks
    Adrian

  • Undefined is null or not an object

    Hi,
    While using surface prompt in 11.1.1.7 in ie8 , it is throwing error "Undefined is null or not an object" and it is in "Opening" state.
    I have tried deleting cache .
    Please could anybody help.
    Thanks and Regards

    Hi,
    While using surface prompt in 11.1.1.7 in ie8 , it is throwing error "Undefined is null or not an object" and it is in "Opening" state.
    I have tried deleting cache .
    Please could anybody help.
    Thanks and Regards

  • 4.0 Calendar link 'length is null or not an object'

    After upgrading to 4.0 earlier this week, we now have a problem with our calendars that were built in 3.1.1. Whenever I click on an event link in IE i get the error "length is null or not an object". When I click the link from Firefox I get the error "b is undefined" from the apex_widget_4_0.js file. After reading the user guide for 4.0, I deleted the region and re-added it with the same SQL, but I get the same error.
    Any ideas on how to fix this?
    Thanks,
    Jonathan
    Edited by: YodaHart on Jul 21, 2010 12:40 PM

    Hi,
    It will be great if you can point to the url where you are facing this issue maybe a url from apex.oracle.com. The comment like clicking on event is throwing an error is confusing, here which event you are talking about.
    I created a calendar in apex.oracle.com of various types SQL Calendar, SQL Calendar with Partial Page Refresh as display type, Easy Calendar , Easy Calendar with partial Page refresh as Display Type and all these calendar provided with day and column link and did not get any issues as specified.
    It will really helpful if you can provide a URL in apex.oracle.com or any other site with the specified issue and also with clear explanation of what "clicking on event" means here
    thanks
    JS

  • HT4759 Please help me. My Apple id not be used in iCloud. After sign in, to iCloud, I have error massage: This Apple ID cannot be used to sign in to iCloud. Create a new Apple ID or sign in with a different one.

    Please help me. My Apple id not be used in iCloud. After sign in, to iCloud, I have error massage: This Apple ID cannot be used to sign in to iCloud. Create a new Apple ID or sign in with a different one.

    For whatever reasons, the "None" option is not always available to all users and I think it may be related to what country you live in. Short of contacting Apple to get it straightened out, if you haven't done anything with your new ID ye - you can create an Apple ID without a credit card and simply abandon the one that you just created.
    This explains how you can creaet an ID without a credit card.
    http://support.apple.com/kb/HT2534
    The two big things that you have to remember for this to work are ... you have to sign out of your existing Apple ID .... Settings>Store>Apple ID - tap the ID and sign out. Then you have to try to download a free app to bring up the window that asks you to sign in or create an ID. Read the information on the website that I referenced above.
    If you have not used the original Apple ID for anything yet, you can simply ignore it and use the new one - or like I said earlier - contact iTunes support and ask them to help you sort it out.
    Here is a link to iTunes support. You can change the country in the bottom right corner of the screen.
    http://www.apple.com/support/itunes/contact/

  • Please help debug 'this.events[...] is null or not an object

    Hi.
    I'm getting this error : line 3267 this.events[...] is null or not an object.
    How can I debug this? when I click yes to debug, I am not brought to my line of code, so I can't figure it out. has anyone encountered this before?

    Hi. thank you for your response. I actually think i pinpointed the code, but don't know how to resolve it.
    it seemed to be coming from a script. when i attempted to delete the javascript, i got a message that it was in use. i deleted all instances of calling it from my afc, when i click 'afc' tab from the scripts page, it still shows that the script is called. the peculiar thing is that it has the correct form, but when it comes to having the name of the dictionary field, it does NOT have it (usual format is 'dictionaryfieldname: when the item is changed', but instead just has 'when the item is changed'. assuming that there was some hanging pointer, i subsequently added this script to all my fields in the afc, and hoped that when i would delete them , it would pick up the orphan reference. if anyone has any ideas how to get around this sticky issue, i'd be greatful. i do not want to delete the afc, or dictionary.

  • 'schInternalColumn' is null or not an object - Error in DIS

    Hi all..
    When I am going to paste any document in DIS, " 'schInternalColumn' is null or not an object " this error comes with check in page...
    What is the issue behind this...Please help me..
    Regards
    Yogita

    Hi Yogita ,
    This issue has got introduced from 0717 patchset that is provided for UCM server , it is already fixed and a patch will be released for the same soon .
    You can select OK (I think it shows up around 7 times) and continue with the operations on DIS . It does not break any functionality .
    Thanks
    Srinath
    Edited by: Srinath Menon on Sep 5, 2012 12:54 PM

  • Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "

    Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
    Please help

    Wait a second, Photoshop can make lattes now?  Personally I prefer my coffee black, but man have I been under-utilizing this program.

  • Please help me my apple id its not working what do i do?

    please help me my apple id is not working what do i do

    If you desire speedy resolution it helps to be more specific with error messages etc. when asking a question here.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • Persistant Status Bar Notification ... error 'SP.UI.Status' is null or not an object

    I want to show a status bar that needs to be persistent on a page. for this I used the following in my master page
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
    HTML, call the JS method:
    <a onclick="ShowStatusBarMessage('Title'!','Awesome message!')">
    Display Status Bar message!
    </a>
    ref:
    http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepoint-2010.aspx
    But what I want is
    to call the function on load. So I used pushed ny function to _spBodyOnLoadWrapper using _spBodyOnLoadFunctionNames.push("YourFunctionName");,
    it throws an error 'SP.UI.Status' is null or not an object
    Next I created and
    deployed a webcontrol and did a registerclientscript, that too gives me 'SP.UI.Status' is null or not an object
    // Define the name and type of the client scripts on the page.
    String csname1 = "AlertScript";
    Type cstype = this.GetType();
    // Get a ClientScriptManager reference from the Page class.
    ClientScriptManager cs = Page.ClientScript;
    // Check to see if the startup script is already registered.
    if (!cs.IsStartupScriptRegistered(cstype, csname1))
    StringBuilder cstext1 = new StringBuilder();
    cstext1.Append("<script type=text/javascript> alert('Hello World!');");
    cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
    cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
    cstext1.Append("script>");
    cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
    What am I missing ?
    How can I get to show a status bar on load of any page, just as you get a health analyzer message when you get into the Central Admin?
    Thanks, Mano
    Mano Mangaldas | Blog : http://howtosharepoint.blogspot.com 

    Ok, for some reason, it is not working for me. Below are the code that didnt work for me
    <script type="text/javascript">
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'red');
    ShowStatusBarMessage('Title!','Awesome message!');
    </script>
    This too didnt work
    <script type="text/javascript">
    function ShowStatusBarMessage()
    var statusId = SP.UI.Status.addStatus('Some title', 'Some message', true);
    SP.UI.Status.setStatusPriColor(statusId, 'red');
    _spBodyOnLoadFunctionNames.push("ShowStatusBarMessage");
    </script>
    I did try to register client script block programatically, that too didnt work
    String csname1 = "AlertScript";
    Type cstype = this.GetType();
    // Get a ClientScriptManager reference from the Page class.
    ClientScriptManager cs = Page.ClientScript;
    // Check to see if the startup script is already registered.
    if (!cs.IsStartupScriptRegistered(cstype, csname1))
    StringBuilder cstext1 = new StringBuilder();
    cstext1.Append("<script type=text/javascript>");
    cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
    cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
    cstext1.Append("script>");
    cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
    Any help appreciated.
    But the below code works..
    <script type="text/javascript">
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
    </script>
    <a onclick="ShowStatusBarMessage('Title!','Awesome message!')" href="#">
    Display Status Bar message!
    </a>
    Thanks
    mano
    Mano Mangaldas | Blog : http://howtosharepoint.blogspot.com 

  • Line: 4868 Error: 'null' is null or not an object

    I got the following error
    "*Line: 4868*
    *Error: 'null' is null or not an object*"
    When im using IE,Scenario like when i click on check box it throws this script error but im not using using any script here...
    I don't know why this kind of error pop's up
    Any idea.. help to me..

    Hi john,
    U need to be some what clear......
    Where, when u getting this error????
    What was the error stack u got????
    Is this error coming on clicking the check box or loading the table or anywhere else?????
    What is ur use case and how u implementing check box in table by binding it in model or just in ViewLayer????
    u have mentioned error pop's up.. From where u get the error????
    As John Stegeman said unless otherwise u giving a clear description or usecase its hard to help u out....
    Regards,
    Suganth.G

  • I have an IPhone operating OS 4.21. I cannot back it up before update and I cannot set up an ICloud account as it needs to be on a version later on the device. Please help, I want to update but not lose everything!

    I have an IPhone operating OS 4.21. I cannot back it up before update and I cannot set up an ICloud account as it needs to be on a version later on the device. Please help, I want to update but not lose everything!

    SorchaH wrote:
    I receive an error "Itunes cannot back up the IPhone because the back up cannot be saved on the computer".. So I tried to download and log into ICLoud but need to do this from my device..
    That would tend to indicate a permissions issues on the computer.
    Running an outdated version of iTunes is of absolutely no benefit.
    All iDevices work with the current version of iTunes.

  • Please help error -9808 when downloading apps in itunes store anyone can help me out

    please help error -9808 when downloading apps in itunes store anyone can help me out

    Click here >  iTunes: Advanced iTunes Store troubleshooting
    Then "expand" Specific Conditions and Alert Messages
    Then click 9808

  • When i search for a website it takes me to another website.  I will click on the link and it takes me to one ive never wanted?  please help very frustrating!  I am not very computer savy, is it my settings or something?  Jen

    When I search for a website it itakes me to another website.  I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy!  Thanks!  Jen

    Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.

Maybe you are looking for

  • ERROR:  An error occurred while building the default domain - 11g

    Hi! I create *.Jspx page, but when I tried to run it then I had an error: RROR: An error occurred while building the default domain. And in log file: wlst > CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_p

  • Can anyone explain this? ORA-01722

    Hi all, Can anyone understand this? I have 3 database servers both running on windows 2000 advanced server, they're used by the development team. Also we have our production database. The 3 databases are cloned from the production, so database config

  • Update in OWB mapping not working

    Hi, I have a source table S1 from which one column X i am passing to a function F as input parameter to get a column value Y from another source table S2(by using database links). In short Table S1 and Table S2 are not on the same server. I am passin

  • Any way to access ddimage forensic images?

    Hi - I've been given a series of drives that supposedly contain images of a bunch of Mac HD's. The drives all contain folders and files named like this: qhq005qla1 qla51ddimage.001 qla51ddimage.002 qla51ddimage.003 qla51ddimage.029 Each drive has two

  • Trial download of Acrobat X

    When I try to download a trial of Acrobat X, nothing happens when I click the Download Button.  I am using Windows 7.