|
Use the title attribute:
<img src="image" title="The text for the tooltip">
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
thnks 4 replying.i knw abt ths tag bt i want smthng diff frm ths.
bt thts ok ,nw i got the solution.
|
|
|
|
|
How can I get a scroll bar at the middle of my webpage?
ARINDAM
|
|
|
|
|
use div container.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
And in addition, you need to set some styles on your div tag:
<div style="overflow: auto; height: 200px;"> will show a vertical scroll bar if the content of the div is taller than 200px.
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
u can use iframe and given iframe source to the file which you want to open and set iframes property as you desire.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
hi i have a link button which text is from database and that's file name and file may be .zip, .rar or .doc means any thing so how i open on click event.
thanks in advance.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
do you want to download that file on the click event?
P.S. Always explain your question fully.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Firstly thanks for reply.
yes i would like to know how to save file on client side.
brief explanation is that
i have a file which i upload through fileuploader and file path is store like this : ~/directoryname/filename.ext this data link is stored in database and file is stored in given location (directory name) all is going fine. and i show this file on a linkbutton when i click on this link button i would like that save this file on client computer and file extension may be any thing like .zip, .rar, .bmp, .jpg, .xls, .zip etc. how to save on click event of the linkbutton.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Hyperlink have href property just put the whole path in href including file extension
href=~/directoryname/filename.doc
it will do all things that you wanted check it
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Is it possible to display a PDF file in an ASP.NET web part when a user click a link? and how would I go about doing this?
Illegal Operation
|
|
|
|
|
I have developed one online booking application for hotel
i am showing rooms available in grid
when any room gets booked how i reflect that all open pages
|
|
|
|
|
Refresh the datasource and re-bind your grid to the datasource.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
I am developing intranet application
and i want to show outlook in to that for loged in user how i can do that
|
|
|
|
|
you want to show Web Outlook or windows one
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
|
Do hidden fields work when the form is configured to GET or only POST?
|
|
|
|
|
Hi All,
Im very new in this and i hope you can help me with this.
In my code i have to call this eventhandler:
private void ProgressBar1_ItemClick(object sender,
EO.Web.ProgressTaskEventArgs e)
How can i call this methode?
Thanks
|
|
|
|
|
It's a method, so call it. USe this for sender, and EventArgs.Empty for event args, if you don't have any. Of course, if the code expects values in the event args, then you're screwed.
it looks to me like this a third party control, I suspect you need to read their docs as to how to report progress. Why the hell are you using a third party control if you're 'very new at this' ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi all
I have a question about the cookies did not know where the error
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.Cookies("UserName") IsNot Nothing Then
Response.Cookies.Set(Request.Cookies("UserName"))
Else
Response.Cookies.Set(New HttpCookie("UserName", ""))
End If
Response.Cookies("UserName").Expires = Now.AddMinutes(30)
End Sub
Protected Overloads Overrides Sub OnPreRender(ByVal e As System.EventArgs)
If Response.Cookies("UserName").Value = Request.Cookies("UserName").Value Then
Response.Cookies.Remove("UserName")
End If
MyBase.OnPreRender(e)
End Sub
In another place, I set the cookies when a user's login
If Log.Statu = LoginEnum.OK Then
HttpContext.Current.Response.Cookies("UserName").Value = row("username")
HttpContext.Current.Response.Cookies("UserName").Expires = Now.AddMinutes(30)
End If
In another place again, I set the cookies when the user logout
HttpContext.Current.Response.Cookies("UserName").Expires = Now.AddMinutes(-30)
The problem is : when user login and click any link in page i find cookies have been deleted
What issue ?
|
|
|
|
|
blackeyes wrote:
Protected Overloads Overrides Sub OnPreRender(ByVal e As System.EventArgs)
If Response.Cookies("UserName").Value = Request.Cookies("UserName").Value Then
Response.Cookies.Remove("UserName")
End If
MyBase.OnPreRender(e)
End Sub
Doesnt this remove the cookie (It only leaves the cookie on the first visit because request wont have that cookie)??
Alexei Rodriguez
|
|
|
|
|
sorry
same problem
i want to ask about those
HttpContext.Current.Response.Cookies("UserName")
Is
Me.Response.Cookies("UserName")
Or not?
|
|
|
|
|
Yes, I think so, it just a different way to access it
Sometimes when you are inside a class, you need to use the httpcontext to access response, cache, sesion...
Alexei Rodriguez
|
|
|
|
|
thanks alex
i was solve my proplem
the problem is :
i write and read cookies from Response
i forget :
i must write => in Response
and read => from Request
|
|
|
|
|
Hi,
I have had this problem quite offten when I rebuild the project. The fist line of the page is getting messed up and producing a runtime error as shown below. I think somehow it is loosing the inherits state. How can I come over this problem.
Thanks.
ERROR IS "run time error: could not load the type 'rentaholidayadmin"
<br />
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="adm_add_property.aspx.vb" Inherits="rentaholiday.adm_add_property" MasterPageFile ="~/Administration/Admin/admin.Master"%><br />
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|