Solved

Microsoft Ajax throwing error

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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