AJAX :: Error With OutputCache When Use Accordion In Toolkit/'Sys.Extended.UI' Is Null Or Not An Object

Mar 5, 2011

i use accordion from ajax toolkit it work correctly when i use outputcash it gives me this error:

Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object

[Code]....

View 2 Replies


Similar Messages:

AJAX :: Microsoft JScript Runtime Error: 'Sys.Extended.UI' Is Null Or Not An Object

Mar 20, 2010

This is the following structure of my solution explorer.

base directory -> i have a login.aspx and a reference directory which refers to ajax toolkit. The ajax toolkit works fine here.

private directory -> i have my homepage but the ajax toolkit doesn't work here. the above error is shown at this location :-

(function() {var fn = function() {$get('ToolkitScriptManager1_HiddenField').value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel1"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel1"));
});

I have one web.config in the private folder . This is the structure :-

<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
</system.web>
</configuration>

If i allow all users to access this folder or remove this web.config file, then the ajax toolkit works. I need to protect this folder and i am using form authentication. Could someone point me where i went wrong. Kindly keep in mind that i am new to asp.net.

View 7 Replies

AJAX :: CalendarExtender Giving Error On Page . 'sys.extended.ui.textboxwrapper Is Null Or Not An Object'

Nov 27, 2010

I decided to use the CalendarExtender on a project and I converted it from VS 2005 to Web Developer 2010 Express. I initially added the AJAX toolkit for ASP.NET 4.0 and the calendar extender worked fine. However, I realised that the server didn't have ASP.NET 4.0 installed and I thought it would be simpler to add the toolkit for 3.5 instead and change the target framework to 3.5. I tried and then the CalendarExtender did't work at all. When you click the textbox nothing happens. There is the error on page - 'sys.extended.ui.textboxwrapper is null or not an object'

I tried switching the project back to 4.0 and using the other one and that no longer works for some reason. The same in 2008 Web Developer Express. I've clearly done something wrong along the way, but I can't work out what it is.

Here's the source for a page on a test Web Developer 2008 Express project.

[Code]....

View 2 Replies

AJAX :: Microsoft JScript Runtime Error - "Sys.Extended.UI" Is Null Or Not An Object.

Apr 8, 2010

i am using urlrewritingnet for url rewriting. at one of my page i am using auto complete extender . it works fine for first page weirdly because also that page is getting url rewriting.

now let me explain you

my normal page is

domain/Pokedex.aspx

here what i do for url rewriting

[Code]....

ok now problem does not happen when i type this : domain/Pokedex.aspx. but i when i type this problem occurs : domain/Pokedex-2 which is equal to domain/Pokedex.aspx?page=2. here is the problem screen shot but when i type this problem does not happen : domain/Pokedex.aspx?page=2 so it is about url rewriting i guess

View 8 Replies

AJAX :: Sys.Extended.UI.HTMLEditor.Editor Is Null Or Not An Object

Jan 5, 2010

Iam using AJAX HTML Editor in my project. Initially i made the HTML Editor as invisible and if i click on the button the HTML Editor shoud be visible but when i click on the button iam getting this errorr "Sys.Extended.UI.HTMLEditor.Editor is null or not an object".

View 1 Replies

AJAX :: Sys.extended.UI.PositioningMode.Absolute Is Null Or Not An Object ,callout Ajax Control

Apr 17, 2010

I'm using callout ajax control but i'm getting an error "sys.extended.UI.PositioningMode.Absolute"

View 2 Replies

AJAX :: Sys.Extended.UI Is Null Or Not An Object, CombineScripts="true"

Jan 20, 2011

I'm getting frustrated with all this.

In my new webpage version I've added ajax toolkit 4.0 and runing framework 4.0, there seems to be some problems with the ToolScriptManager CombineScripts.

I have a MasterPage that all pages derives from and in this MasterPage I have a ToolKitScriptManager with LoadScript.....="false" CombineScripts="true". In my masterpage I've added a ModalPopUpExtender

When I start the webpage I can't show ModalPopUp (www.url.com) but if I go to any other page it works ex. (www.url.com/testpage/), if I disable CombineScripts="false" the the starting page works but then I get so many more httprequests.

View 1 Replies

AJAX :: Collapsible Panel Extended - Sys.Extended.UI Error

Aug 15, 2010

I have a collapsible panel on my page that has been working up until yesterday. I have no idea what changed, however, it is no giving me the following error.

Microsoft Jscript runtime error: 'Sys.Extended.UI' is null or not an object.

Below is the code for the Collapsible Panel, however, I don't think it has anything to do with it since it has always been working.

<asp:CollapsiblePanelExtender
ID="cpeStandardInformation"
runat="Server"
TargetControlID="pnlCreate"
ExpandControlID="imgStandardInformation"
CollapseControlID="imgStandardInformation"
Collapsed="False"
ExpandedImage="~/images/Minus-Green-Button.png"
CollapsedImage="~/images/Add-Green-Button.png"
SuppressPostBack="true"
ImageControlID="imgStandardInformation"
/>

View 3 Replies

C# - Panel DefaultButton Not Works When Textbox Is Extended By AJAX Toolkit AutoComplete?

Apr 4, 2011

I am using ASP.NET Panel to set Default Button for some Controls like TextBox but it seems to not work due to AJAX Control Toolkit's AutoCompleteExtender.

Code is as below:

<asp:Panel ID="pnlSearchBox" runat="server" class="search-main-box" DefaultButton="lnkSearch">
<asp:TextBox ID="txtLocation" runat="server" CssClass="input-field" MaxLength="200" style="width: 182px; margin-bottom: 7px;"></asp:TextBox>
<ajaxToolkit:AutoCompleteExtender runat="server" BehaviorID="AutoCompleteEx" ID="aceLocation"

[Code].....

View 1 Replies

AJAX :: Javascript Error ...is Null Or Not An Object?

Mar 12, 2010

Ik keep getting this sort of errors when using Ajax controls.The colorpicker extender and the Cascaded dropdown generate this kind of error in my application.I have a scriptmanager in my masterpage.I already tried using a scriptmanager proxy.What could cause these errors?I have the controls inside template fields of data presentation controls.

View 2 Replies

AJAX :: Javasript Error 'this.get_element() Is Null Or Not An Object'?

Jun 23, 2010

While testing an AJAX enabled web app I sometimes stumbled upon this script error: 'this.get_element().style' is null or not an object. It was a hard nut to crack this one.This was the actual message

'this.get_element() is null or not an object'

The situation:AJAX Enabled web app using slider extenders . In some circumstances a script error is generated. In most cases it is not.

The reason:It turned out that the error happens at times when a new Postback is triggered while a previous one hasnt finished yet. That is quickly changing the sliderhandle's position in this scenario. The Postback where triggered because i had set the AutoPostBack property of the extended TextBox to "true".I have some code running inside the event handler

View 7 Replies

Error Using Editor Control From Ajax Control Toolkit / Value Cannot Be Null Or Empty

Mar 27, 2011

When trying to use the editor control i'm getting the following error:

Value cannot be null or empty.

Parameter name: elementID

Here's my HTML:

[code]....

I'm using asp.net 4 with ajax control toolkit for version 4.

I believe the error is talking about the routing I have. Is there something special I have to do if I want to use the toolkit and custom routing?

View 1 Replies

AJAX :: Cannot Get Control Toolkit's Accordion To Work?

Jan 3, 2010

I've practically spent seven or eight hours trying to get the ASP.NET AJAX Accordion to work and it simply will not cooperate. I have been to every imaginable corner of the web to Bing and Google, read post after post on this forum, and done any other thing I could possibly think of to get this to work, yet I still hit this wall.

Here's the code I've been using to get this to work:

[Code]....

As for the Massachusetts/Arkansas bit, I found that on some other forum that said that coding would work (it didn't for me). I'm hosting this failed attempt at [URL]. I do have the Bin folder in the project, so that's not the issue.

View 18 Replies

AJAX :: Use A ControlParameter That Is Inside An Accordion Of Toolkit?

Nov 25, 2010

I'm using an accordion control with a textbox to get data that I'll use later to get values for a ObjectDataSource, that use the data of the textbox as ControlParameter.

my problem is that I'm getting a 'Not found control error...' because the textBox is inside the accordion how can I reffer the control into my ObjectDataSource?

Here is a reduce example of my code.

[Code]....

View 2 Replies

AJAX :: Microsoft JScript Runtime Error: 'get_postBackElement().id' Is Null Or Not An Object?

Dec 9, 2010

I am getting this error in my UpdatePanelAnimationExtender. it onluy happens when i se controls that are outside gridview?

View 2 Replies

AJAX :: Microsoft JScript Runtime Error: 'document.getElementById(...)' Is Null Or Not An Object?

Apr 2, 2010

I am using some AJAX and some JQuery for Login panel animation in Master page.Also in my home page I am using AJAX Tab container.It works fine when I run the application without login.If I logged in I got the following error when I put the breakpoint into my code,

Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object,It shows at the following Line at the Home[dynamic] page.

document.getElementById('ctl00_sdfsf').dispose = function() {
Array.remove(Page_ValidationSummaries, document.getElementById('ctl00_sdfsf'));
}

View 3 Replies

AJAX :: Create Databound Nested Toolkit Accordion Programatically (In Code Behind)?

Aug 24, 2010

I have this so far but kind of stuck on how to do it programtically if I'm using header and content templates I have a xmldatasource..In a nutshell at what point in my code do I need to create a new accordion? does it need to be in the item_databound handler?

[Code]....

[Code]....

View 3 Replies

Web Forms :: Formatting AJAX Toolkit Accordion Control In VS2010 Designer Using Skin File

Jul 9, 2010

When I format an accordion control using a skin file (as opposed to entering the formatting as attributes on each <asp:Accordion> tag), the control renders as expected when the website is run. However, in the VS2010 designer, the control won't display but instead shows the generic "Error Rendering Control" box which hasthe exception, "Collection was modified; enumeration operation may not execute."

View 1 Replies

Error In ScriptResource.axd: "Object Of Type 'Sys.Extended.UI.AccordionBehavior' Cannot Be Converted To Type 'Sys.UI.Behavior'

Oct 14, 2010

I have an asp.net web site where I'm trying to resolve what looks like a problem with ASP.NET AJAX:

Microsoft JScript runtime error:
Sys.ArgumentTypeException: Object of
type
'Sys.Extended.UI.AccordionBehavior'
cannot be converted to type
'Sys.UI.Behavior'. Parameter name:
instance

I've googled around a lot, and looked at the code presented (see below, no idea what it means) but no luck.

I've tried changing scriptmanger scriptmode to release, and a bunch of other things too.

Details:

Visual Studio 2010
ASP.NET 4.0
Ajax control toolkit 4.0
jQuery 1.4.2
jQuery UI 1.8.5

JS Code the error occurs in, inside ScriptResource.axd:

dispose:function()
{
var c=this;
b.UI.Behavior.callBaseMethod(c,eb); --------- this line
var d=c._element;
if(d)
{
var f=c.get_name();
if(f)
d[f]=a;
var e=d._behaviors;
Array.remove(e,c);
if(!e.length)
d._behaviors=a;
delete c._element
}
}

Declaration of accordion control:

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="atlas" %>
(snip)
<atlas:Accordion ID="menu" runat="server" SelectedIndex="0"
ContentCssClass="accordionContent" FadeTransitions="true" FramesPerSecond="30"
TransitionDuration="250" AutoSize="None" Width="270">
</atlas:Accordion>

*Update: *
Added accordion control declaration as requested, is there anything else I can add that could be useful?

Does anyone have any idea about this error at all - am I right in thinking it's MS AJAX not playing nicely with other javascript (probably jQuery UI) on the page?

View 1 Replies

AJAX :: Error: Sys.Extended Is Undefined - When Deployed And Compiled On Iis7?

May 23, 2010

Error: Sys.Extended is undefined

View 3 Replies

AJAX :: ComboBox Runtime Error When Deleting The Text / '_optionListItems[...].text' Is Null Or Not An Object

Feb 2, 2011

I have a problem with the Ajax ComboBox from the Ajax Control ToolKit. When I want to erase the text in the ComboBox, I got this error:

"Microsoft JScript runtime error: '_optionListItems[...].text' is null or not an object". I only get this error when deleting the content of the Combox is the first action I do on the ComboBox. If I overwrite the text by entering something else before deleting this text, I got no error.

View 2 Replies

C# - Object Reference Error Even When Object Is Not Null?

May 27, 2010

i have an application wherein i have incorporate a "Remember Me" feature for the login screen. I do this by creating a cookie when the user logs in for the first time, so next time when the user visits the site i get the cookie and load the user information.

i have written the code for loading user information in a common class in the App_Code folder...and all my pages inherit from this class.

code for loading the user info is as follows:

public static void LoadUserDetails(string emailId)
{
UsersEnt currentUser = UsersBL.LoadUserInfo(emailId);
if (currentUser != null)
HttpContext.Current.Session["CurrentUser"] = currentUser;
}

Now the problem is i get an "Object reference" error when i try to store the currentUser object in the session variable (even though the currentUser object is not null). However the password property in the currentUser object is null.

View 3 Replies

Web Forms :: Microsoft JScript Runtime Error On Page - "null" Is Null Or Not An Object

May 17, 2010

m getting this error again and again. i m also using the ajax modalpopup extender in my page ..

View 3 Replies

Web Forms :: Microsoft JScript Runtime Error - "null" Is Null Or Not An Object

May 13, 2010

My site was woking fine, now i noticed that i get an error "Microsoft JScript runtime error: 'null' is null or not an object" when i checked the view source, i saw the following system generated code

<script type="text/javascript">
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
&nbsp;&nbsp;&nbsp; ValidatorOnLoad();
function ValidatorOnSubmit() {
&nbsp;&nbsp;&nbsp; if (Page_ValidationActive) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ValidatorCommonOnSubmit();
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WebForm_AutoFocus('txtMailAddress');// --> IS THIS RIGHT???? out side the braces???
</script>
</form>
</body>
</HTML>

and a reference to this line below

<IFRAME id="__hifSmartNav" name="__hifSmartNav" style="display:none" src="/m2qa/WebResource.axd?d=fvL5WUdiCo1B4KvdiJfkfg2&t=633546432952161750"></IFRAME>

View 3 Replies

Jquery - Anchor Click Triggers Parent Click Only In IE (Ajax Toolkit Accordion)?

Feb 4, 2011

I have the following inside of my Header Template of an Ajax Accordion:

[code]....

I need this to work without JS as well, which is why I still generate the HREF on the links, so I'm just intercepting the click and then invoking the parent click which in turn toggles the accordion header.

This works in IE but no Firefox, Chrome.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved