Uncaught TypeError - Cannot Read Property ID Of Undefined
Jun 10, 2013
I am using RadAsyncUpload which is defined like this
Code:
<telerik:RadAsyncUpload ID="FileUpload1" runat="server" Skin="Forest" Width="272px">
</telerik:RadAsyncUpload>
And I have a asp.net button defined like this
Code:
<asp:Button ID="btnUpload" Width="180px" Height="30px" runat="server" Text="Upload"
onclick="btnUpload_Click" />
Now it works and it uploads the file , but now i want to have a Progress Bar , so like other controls i did the following
Code:
<telerik:AjaxSetting AjaxControlID="btnUpload">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnUpload" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
[Code] ....
If I add this Ajax code , my Upload does not work , it give me the Following Error
Code:
Uncaught TypeError: Cannot read property 'id' of undefined
And chrome gives more info like
Code:
Uncaught TypeError: Cannot read property 'id' of undefined Telerik.Web.UI.WebResource.axd:2889
Telerik.Web.UI.RadAjaxControl._initializeRequest Telerik.Web.UI.WebResource.axd:2889
H.z.callBaseMethod Telerik.Web.UI.WebResource.axd:3
[Code] .....
View 1 Replies
Jan 24, 2016
javascript error while accessing string in var as like a arraylist, var can takes string for numeric data but when alphanumeric data found that time it shows error of uncaught reference error: 'A1' is not defined....
<script type="text/javascript">
//<![CDATA[
init([35,34,33,32,31,27,28,29,30,26,25,24,23,19,20,21,22,18,17,16,15,11,12,13,14,10,9,8,7,3,4,5,6,2,1,A1], [0], [A1,0,0,1,2,6,5,0,4,3,7,8,0,9,10,14,13,0,12,11,15,16,0,17,18,22,21,0,20,19,23,24,0,25,26,30,29,0,28,27,31,32,33,34,35], [0,0,0,0,0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8], [1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5]);
var Page_ValidationActive = false
[Code].....
View 1 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