Click here to Skip to main content
15,916,601 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: MVC PHP Pin
Jochen Arndt5-Apr-17 23:10
professionalJochen Arndt5-Apr-17 23:10 
AnswerRe: MVC PHP Pin
ZurdoDev6-Apr-17 2:05
professionalZurdoDev6-Apr-17 2:05 
Questionweb development MVC Codeignatir Pin
Member 115700245-Apr-17 22:49
Member 115700245-Apr-17 22:49 
AnswerRe: web development MVC Codeignatir Pin
ZurdoDev6-Apr-17 2:07
professionalZurdoDev6-Apr-17 2:07 
AnswerRe: web development MVC Codeignatir Pin
User 418025416-Apr-17 16:48
User 418025416-Apr-17 16:48 
QuestionWordpress & Bootstrap Free Tutorials Pin
Member 130993471-Apr-17 5:31
Member 130993471-Apr-17 5:31 
AnswerRe: Wordpress & Bootstrap Free Tutorials Pin
ZurdoDev6-Apr-17 2:09
professionalZurdoDev6-Apr-17 2:09 
QuestionPHP ONE TO ONE CHAT ISSUE Pin
Member 1178652227-Mar-17 3:35
Member 1178652227-Mar-17 3:35 
AnswerRe: PHP ONE TO ONE CHAT ISSUE Pin
ZurdoDev29-Mar-17 6:00
professionalZurdoDev29-Mar-17 6:00 
QuestionPHP Booking form Pin
lapeci27-Mar-17 2:18
lapeci27-Mar-17 2:18 
AnswerRe: PHP Booking form Pin
Jochen Arndt27-Mar-17 3:04
professionalJochen Arndt27-Mar-17 3:04 
QuestionWebGrid Update From SignalR Pin
Kevin Marois24-Mar-17 6:08
professionalKevin Marois24-Mar-17 6:08 
AnswerRe: WebGrid Update From SignalR Pin
Sander Rossel24-Mar-17 6:33
professionalSander Rossel24-Mar-17 6:33 
GeneralRe: WebGrid Update From SignalR Pin
Kevin Marois24-Apr-17 8:02
professionalKevin Marois24-Apr-17 8:02 
GeneralRe: WebGrid Update From SignalR Pin
Sander Rossel24-Apr-17 8:06
professionalSander Rossel24-Apr-17 8:06 
GeneralRe: WebGrid Update From SignalR Pin
Kevin Marois24-Apr-17 8:37
professionalKevin Marois24-Apr-17 8:37 
GeneralRe: WebGrid Update From SignalR Pin
Sander Rossel24-Apr-17 9:01
professionalSander Rossel24-Apr-17 9:01 
QuestionFaceBook Like Comment Box in asp.net Pin
Jay Parmar23-Mar-17 19:21
Jay Parmar23-Mar-17 19:21 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
Richard MacCutchan23-Mar-17 22:56
mveRichard MacCutchan23-Mar-17 22:56 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
User 418025429-Mar-17 5:19
User 418025429-Mar-17 5:19 
AnswerRe: FaceBook Like Comment Box in asp.net Pin
ZurdoDev29-Mar-17 6:01
professionalZurdoDev29-Mar-17 6:01 
QuestionThe server responded with a status of 404 Pin
Kevin Marois23-Mar-17 5:21
professionalKevin Marois23-Mar-17 5:21 
I've got a javaScript function that handles a SignalR callback:
JavaScript
proxy.on('notifyAllClientsOfChanges', function () {

    var searchUrl = "Home/GetData";

    $.ajax({
        url: searchUrl,
        type: "GET",
        success: function (data) {
            $("#divData").html(data);
        }
    });

});

When it's called I get the 404. My controller code is

public class HomeController : Controller
{
private IDataAccess _dal;
public HomeController()
{
    _dal = new DataAccess();
}

public ActionResult Index()
{
    var data = GetData();
    return View(data);
}

public IEnumerable<AssayDashboardInfoEntity> GetData()
{
    IEnumerable<AssayDashboardInfoEntity> data = _dal.GetDashboardInfos(new DashboardInfoQueryArgs());

    return data;
}

}

On startup the code works fine and I see the data, yet when the JS function is called it fails.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: The server responded with a status of 404 Pin
F-ES Sitecore23-Mar-17 23:32
professionalF-ES Sitecore23-Mar-17 23:32 
QuestionFront Page ideas? Pin
Member 1307776622-Mar-17 10:11
Member 1307776622-Mar-17 10:11 
QuestionRe: Front Page ideas? Pin
Richard MacCutchan22-Mar-17 10:45
mveRichard MacCutchan22-Mar-17 10:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.