Introduction:
Here I will explain how to solve Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined or Ajax unable to get value of the property 'ui' object is null or undefined.
Description:
In previous articles I explained Ajax auto complete textbox, Ajax country state city dropdown, Ajax calendar control example with custom date format, Ajax rating control example with database and many articles related to Ajax and asp.net. Now I will explain how to solve the problem of unable to get value of the property 'ui' object is null or undefined.
I have installed AjaxControlToolkit and added all Ajax controls to Toolbox in visual studio after completion of this process I started using Ajax controls from Toolbox and added ScriptManager to program. After completion of everything I tried to run the application at that time unexpectedly I got error like “Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined”.
To solve this problem we need to change ScriptManager tag to ToolkitScriptManager just like below.
Here I will explain how to solve Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined or Ajax unable to get value of the property 'ui' object is null or undefined.
Description:
In previous articles I explained Ajax auto complete textbox, Ajax country state city dropdown, Ajax calendar control example with custom date format, Ajax rating control example with database and many articles related to Ajax and asp.net. Now I will explain how to solve the problem of unable to get value of the property 'ui' object is null or undefined.
I have installed AjaxControlToolkit and added all Ajax controls to Toolbox in visual studio after completion of this process I started using Ajax controls from Toolbox and added ScriptManager to program. After completion of everything I tried to run the application at that time unexpectedly I got error like “Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined”.
To solve this problem we need to change ScriptManager tag to ToolkitScriptManager just like below.
<asp:ScriptManager ID="scriptmanager"
runat="server"></asp:ScriptManager>
|
To
<asp:ToolkitScriptManager ID="scriptmanager1" runat="server"> </asp:ToolkitScriptManager>
|
Here
if you observe above code for ToolkitScriptManager I declared asp:ToolkitScriptManager here asp
is a TagPrefix of AjaxControlToolkit reference
<%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit"
TagPrefix="asp"
%>
|
If you change the TagPrefix name you need to change your asp:ToolkitScriptManager to TagPrefixname:ToolkitScriptManager
I hope it helps you to solve the Toolkitscriptmanger
problem in Ajax using asp.net.
Happy Coding…
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
0 comments :
Note: Only a member of this blog may post a comment.