Solved

Microsoft Ajax throwing error

Posted on 2013-12-18
2
276 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Select to DropDownListFor MVC 5 2 29
TimeZone, day light savings, Sql server, asp.net 6 37
Help with error in Query 2 31
asp.net web application 3 26
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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