.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Javascript Error using UpdatePanel/TabContainer

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :SharePoint
 

Hi all,

I am developing a website with AJAX technologies: UpdatePanel/TabContainer, within a SmartPart in MOSS 2007 with ASP.NET/C#. The problem i am getting is:

Detalles de error de página webAgente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)Fecha: Thu, 15 Apr 2010 09:38:39 UTCMensaje: Sys.InvalidOperationException: Type AjaxControlToolkit.BoxSide has already been registered.Línea: 2417Carácter: 41Código: 0URI: http://SERVER/ScriptResource.axd?d=uzsIWp-LVCpswy-cYxY6F0kaYLhLubKRZyqE7KF9iAu_g2a_jBCyn5b-toZkPJyDe_WK1FaDUH1_u80tuXtpvCHjXtXNROZdha41ueeSeDk1&t=633524895900156250Mensaje: Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=DzHfp8F4M5iTOnENR9JnReXLIfaXEnnk8vO2d2Ogb_mDtPMz_Ao50HYTPQ9MFbyiKGHEAwJ9M3heDHI3Tuc_oObIa_HdyU2EBVk_NuOzq5zrgSzS2HqD5OEZnEeR8k_30&t=634021768372647500' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings. Missing call to Sys.Application.notifyScript


View Complete Post


More Related Resource Links

javascript error

  

this line is giving error in javascript. Please correct it...

  $('#UnlockDetailsPanel').load('/confidentialdetails/UnlockDetailsUpdate.aspx #UnlockDetailsResult', { action: 'decline', request: <%= Request["request"] %> } );

error is _s.my.confidentialdetails is undefined

 

 


Object or Property is not supported in IE8 - javascript error

  

Hello,

I am using following code line in my web app through external javascript file.

 

this.ViewState.removeChild(this.ViewState.firstChild); 

and

window.__doPostBackOld(arguments[0],arguments[1]);

 

both these methods are working fine in IE6 but failing in IE8 with a error: "Object or Property is not supported".

 

any solution would be appreciated!

 

Thanks


BDC + Document Information Panel Javascript Error

  

I hope someone here can shed some light on this one...

 

We have a document library configured with a few content types and document information panels for those items. Also on this list we have a BDC column setup to pull client names from MS CRM. This works fine on the list itself, however, in Word 2007 - the picker does not show up in the DIP, so we cannot easily select clients without knowing the name (first issue).

Secondly, if we enter in a client name, or partial, we recieve the following error:

"There was an error in the validation code" - with the following details:
Document Information Panel cannot complete this action, because of an error
in the form's code.
The following error occurred:

Object required
FileTongue Tiedcript.js
Line:171

Any help is appreciated!


Run a javascript function after UpdatePanel.Update()

  

I thought that adding the javascript within the ContentTemplate would cause it to run every time the UpdatePanel was updated.  For example, I would assume that for the following:

<atlas:UpdatePanel ID="UpdatePanel1" runat="server" Mode="Conditional" >
    <ContentTemplate>    
        Hello from inside the update panel!!!!
        <asp:Button ID="foo" runat="server" OnClick="foo_Click" Text="Click me to postback!" />
        <script type="text/javascript">alert('Javascript, baby!');</script>
    </ContentTemplate>
</atlas:UpdatePanel>

 would cause the function alert() to run every time the UpdatePanel returns from the button click.  This is not the case, however.

How do I do this?  My update panel contains a scrolling Div and I

Javascript error on Rich Text Editor of CEWP

  
Hi all,

I have a problem that is really bugging and I wasn't able to find any workaround all day. I'll try to give as many details as possible:

I'm maintaining several site collections on a single server and this problem occurs only on one of the site collections. However it occurs on all subsites of this collection, it occurs on old pages and newly created pages, even on pages containing only one empty CEWP.

When I'm pressing the button for Rich Text Editor of CEWP I get the following error:

Message: Invalid argument.
Line: 5740
Char: 2
Code: 0
URI: http://www.dyrlaegeankenaevn.dk/_layouts/1030/HtmlEditor.js

I've tracked down the error with IE developer tools and I found that the error pops up in HtmlEditor.js at

function RTE2_GenerateLaunchArguments(parameterArray, webUrl, containerID)
{
    ............some code goes here......................
    elem=document.getElementById(containerID);
    ............some code goes here......................
}

I followed containerID down the stack and it comes from:

modalpopup and javascript error object required

  
Hi!   I Have this error when click on a button to open a popup box in my page: "object required"   Here is my code:   <%@ Page Language="VB" MasterPageFile="~/artm.master" AutoEventWireup="false" CodeFile="artm_principal.aspx.vb" Inherits="artm_principal" title="Principal" Debug="true" MaintainScrollPositionOnPostback="true"%><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AJT" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">                                      <AJT:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></AJT:ToolkitScriptManager>                                        <AJT:ModalPopupExtender ID="ModalPopupExtender1" runat="server"         &

Javascript Error in Internet Explorer but works fine in Firefox

  
Hi All,i was working on one of the project as it is working fine in Firefox but it is giving the javascript exception in internet explorer.Errror:  Error says  "s" is undefined in the s.currencyCode="USD" line but "s" is defined in the external javascript file  s_code.jsCan anyone suggest the solution for this issue:Please find my code where the error is displayed <script type="text/javascript" language="JavaScript" >var s_account="mnsdev"</script><script type="text/javascript" language="JavaScript" src="http://media.world.com/ads/usen/rpt/Omniture/s_code.js"></script><script type="text/javascript" language="JavaScript" >s.currencyCode="USD"s.charSet="ISO-8859-1"s.SEMct = s.getQueryParam('s_kwcid');s.SEMct = s.getValOnce(s.SEMct,'SEM_ct',0);s.clickPast(s.SEMct,'event9','event10');s.SEMvar=s.getQueryParam('s_kwcid');s.SEMdate=new Date;s.SEMdate.setTime(s.SEMdate.getTime()+60*86400000)if(s.SEMvar){s.c_w('SEM_ck','1',s.SEMdate)}s.SEMchk=s.c_r('SEM_ck');if(s.SEMchk&&s.events)s.SEMok='ok';if(s.SEMvar||s.SEMok) s.t()

Javascript "Undefined is null or not an object" error in IE :S

  
I read around and tried everything to figure out the reason of the issue i'm getting, but i give up, the error i'm getting is only on IE and it's the "Undefined is null or not an object" error.This is it:Line: 29Char: 13Error: 'undefined' is null or not an objectCode: 0This is the script:<script type="text/javascript">    function checkV1() {        if (document.getElementById('CB1').checked)            ValidatorEnable(document.getElementById('CheckBoxListValidator1'), true);        else            ValidatorEnable(document.getElementById('CheckBoxListValidator1'), false);    }    function checkV2() {        if (document.getElementById('CB2').checked)            ValidatorEnable(document.getElementById('CheckBoxListValidator2'), true);        else            ValidatorEnable(document.getElementById('CheckBoxListValidator2'), false);    }THIS IS LINE 29---->    fun

JavaScript Unable To Reload On UpdatePanel Asynchrouns Return

  
I have a simple code that sets the text of a Literal Control to a javascript I want it to run on each asynchronous request.But, the javascript runs only in the first request. The .cs and .aspx code are listed belo:javaScriptUpdatePanel.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="javaScriptUpdatePanel.aspx.cs" Inherits="userControlRepository.javaScriptUpdatePanel" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">    <title>Untitled Page</title></head><body>    <form id="form1" runat="server">        <asp:ScriptManager ID="ScriptManager1" runat="server">        </asp:ScriptManager>        <asp:UpdatePanel ID="UpdatePanel1" runat="server">                        <ContentTemplate>                &nbs

Javascript error when attempting to switch page layouts in SharePoint 2010

  
I hope I put this in the correct forum. I am experiencing the following error when attempting to change the layout of an existing SharePoint 2010 page. But it does not seem to happen on all page types, just publishing pages. This error is happening on both the development server and both test servers. I have look in to the logs, since if it a javascript error there was nothing, which would be expected but I had to try. I have look at the cui.js file but was unable to spend enough time trying to figure out what exactly is going on in this file. Error being received ... Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; .NET4.0C; .NET4.0E; InfoPath.3) Timestamp: Tue, 7 Sep 2010 21:10:54 UTC Message: Object required Line: 2 Char: 6422 Code: 0 URI: http://devintranet2010.myconexus.ca:85/_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3D   If anyone has any ides or can point me in a direction that will allow me to productively continue my investigation, the information would be greatly appreciated. Regards Kyle

Ignore javascript error in modeless dialog

  
my problem is: 1. in Internet Option, i check Disable script debugging (Internet Explorer) and uncheck Display a notification about every script error 2. in my program, i open a Modeless dialog and have a script error in Modeless dialog my problem is Why i checked Disable script debugging (Internet Explorer) and Display a notification about every script error option, but error message still display? May i ignore javascript error in modeless dialog? thanks for your support!    

Error: "Type 'System.Web.UI.UpdatePanel' is not defined"?

  
Can anybody tell me why I'm getting this error on the first line of all my aspx pages? The lines have a blue squiggly line underneath them:<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> Error: Type 'System.Web.UI.UpdatePanel' is not defined 

How to Suppress the JavaScript error tht pops up while printing the WebBrowser content??

  
Hi All, In my windows application I'm loading more than 100 urls in my web browser control one by one in a for loop and need to print them programatically after each URL gets loaded . But, I keep getting the Javascript error for so many URLs. I'm not sure why this error keep coming. Can anyone help me on how to suppress the javascript error through code and proceed. Thank you.

UpdatePanel, Button and Javascript Messagebox

  
Hi,  In my VS 2008 C# net web page, I have some TextBoxes and a Button in an UpdatePanel.The Button's click event will do the Update work to SQL Server.The Update is working, but I would like to have a message box popping out if the Update to SQL Server is successful.How do I do that?  " src="http://forums.asp.net/emoticons/emotion-8.gif">Thanks for help. Jason

JavaScript Error while calling a drill through report in a report viewer from a asp.net web page.

  

I am calling a report in a web page which is getting displayed in report viewer. This report comes fine but when I click on it to see the drill through report for this parent report the drill through report does not get displayed and I see a JScript error instead.

The error I get is something like,

parent.document.GetElementByID(...).ClientController is not null or not an object

The aspx page that contains the report viewer inherits from a master page that contains an Update Panel.

I tested the report separately in SSRS and the drill through is working fine there.

Can some one please provide any inputs on this one?

 

Regards.


error calling javascript in grid view template field

  

I am using a asp link button in grid template field which calls a pop up,i need to find the link button's control in cs page.

my link button code

<asp:LinkButton runat="server" ID="hlQName" Text='<%# Eval("QuestionnaireName")%>' OnClientClick

error calling javascript function in asp link button

  

I am using a asp link button in grid template field which calls a pop up,i need to find the link button's control in cs page.

my link button code

<asp:LinkButton runat="server" ID="hlQName" Text='<%# Eval("QuestionnaireName")%>' OnClientClick

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend