Click here to Skip to main content
15,917,709 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Html Contact form with PHP Pin
Jochen Arndt15-Mar-17 6:33
professionalJochen Arndt15-Mar-17 6:33 
AnswerRe: Html Contact form with PHP Pin
biplob-hider18-Mar-17 2:26
professionalbiplob-hider18-Mar-17 2:26 
QuestionASP.Net Core Web Config Properites Pin
Member 1061576012-Mar-17 9:54
Member 1061576012-Mar-17 9:54 
AnswerRe: ASP.Net Core Web Config Properites Pin
Kornfeld Eliyahu Peter13-Mar-17 1:14
professionalKornfeld Eliyahu Peter13-Mar-17 1:14 
QuestionPHP WITH BIOMETRIC Pin
Member 117865228-Mar-17 1:31
Member 117865228-Mar-17 1:31 
AnswerRe: PHP WITH BIOMETRIC Pin
ZurdoDev10-Mar-17 6:53
professionalZurdoDev10-Mar-17 6:53 
GeneralRe: PHP WITH BIOMETRIC Pin
Member 1178652210-Mar-17 7:12
Member 1178652210-Mar-17 7:12 
QuestionPHP MYSQL UPDATE ISSUE Pin
Member 117865228-Mar-17 1:29
Member 117865228-Mar-17 1:29 
AnswerRe: PHP MYSQL UPDATE ISSUE Pin
ZurdoDev10-Mar-17 6:54
professionalZurdoDev10-Mar-17 6:54 
QuestionMake up of a single web with react Pin
Orlando.Net1-Mar-17 8:29
Orlando.Net1-Mar-17 8:29 
AnswerRe: Make up of a single web with react Pin
Nathan Minier2-Mar-17 2:32
professionalNathan Minier2-Mar-17 2:32 
QuestionRe: Make up of a single web with react Pin
ZurdoDev10-Mar-17 6:55
professionalZurdoDev10-Mar-17 6:55 
QuestionJavaScript - Help Me Understand Pin
Kevin Marois28-Feb-17 7:54
professionalKevin Marois28-Feb-17 7:54 
AnswerRe: JavaScript - Help Me Understand Pin
Nathan Minier28-Feb-17 9:38
professionalNathan Minier28-Feb-17 9:38 
GeneralRe: JavaScript - Help Me Understand Pin
Kevin Marois28-Feb-17 10:45
professionalKevin Marois28-Feb-17 10:45 
GeneralRe: JavaScript - Help Me Understand Pin
Nathan Minier1-Mar-17 0:58
professionalNathan Minier1-Mar-17 0:58 
QuestionSchemas Pin
Member 1302472026-Feb-17 5:53
professionalMember 1302472026-Feb-17 5:53 
AnswerRe: Schemas Pin
BrunoFaitalaas6-Mar-17 0:17
BrunoFaitalaas6-Mar-17 0:17 
AnswerRe: Schemas Pin
camillebo16-Jun-17 13:35
camillebo16-Jun-17 13:35 
QuestionMVC Refresh A Grid Pin
Kevin Marois22-Feb-17 10:51
professionalKevin Marois22-Feb-17 10:51 
AnswerRe: MVC Refresh A Grid Pin
Richard Deeming23-Feb-17 4:04
mveRichard Deeming23-Feb-17 4:04 
RedirectToAction returns a result to the client telling it to make a new request to the specified action. But it only works in response to a request from the client.

If it fires at all, your event is being fired on a background thread, long after the index view has been rendered. The client is no longer connected to your server, and is not waiting for a response.

But I suspect it will never fire. I believe the default is for MVC to create a new instance of your controller class for each request, and dispose of it once the request has completed. Since the controller owns the object which raises the event, there will be no reachable references to the instance, so both the controller and the proxy will be deleted.

Instead, you'll need to have the client connect directly to your SignalR hub in Javascript. It will need to listen for the event, and when it receives the event, either reload the page, or make an AJAX request to reload just the grid.

ASP.NET SignalR Hubs API Guide - JavaScript Client | Microsoft Docs[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionMVCGrid.Net Column Width Pin
Kevin Marois21-Feb-17 13:31
professionalKevin Marois21-Feb-17 13:31 
QuestionRe: MVCGrid.Net Column Width Pin
Richard MacCutchan21-Feb-17 22:10
mveRichard MacCutchan21-Feb-17 22:10 
QuestionWebsite Build Help!! Please Pin
Member 1300832617-Feb-17 15:22
Member 1300832617-Feb-17 15:22 
AnswerRe: Website Build Help!! Please Pin
Afzaal Ahmad Zeeshan17-Feb-17 21:09
professionalAfzaal Ahmad Zeeshan17-Feb-17 21:09 

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.