Solved

jquery tooltip bound to sql server

Posted on 2013-05-31
3
627 Views
Last Modified: 2013-06-09
Hi experts,

I saw this example of using a jquery tooltip

http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtooltip/jquery-tooltip-styling-and-appearance.htm

So I already know how to create this tool tip in the example.

Do any of you know a link to a website tutorial or a book that gives an example of using a jquery tooltip that is bound to JSON data that is taken from a SQL Server table and displayed in the tool tip.

So for example if I have a sql server table that looks like this:

EmployeeID    FirstName   LastName
1                       Nancy           Davolio

Then I would have a .asmx web service that queries sql server and outputs json data.

Then i would take this json data and bind it to a jquery tooltip in my .aspx  web page.

So my tool tip would show this text inside of it:

EmployeeID:   1
FirstName:      Nancy
LastName:      Davolio


Thanks for any reference you can give me.
0
Comment
Question by:maqskywalker
  • 2
3 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39212309
Don't make this confusing..... sq server has nothing to do with this unless you need to undersand out to make a json file from your serverside code.  So let's take sql server out of the picture.

What would help if you can create a short, self contained, compilable, example http://sscce.org on your site where you can post a link to your site where with your html and json data on the same page.
0
 
LVL 1

Accepted Solution

by:
maqskywalker earned 0 total points
ID: 39212352
Padas,

I was looking for links to similar examples to what I asked.

This is a link I found to what I was looking for after doing some searching.

http://www.dotnetfunda.com/articles/article1497-tooltip-in-gridview-using-jquery-method-1.aspx
0
 
LVL 1

Author Closing Comment

by:maqskywalker
ID: 39232728
i found my own solution
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will learn how to dynamically set the form action using jQuery.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question