15,900,511 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Chris N.P. (Top 27 by date)
Chris N.P.
3-Jun-13 21:48pm
View
I want to achieve it using javascript. Do you have other alternative aside from javascript/jquery?
Chris N.P.
28-May-13 3:18am
View
Is "getpath" case sensitive?
Chris N.P.
27-May-13 23:19pm
View
That's new to me. Can you provide a sample?
Chris N.P.
27-May-13 22:36pm
View
For this post regarding "rel". Yes I would formally accept your answers.
Chris N.P.
27-May-13 21:36pm
View
Thanks Sergey for your advice. Please disregard my previous message. I manage to resolve the issue.
Chris N.P.
27-May-13 20:33pm
View
Thanks.
I have another post and it's related to this I believe you could help me with it.
http://www.codeproject.com/Questions/598553/Iplusneedplushelpplusinplusmakingplusmyplusimagepl
Chris N.P.
27-May-13 4:57am
View
Thank you. Let me check this.
Chris N.P.
27-May-13 4:53am
View
That's interesting. Can you show me how to create this virtual directory?
Chris N.P.
27-May-13 4:38am
View
Thank you for your response. It's really working specially if the file is located on the web folder. However what I want to do is to show a preview of a file located on a local drive. In this case the server's D: drive.
Chris N.P.
27-May-13 2:33am
View
Alright, I'm creating tooltip image. I have my external javascript file to handle this. Now this script used "rel" to capture the location of the file. Alright I understand that the use of "a" tag is different. For that I'm going to use ASP:LinkButton instead. I understand if this doesn't make sense since I didn't provide the whole idea. So I'm going to ask you a different question instead. Say I have this line of code:
[exScript.js]
$("body").append("<p id='screenshot'><img src='"+ this.rel +"' alt='url preview' />"+ c +"</p>");
and in my aspx page I have this:
<asp:LinkButton runat="server" CssClass="lFilename" ID="grdlinkFilename" Text='<%#Eval("FILENAME")%>' CommandArgument='<%#Eval("FILEPATH")%>' OnCommand="grdlinkFilename_click">
Note: This control is inside of a gridview.
The "rel" on the script is from the "a" tag that I provided.
What I want to do now is to replace "this.rel" on the script with the exact path of the file (image file). I tried replacing "this.rel" with "this.CommandArgument" but it doesn't work. There is a pop up but it's only showing what ever in the "alt" element as indicated on the script (alt='url preview');
Chris N.P.
27-May-13 1:07am
View
For you it may not have sense but for me it does. It's just a pigment of an asp.net application that I'm creating. What I just want to know is, how can I re-write this in asp:hyperlink. If it's still doesn't make sense then leave it as it is. Thanks.
Chris N.P.
27-May-13 0:02am
View
And the code that I provided is connected to a jquery.
Chris N.P.
26-May-13 23:59pm
View
The one that I provided.
Chris N.P.
26-May-13 22:43pm
View
How can I convert the given code to <asp:hyperlink>?
Chris N.P.
20-May-13 21:05pm
View
Alright I got the first one. Thank you.
I'm going to work on the JavaScript side. However I'm still looking forward to your javascript version for this scenario.
I will regularly check this post. Thank you.
Chris N.P.
20-May-13 4:25am
View
Let's assume that there are 3 folders inside the server's D drive.
d:/folder1
d:/folder2
d:/folder3
Inside each folders there are 2 image files.
d:/folder1/img1.1.jpg
d:/folder1/img1.2.jpg
d:/folder2/img2.1.jpg
d:/folder2/img2.2.jpg
d:/folder3/img3.1.jpg
d:/folder3/img3.3.jpg
Now a particular page will going to get all the folders on the D drive and display it using a gridview.
What i want to do is to hover the mouse on one of the image files so that it will show me an image tooltip to preview the particular image.
However I don't know how ASP:LinkButton will be able to capture the location of the particular image selected. Of course I can't do this "~/img1.1.jpg" for example since it's in the D drive.
Using DIV that you mentioned is like unfamiliar territory for me but it's an enteresting approach. Please provide me a code. I will greatly appreciate your help.
Chris N.P.
20-May-13 4:07am
View
Thank you. Do you have a sample code for this? I believe this would help me.
Chris N.P.
20-May-13 4:04am
View
Thank you this is helpful.
However I still have a bit of a concern.
Let's say I want to use ASP:LinkButton instead of ASP:Image. I'm having trouble with the property that i'm going to use. I don't know the right property to use and how to set the value of the property to the url/location of the image that is located on the server's D: drive. Of course the value will vary from one file location to another. I know we are almost there but I need further advice and help from you guys. Thank you.
Chris N.P.
20-May-13 3:28am
View
Thanks now it's clear.
I also have one concern and I believe you could help me.
I do have a page in one of my web application that recursively get all the folders of the server's D drive and inside each folder it contains files and subfolders. Now what I want to do is to apply an image preview when I hover the mouse on it.
Please help me.
Chris N.P.
20-May-13 3:12am
View
If I tell you what I'm trying to do I believe you would be able to resolve my concern.
I do have a page in one of my web application that recursively get all the folders of the server's D drive and inside each folder it contains files and subfolders. Now what I want to do is to apply an image preview when I hover the mouse on it.
Chris N.P.
20-May-13 3:00am
View
Thank you for this. But I'm having trouble with this onmouseover, it seems that my VS 2008 can't recognized it. There's no such event there.
Chris N.P.
20-May-13 2:42am
View
Is this applicable for an image? Can you show me how?
Chris N.P.
20-May-13 2:41am
View
Can you tell me how to do it please. Someone suggested onmouseover but it doesn't work for me.
Chris N.P.
6-May-13 2:00am
View
Thank you. I know this is complex but I want to try wpf instead. If you could provide a tutorial for the wpf app you made before I would highly appreciate it.
Chris N.P.
6-May-13 1:55am
View
Thanks. I know how complex this project is but still I want to give it a try. What I want is to create it in C# .Net however I will try to look at Chromium and see what I can find there.
Chris N.P.
6-May-13 1:29am
View
Thanks. However I'm fully aware of WebBrowser control. So now I want to try from scratch. Or creating a new webbrowser control not related to any IE component.
Chris N.P.
6-May-13 1:25am
View
I want to create a browser for following reasons: 1.) To have a 100% customized browser that will benefit all my web applications. 2.) Learning how browser completely works. 3.) To make a secure browser for my server. I'm a web developer either personal or enterprise and now I want to extend it by creating my own web browser. And this is only for personal use and free for others who want to use it but not commercially.
Show More