Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Microsoft Ajax throwing error

Posted on 2013-12-18
2
Medium Priority
?
280 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 1120 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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 …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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