|
qTip and .NET??
|
|
29th August, 14:01
Post: #1
|
|||
|
|||
|
qTip and .NET??
Hi All,
Firstly, great work on qTip, very nifty work! Anyway I am using qTip in a .NET web application of mine. The page has a profile picture and I am planning on using qTip such that when you hover over the profile picture, qTip provides a file upload and submit button to change the picture. Is this beyond the scope of qTip? I have seen examples on this forum of people calling php classes, can qTip call .NET functions or .aspx pages? I have seen in the tutorial pages that you can use dynamic content to display a html/php file, will this work with .aspx pages aswell? And will the events, etc of the buttons in the .aspx page work aswell? I realise I am clutching at straws to get this feature to work but I am still living in hope. I suppose I could just use the qTip to link to a "change profile pic page". Thanks in advance, Brian |
|||
|
29th August, 15:31
Post: #2
|
|||
|
|||
|
qTip and .NET??
briandaly40, you are certainly not clutching at straws! Since qTip uses jQuery's base $.ajax library, it supports all functionality it provides, which means you can use any type of serverside script you wish, as long as it returns the correct Headers. All you need do it simply replace the url extension with .aspx and you're away.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
30th August, 11:32
Post: #3
|
|||
|
|||
|
qTip and .NET??
Cheers Craig!
Thats great, I thought there was no hope there for a while. Just a few questions as I am relatively new to web development. What headers do I need to return? Can I use POST and GET to transfer data to the page? I don't suppose you have a simple .NET example lying around? If not, I'll just take a look at the PHP examples I've seen on this forum. Thanks for your time, briandaly40 |
|||
|
30th August, 14:08
Post: #4
|
|||
|
|||
|
qTip and .NET??
You'll need to return headers appropriate to the content you're returning. For example:
JS Code
You can indeed use GET and POST to transfer data to the page. Check out the content.data documentation for more on this. The PHP examples are identical to what you'll need, just replace the .php URL with your .ASPX one
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
31st August, 09:34
Post: #5
|
|||
|
|||
|
qTip and .NET??
Thanks for the help Craig,
I have qTip showing my .aspx page now but I am having two issues with it: Firstly, when I click a button in the qTip it automatically opens the .aspx page fully in the browser. Is there anyway of stopping this from happening and bringing up the repsonse in the qTip only? Secondly, I can't seem to pass data to the page. A button has an event attached to it to show the data that has been passed to it from qTip but it always shows 0. I have tried several combinations to post, get data to the page but to no use: JS Code
And JS Code
All to no avail, All ideas are very welcome, briandaly40. |
|||
|
31st August, 12:14
Post: #6
|
|||
|
|||
|
qTip and .NET??
briandaly40, could you link to the page you're using it on?
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
31st August, 12:46
Post: #7
|
|||
|
|||
|
qTip and .NET??
Unfortuently I can't, I am developing it locally first.
|
|||
|
31st August, 20:27
Post: #8
|
|||
|
|||
|
qTip and .NET??
Ok, lets see then. Are you trying to simply show a webpage within the qTip? If so, you might want to look into using an iframe as the content instead.
Regarding the data, it's definitely being sent if its declared. Are you sure you're checking its there correctly? Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
1st September, 11:47
Post: #9
|
|||
|
|||
|
qTip and .NET??
Firstly,
Thanks very much for spending so much time trying to figure this out with me. Much appreciated! The storey so far, I have managed to get data to be sent to the page now but I still have this annoying problem; when you click on a button within the qTip (which can redirect to a new page or refresh the existing page) the whole screen (not just the qTip) redirects. I want the redirection to occur in the qTip only. Is this possible? Any ideas? |
|||
|
1st September, 14:18
Post: #10
|
|||
|
|||
|
qTip and .NET??
If you're going to be using the qTip a a sort of page within a page, your best bet, and probably only solution is to encapsulate it within an iframe like so:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
1st September, 14:37
Post: #11
|
|||
|
|||
|
qTip and .NET??
craig,
Spot on! That worked a treat! I cannot speak highly enough of this app and the support I got here! Thanks a million! briandaly40 |
|||
|
1st September, 14:46
Post: #12
|
|||
|
|||
|
qTip and .NET??
Great, glad to see it worked! And thank you
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Solved] Help when using an asp.net updatepanel | mark007 | 4 | 433 |
15th February 10:04 Last Post: mark007 |
|
| qTip & ASP.NET UpdatePanel Postback Problem | qTipNoob | 4 | 3,027 |
10th January 15:01 Last Post: naupadnara |
|
| qtip with dynamic content using vb.net | mrnorway | 1 | 1,192 |
13th February 16:33 Last Post: Craig |
|
| qTip, AJAX and .NET | miketravis | 19 | 5,586 |
21st January 20:45 Last Post: dotNETMkv |
|
| Modal window disappear after asp.net postback | mohammad | 1 | 1,484 |
2nd August 09:05 Last Post: Craig |
|
| [Solved] qtip + webservice asp.net | j2flk | 2 | 1,441 |
19th July 23:41 Last Post: Craig |
|
| Asp.Net AJAX Postback | jpadilla | 14 | 4,360 |
23rd September 18:01 Last Post: Craig |
|
| .NET MVC Html.TextBox tooltip attribute | raneehyde | 1 | 3,942 |
26th June 23:42 Last Post: Craig |
|
| qTips lost after .NET ajax postback | bluehog | 3 | 1,732 |
Yesterday 06:13 Last Post: rajakvk |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




