Click here to Skip to main content
14,937,395 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a sample project with SignalR and test for real time information.
In my project is entry data from some page and show list data at one page in real time.
It okay with SignalR when I use Multiple Form/View ( Entry Form, Listing Form ).
But I got issue when I use Single Form/View with multiple Partial Form, SignalR Hub is doesn't work when I insert data to Entry From (partial), Listing Form(partial) can show real time data.
But Single Form(view) is can see real time data coming. I think this is issue of in Partial page.
In Firebug, there is no error message, just don't work.
I'm follow Asp.Net Forums.
JavaScript
//--- in my view pages ---
$(function() { window.hubReady = $.connection.hub.start(); });

//--- in my partial pages ---
$(function() { window.hubReady.done(function() { // call hub method }); }); 

But when I call
JavaScript
window.hubReady.done(function() {});

at Partial page,I'm get error hubReady is not function.
Please see My Sample Form.
If you can suggest I'm really appreciate it.
Thanks,
MinChanSike
Posted
Comments
MinChanSike 15-Apr-14 5:35am
   
Hello ...,
Anyone can help me? Please...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900