Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Ajax Error Unable to Get Value of the Property 'ui' Object is null or undefined

Jun 8, 2014
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.

<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.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

0 comments :

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.