Solved

Microsoft Ajax throwing error

Posted on 2013-12-18
2
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:yadavdep
ID: 39727436
the error
image003.png
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 280 total points
ID: 39728536
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

630 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