notications pop up in user side
- by user2931015
i try to show notification as a pop up. like when admin login and through his account he send notification to user i add this html in admin form like this..
<asp:Button ID="notic" runat="server" Text="Send" onclick="Button1_Click" /> <br />
<input class="add_message" type="text" value="type your message"
name="add_message"></input>
<input type="button" value="add message"
onclick="sNotify.addToQueue($('.add_message').attr('value'))"/>
Then when admin click on button then notification send to users account like when any user login then he/she able to see pop ups in user form
I call this java script in page load like this ..
ClientScript.RegisterStartupScript(GetType(), "Javascript",
"javascript:sNotify.addToQueue($('.add_message').attr('value'))();", true);
it works like when i login as a admin and click on button then notification in his own page ..
but i want to show this notifications in user form.
so how to solve it?