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
Similar Messages:
Jun 11, 2010
I have implemented a collapsible panel which works properly. It collapse and it extends the content panel when the link corresponding to the information panel is clicked. Within the content panel I have an HTML table control containing several rows and columns. Within one of these columns I have added a container (a <DIV> tag) holding a Google map. Here is the issue:
The map does not properly show up within the container when the content panel is extended. It appears to be shifted to the left, not centered as it should be. Therefore, any attempt to place a point mark on the map (centering the map over that point mark) is unsuccessful since the map doesn't show properly in the container so the point mark is not visible. Even if I drag the map with the mouse within the container, it always reposition at a bad location. If I comment out the extender, leaving the panel as is, the maps shows properly within its container. It is the collapsible panel extender which makes the layout to be incorrect.
View 2 Replies
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
May 23, 2010
Error: Sys.Extended is undefined
View 3 Replies
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
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
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
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
Apr 14, 2010
We just upgraded from 2.0 to 3.5 and the latest AJAX Toolkit. AjaxControlToolkit.dll is version 3.5.40412.0
Project references are up to date. The old Toolkit files were deleted and the new ones copied from the distribution ZIP. ScriptManagers were replaced with ToolkitScriptManagers. The project builds with zero errors. The built-in AJAX controls (UpdatePanels, etc.,) work but the Toolkit controls don't. This is happening on local developer boxes and on our development server.
The javascript error we're seeing is "Sys.Extended is undefined." It's occurring in server-generated script blocks like this:
<script type="text/javascript">
//<![CDATA[
(function() {var fn = function() {$get('ctl00_ToolkitScriptManager_HiddenField').value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TextBoxWatermarkBehavior, {"ClientStateFieldID":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender_ClientState","WatermarkCssClass":"Watermark","WatermarkText":"keyword","id":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender"}, null, null, $get("ctl00_PageTop_Search_TextBox"));
});
//]]>
</script>
I found a similar post on CodePlex: http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=26717&FocusElement=CommentTextBox
View 1 Replies
Apr 13, 2010
I have an load of images on my form with the purpose that if the user holds the mouse on it, (s)he gets a tooltip with some information. The image is a questionmark.The users are now asking if the duration of this tooltip can be extended so they actually can read all of the tekst.So it would be great if a TooltipExtender could be created that can be connected to a image control (or any other)
View 2 Replies
Nov 17, 2010
i extended a dropdownlist on a textbox. now how to set the datasource of this textbox.im tryingtextbox1_dropdownextender.
View 2 Replies
Sep 8, 2010
I need to move rows order inside a GridView. Recently I tested the following code :
[URL]
This is working perfectly on FireFox, Google Chrome, Safari. But I noticed a strange behavior with Internet Explorer.
On the others browsers (FireFox, Google Chrome, Safari) when having a very long page (gridView larger than browser page viewport), I could drag the row passed down the browser viewport and then browser automaticly scroll down the page to allow me to reach a lower gridview row. However on Internet Explorer that does not work ! The page does not automaticly scroll, Nothing happens. And it is not possible to do scroll it manually with the mouse wheel during dragging operation.
Is there a workaround that achieve the same behavior as others browser ?
View 11 Replies
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
May 28, 2010
I just recently updated to the latest version of the AjaxControlToolkit and now my TabContainers don't work (only thing i'm using the toolkit for). It looks like the client code to make the correct tab visible is never getting called. The error I'm getting with Firefox is "Sys.Extended is undefined", and with IE I get "'Sys.Extended.UI' is null or not an object".
I'm using the .NET framework 3.5
1). I already changed all the ScriptManagers in my project to ToolkitScriptManagers per a javascript error message I was getting earlier.
2). I already checked my web.config and it looks good:
[code]....
View 4 Replies
Apr 17, 2010
I'm using callout ajax control but i'm getting an error "sys.extended.UI.PositioningMode.Absolute"
View 2 Replies
Oct 20, 2010
I am using a grid view as a child control inside a grid view and using an collapsible panel extender to show and hide the child grid.
Here is my code
[Code]....
I am getting the following error:
Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'cpe' can't be added to the application.
View 6 Replies
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
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
Oct 18, 2010
I need to access, merge and parse my log files using my asp.net application programmatically. I use shared hosting and as I can see log files are out of the root directory of my website? Is there anyway to access those files from my application?
View 1 Replies
Apr 4, 2011
I'm currently developing a web site that will make heavy use of asp.net membership. (Using Umbraco, but that just uses the regular asp.net membership provider).I want to store some extended information about a user and I'm considering if I should store the information in the profile or in a custom table. Is there any pros / cons to any specific method? Some properties like payment details are more natural to place in the profile, on the other hand, a transaction log seems less natural residing in the user profile (IMHO). Any thoughts on this?
View 2 Replies
Apr 14, 2010
I am having trouble wiht my AJAX collapsible Panel Extender. I have the CPE opening a panel that contains the Table of Contents of a document being displayed on the page. A user clicks on the link for a certain part of the document, the event triggers a C# function that gets the file that particular section is contained in an displays the section. Right now you have to, of course, click on the TitlePanel to open and to close the CPE. What I want to do is have it close automatically whenever a link inside the content panel has been clicked. I have tried placing this.cpeTOC.Collapsed=true; in the functiion that gets the files but it does not work. I have also tried the autocollapse property of the CPE and it just collapses whenever someone moves thier mouse from the titlepanel.
View 1 Replies
May 19, 2010
Below is my code:
<asp:TextBox
ID="FromDateTextBox"
runat="server" />
<asp:ImageButton
ID="FromDateImageButton"
runat="server"
ImageUrl="~/images/calander.png" />
<ajaxkit:CalendarExtender
ID="FromDate"
runat="server"
TargetControlID="FromDateTextBox"
CssClass="CalanderControl"
PopupButtonID="FromDateImageButton"
Enabled="True" />
<ajaxkit:MaskedEditExtender
id="FromDateMaskedEditExtender"
runat="server"
targetcontrolid="FromDateTextBox"
Mask="99/99/9999"
messagevalidatortip="true"
onfocuscssclass="MaskedEditFocus"
oninvalidcssclass="MaskedEditError"
masktype="Date"
displaymoney="Left"
acceptnegative="Left"..........
I've set Culture="auto" UICulture="auto" in @Page directive and EnableScriptGlobalization="true" EnableScriptLocalization="true" in script manager to have client culture specific date format in my textbox.
I also have a Go button on my page on which I will do a partial post back. So, I want to validate the FromDateTextBox in javascript when the Go button is clicked.
UPDATE
I know how to create a javascript click handler. But because masked editor is already validating the date on focus shift, I'm thinking there should be some boolean property (like IsValid) exposed by it which will allow me to see if the text box contains valid date.
FURTHER TRIALS
I also tried below code and Page_Validators[f].isvalid always returns true even when the date is invalid and MaskEditValidator shows me a red star near the Text box.
function isDateValid() {
var b = true;
for (var f = 0; f < Page_Validators.length; f++) {
if (!Page_Validators[f].isvalid)
b = false;
}
return b;
}
$('#GoButton').click(function() {
if (!isDateValid()) {
return false;
}
loadProducts();
});
View 2 Replies
Apr 5, 2010
I'm currently involved with developing a C# CMS-like web application which will be used to standardise our development of websites. From the outset, the idea has been to keep the core as simple as possible to avoid the complexity and menu/option overload that blights many CMS systems. This simple core is now complete and working very well.
We envisisaged that the system would be able to accept plugins or modules which would extend the core functionality to suit a given projects needs. These would also be re-usable across projects. For example, a basic catalogue and shopping basket might be needed. All the code for such extensions should be in seperate assemblies. They should be able to provide their own admin interfaces and front-end code from this library. The system should search for available plugins and give the admin user the option to enable/disable the feature. (This is all very much like WordPress plugins)
It is crucial that we attack this problem in the correct way, so I'm trying to perform as much due dilligence as possible before jumping in.
I am aware of the Plugin Pattern (http://msdn.microsoft.com/en-us/library/ms972962.aspx) and have read some articles on it's use. It seems reasonable but I'm not convinced it's necessarily the correct/best technique for this situation. It seems more suited to processing applications (image/audio manipulation, maths etc).
Are there any other options for achieving this kind of UI extensibility functionality? Or is the plugin pattern the way to go?
I'd also be interested if anybody has links to articles that explain using the plugin pattern for this purpose?
View 1 Replies
Jan 25, 2011
I've built a control that inherits from a Gridview. I also have a class where I extended DataControlField, so I can make a custom Gridview column.
Everything works great on a normal aspx page that gets refreshed everytime I load tha page or paginate through the gridview.
The code always goes through the extended DataControlField Class and rebuilds the gridview columns etc.
I tried adding my gridview inside an updatepanel today. set the updateMode to conditional(currently have a normal asp gridview in it and that works well).
the grid loads fine on the initial load, but if I try to page it breaks. It never goes through the extended DataControlfield class. I place a breakpoint there. and because of this my code in the gridview class gives me errors.
View 10 Replies
Oct 21, 2010
I am attempting to create a Facebook IFrame Application using the Facebook Developer's Toolkit (language I'm using is VB). No matter what I do, I cannot get past this error message from Facebook.
App may not request permissions that do not apply to all profiles in the selector
I have tried dropping a CanvasIFrameLoginControl with requirelogin=true
i have also tried inheriting Facebook.Web.CanvasIFrameMasterPage then adding Me.RequireLogin = True to the Page_Init event. Both of these do require login. As soon as I add Required permissions, however, I get the API Error Code 100 - an app may not request permissions that do not apply to all profiles in the selector error from facebook.
View 1 Replies