473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

notifications pop up in user side

i am trying to show notification as a pop up. like when admin login and through his account he send notification to user. i have added this html in admin form like this..

Expand|Select|Wrap|Line Numbers
  1. <asp:Button ID="notic" runat="server" Text="Send" onclick="Button1_Click" /> <br />
  2.  
  3.           <input class="add_message" type="text" value="type your message"
  4.           name="add_message"></input>
  5.   <input type="button" value="add message"  
  6.          önclick="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 user form page load like this ..
Expand|Select|Wrap|Line Numbers
  1. ClientScript.RegisterStartupScript(GetType(), "Javascript",
  2.           "javascript:sNotify.addToQueue($('.add_message').attr('value'))();", true);


it works like when i login as an admin and click on button then notification in his own page .. but i want to show this notifications in userform.

so how can i get this??
Nov 13 '13 #1
2 1650
psurvi
6
You have to write code that accesses the IP address of the system where you want the pop up to be shown.
Nov 20 '13 #2
i dont show i ip ..i want to show in user form.
Nov 21 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dipak Patel | last post by:
Platform: Win2000 SP3, SQL 7.00 - 7.00.1063 I have a SQL-authenticated user with the following permissions: "Process Administrators" server role "db_owner" and "TargetServersRole" for msdb...
1
by: Patrik | last post by:
I have two problems with the following access/vba line : DoCmd.RunSQL ("EXECUTE master..xp_cmdShell 'bcp SEEPE.dbo.##Tbl_Temp_Stats out D:\Stats.txt -c -t'") First this command only works...
1
by: JK | last post by:
I am creating a personal project where I plan to use AJAX. Something on the lines of google suggest. I was wondering what kind of caching mechanisms should I use? Let me know your views about...
3
by: eddyger | last post by:
Hi, I would like to print to a printer connected to my IIS server. I mean "I DONT WANT TO PRINT ON EVERY PRINTER IN THE WORLD". (many answers are thinking javascript printing to the user side)...
0
by: sanisani | last post by:
Hi, I write here for the first time, as a user and not as a programmer or developer. I have tried from my notebook to see the following address:...
0
by: Steven Cheng [MSFT] | last post by:
Hi Nick, From the description in your first message, I think what you want to do the let the webservice server-side proactively notify the webservice client for some changing, correct? I'm...
1
by: amskape | last post by:
Hi pals, I got a complex Array from the Query. it's Structure is like Array ( => Array ( => anes.admod.net => 1 => 1
3
by: haanjae | last post by:
I plan to develop a bandwidth control system in C#. An alert message will be received in the client (PC user) side from the system, client side need to install the system just to receive the message...
1
by: avis62 | last post by:
Hello, Can You help on Sql Server Programming. Is there any Script or function or procedure in Sql Server programming For prompting for user input. I mean input must be taken from user side...
4
by: Shrikeshk9 | last post by:
Hi, I am printing a page by javascript. but i want to know status of that print means whether that page got printed or not? means if user clicked ok on print popup i should be able to give user a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.