Starting SignalR Hub with two IFrames -
Starting SignalR Hub with two IFrames -
i'm having 2 frames loading 2 different pages in project. 1 page main page remains unchanged , sec page changed based on user navigation menu. want utilize signalr on main page perform real time updates. want update in of pages (not all) loaded in frame 2 on demand. hence have started hub on main page , performing real time updates. how can phone call signalr functions in page available in frame 2? because according posts should start hub 1 time in project (i can still it, create different connection, dont want). if i'm trying utilize hub function in page 2 without starting hub i'm getting error uncaught error: signalr: connection must started before info can sent. phone call .start() before .send()
@ client side.
please help me on how phone call hub methods on page 2 without starting again. in advance.
i'm answering own question. after chatting experts in jabbr signalr, found out have start connection on each iframes, no other alternative available. please see chat history below,
signalr signalr-hub
Comments
Post a Comment