This is a migrated thread and some comments may be shown as answers.

Setting Dialog content via Javascript

1 Answer 103 Views
Dialog
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 13 Apr 2017, 06:08 PM

If I add the MVC Wrapper for a Dialog in a page, and initially set Visible(false), how do I set the actual content of the dialog via Javascript?

Background, I have a SignalR hub that is set to receive admin messages from the server, and I want the message sent by the server to be displayed in the dialog.  SO I put the basic dialog MVC wrapper in my page, with no content initially and when the SignalR hub receives a a message, I want it to display in that dialog then.

1 Answer, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 1
answered on 13 Apr 2017, 06:29 PM
Nevermind... d'uh, this was a pretty stupid question...
Tags
Dialog
Asked by
Joe
Top achievements
Rank 1
Answers by
Joe
Top achievements
Rank 1
Share this question
or