How Can I Retrieve JSONdata From ASP.NET And Send It To JQuery? (implementing FullCalendar)
I'm trying to get JSON-data into a jQuery variable using ASP.NET (not MVC): $(document).ready(function () { $('#calendar').fullCalendar({ events: GetEvents(start, end)
Solution 1:
Instead of calling Session directly use HttpContext.Current.Session, or make it a static property in your page:
private static HttpSessionState MySession
{
get
{
return HttpContext.Current.Session;
}
set
{
return HttpContext.Current.Session = value;
}
}
Post a Comment for "How Can I Retrieve JSONdata From ASP.NET And Send It To JQuery? (implementing FullCalendar)"