Solved

Microsoft Ajax throwing error

Posted on 2013-12-18
2
273 Views
Last Modified: 2014-01-02
I have just started working on an asp.net web application.
I am using bootstrap for UI part.

On one of the page I have used a asp.net drop down which shows user types in it.
And a repeater control to show users of the selected user type.
User can user type from the drop down and below repeater will refresh and show users.
This page was working fine till the time I added updated panel in to it.
I added repeater inside the update panel.

And in the page load I have screen code for the dropdown

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);

scriptManager.RegisterAsyncPostBackControl(ddlUserTypes);

and this is the drop down index change event

  protected void ddlUserTypes_SelectedIndexChanged(object sender, EventArgs e)
        {
            PopulateUsers();
            this.upUsers.Update();
        }

Now when I run the page and select a new user type from the drop down I am getting this error (attached the image).
I am using visual studio 2012.
I googled but I did not find the any workable solution for this and my client is sitting on my head.

Can any one help me out here please.
0
Comment
Question by:yadavdep
2 Comments
 

Author Comment

by:yadavdep
Comment Utility
the error
image003.png
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 280 total points
Comment Utility
Open in Chrome, Hit F12 go to network tab, look at the data returned. It may be corrupt. If it is JSON, use an online JSON parser to validate
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now