15
Aug/093
Aug/093
How To Display Information From Database In Pop Up Using Ajax In Asp.net ?
hi .. i have a GridView control having employee imformation ,i wanted to display more imformation in pop up when mouse is over the employee code field in GridView, ?i am working in ASP.NET Enviroment plse help me it's urgent requirement
Comments (3)
Trackbacks (0) ( subscribe to comments on this post )
For AJAX (as was said before being the client side code) to be able to get the info and display it you will need server side script to process AJAX request, get the info, format it in XML format and send it back to the client…
AJAX is client code.
Leave a comment
No trackbacks yet.




August 15th, 2009
Hello,
A lot of ‘modern’ browsers block out popups, or put them behind the active window. Also, you’d have to be careful to avoid multiple window.opens every time the user moves the mouse…
You can make popup menus without any Javascript (using CSS)… but they only work well in those ‘modern’ browsers already mentioned.
If using Javascript, look at moving and hiding/showing some ‘menu HTML’, or if appropriate, creating such a menu dynamically..
The code below is gratuitously commented, and has been tested on Opera 9, Firefox 2, and IE6. It will let you assign different menus to multiple objects; but the menus don’t disappear very cleanly… You can hack the Javascript around to do things like, alter the position of the popup relatively, so it appears ‘from’ the parent element rather than over it; or even at the position of the mouse exactly. You also might want to make the popups disappear automatically when the user mouses out of the vicinity of the popup… I’ll leave that to you to research:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-…
(Close popup)
This should hopefully answer your question. Good Luck!
Sean Colicchio
Server Engineer
Host My Sitehttp://www.hostmysite.com/?utm_source=bb