Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3788146
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:57:08+00:00 2026-05-19T11:57:08+00:00

I am developing a website in ASP.NET. I am facing a problem while I

  • 0

I am developing a website in ASP.NET. I am facing a problem while I am trying to read the values from an .aspx page(using jsonp). I tried seeing this problem using Firebug and it was showing an error in one of my html files. Here’s the screenshot: https://i.stack.imgur.com/GlQjC.jpg

I checked the respective html file and it was correct (according to me) except that I remember Visual Studio giving me some prompt regarding some encoding after which I saved the file. This was probably because this html file came from a Linux system. Here’s my html file: http://pastebin.com/V3f6KDSa

Can there be such a problem because I then checked in Google Chrome too and it was giving an error as shown in this screenshot: https://i.stack.imgur.com/h67Me.jpg

I didn’t see any error in this html file. I am guessing this encoding might be the error but there could some other problem too. I am trying to read the output of a menu.aspx using getJSON.
The output on my menu.aspx page is something like:

foo({"1":"Jeff","2":"Mic","5":"Mark"}); in html form using this .cs code

outputText += Convert.ToString(k.GetValue(0));
            for (Int32 i = 1; i < k.Length; i++)
            {
                outputText += "," + Convert.ToString(k.GetValue(i));
            }
            //
            outputText += "}" +");";

            Response.Write(outputText);

Please suggest something to resolve this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:57:08+00:00Added an answer on May 19, 2026 at 11:57 am

    Do a Response.Clear before writing anything to the output stream:

    Response.Clear();
    Response.Write(outputText);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a website (using asp.net by the way) and I'm having a problem
I am developing a website using ASP.NET 4.0 and SQL Server 2008.In Login Page,
I am developing a website in asp.net using dotnetnuke cms. I need to add
I am developing a website using asp.net, So far so good. the functionality does
I'm developing a mobile oriented website using asp.net. This website will consume some web
I'm developing an website using asp.net mvc with MySQL and I need to make
I am developing an asp.net website using typed dataset as DAL , everything works
I am developing a website using ASP.Net MVC 1.0. Can i host that website
I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I'm developing a website using ASP.NET MVC. The website should handle multiple languages. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.