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

  • SEARCH
  • Home
  • 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 6771587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:26:59+00:00 2026-05-26T15:26:59+00:00

I am using ASP.net to display data on my calendar. I have my feed

  • 0

I am using ASP.net to display data on my calendar.

I have my feed setup to display on a page called feed.aspx (which is in the same folder as my calendar page). I call it like this on my calendar page:

events: {
    url: 'feed.aspx',
    type: 'POST',
    data: {
        custom_param1: 'something',
        custom_param2: 'somethingelse'
    },
    error: function() {
        alert('there was an error while fetching events!');
    },
    color: 'yellow',   // a non-ajax option
    textColor: 'black' // a non-ajax option
}

When I view the feed.aspx in my browser I see this:

{"title":"My Test Event","start":"2011-11-02T13:30:57","url":"http://orss.edu","allDay":"false"}

So I know that my feed.aspx is working ok.

But no matter what I try, no calendar data will show up.

Any help would be greatly appreciated.

My feed.aspx looks like this:

Imports System.Web.Script.Serialization
Imports System.Data
Imports System.Data.SqlClient
Public Class feed
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim dbu As New Utilities.DBUtilities
    Dim conn As SqlConnection
    Dim cmd As SqlCommand
    Dim cmdText As String = "SELECT top(100) * FROM pageList"
    Dim dr As SqlDataReader
    Dim dictData As New Dictionary(Of String, String)
    cmd = dbu.getCommand(cmdText)
    conn = cmd.Connection
    dbu.getCommand(cmdText)
    conn.Open()
    dr = cmd.ExecuteReader()

    If dr.HasRows Then
        Dim i As Integer = 0
        Do While dr.Read()
            'Response.Write(dr.Item("pageID") & "<br>")
            dictData.Add(i.ToString, dr.Item("pageDisplayName"))
            i = i + 1
        Loop
    End If

    Dim testDict As New Dictionary(Of String, String)

    testDict.Add("title", "My Test Event")
    testDict.Add("start", DateTime.Now.ToString("s"))
    testDict.Add("url", "http://oss.edu")
    testDict.Add("allDay", "false")

    Dim serializer As New JavaScriptSerializer()
    Dim json As String = serializer.Serialize(DirectCast(testDict, Object))

    Response.Clear()
    Response.Write(json)
    Response.End()
End Sub

End Class
  • 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-26T15:27:00+00:00Added an answer on May 26, 2026 at 3:27 pm

    Ok, I figured it out. It was because I was not wrapping the string in brackets like this: “[ JSON feed ]”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

- I'm using ASP.NET 3.5 . I have a page in which i want
Using ASP.Net, I have a server control for which i would like to add
I'm using ASP.NET and a Repeater control to display my data. The data I
I'm using Asp.net chart controls in order to display charts. I have a datatable
I'm using c# asp.net, just trying to display data in a read-only format once
When using an ASP.NET WebForms ListView control to display data in an HTML table
In a asp.net web site I'm using a TreeView to display data from a
I am using RUBY to screen scrap a web page (created in asp.net) which
I'm developing a dashboard using ASP.NET MVC3 and need to have two divs which
I am using ASP.Net 2.0 and trying to display transformed xml data using GridView

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.