Link With Page

why does this 'file download' box pop up when I click a button on my html page? Saying
do I want to open or save the asp file? if I click open it opens it in development.

View Replies


ADVERTISEMENT

How To Transfer A Data Display On 1st Page To 2nd Page Upon Clicking On The Link

I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.

Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:

View Replies View Related

Link To Another Page

I have the following code that works great with html, but I am having problems doing it an ASP, since I am not to familiar with it. Code:

Response.Write " <TD width=100 style=border-style:none; border-width:medium; bgcolor=" & BGColor & "><p align=center><font size=2><B><A HREF=Schedule.asp?TeamID="rst.fields("TeamId").value">" _
& rst.Fields("Tournament_Description").Value & "</B></font></TD>" & VbCrLf

I am trying to pass a variable as you can see. It works with html but with ASP, I am doing the syntax wrong.

View Replies View Related

Remove The Page.asp After The Link

How can I remove the page.asp link from the address bar? For example I have a link called www.mysite.com/page.asp?f=1, after the user clicks on the menu navigation. How can I get rid of page.asp?f=1 so that only www.mysite.com appears? Another thing, will request.querystring still work then?

View Replies View Related

Open A Link In A New Page

I am storing times into Access and that works fine and it stores into access the way i want it, like so 12.30 but it is displaying in asp like so: 12.30.00. does any one know how to change this?

View Replies View Related

Passing Value To Next Page From A Link

Does anyone know the best way to pass a value from the same line to the next page?

View Replies View Related

Finding Link Of Previous Page

i want to know the previous page address.ie,from which link the current page come here.

Is there any function in ASP to find that........?

View Replies View Related

Adding IM Link To An ASP Page From User Information

I have a user based service where each user has their own information, user settings, etc. I want to be able to add tables in my user settings and allow the users to enter in their IM Service (AIM, Yahoo, MSN, etc) and their screen name/user name.

That is the easy part.

What I do not understand or cannot figure out is how to link this information to the icons for each service they enter that will open up the appropriate service with their correct IM name, etc.

Basically I want to provide a way for my members to IM another member when they pull up that users information, or associated information, etc. Basically I need the script to make the Icon execute the correct IM service if the user clicking on it has the service installed as well. The majority of my members use AIM.

Where can I find information on how to install this kind of script and associate it with the users information and an icon?

View Replies View Related

Hyperlink Color Problem In ASP Page Link

The following html code appears in an ASP page. The hyperlink is set to
white (see the page link color), but when the page renders in IE 6.0, it
initially appears in maroon with a white border around it. When the user
clicks anywhere on the page, it turns white. Does anybody know how I can
make it appear white when the page first renders?

View Replies View Related

Send Email With Link To Current Page

How would I send an email to someone from a webpage with a link to the
current page? I've seen this where you can put in your email, the person's
email that you are sending teh page to, a subject for the email, and a
message along with the link.

View Replies View Related

Changing The Link On FP Generated Confirmation Page

I am passing variables around from page to page using the following:

../new.asp?Info=stuff&name=Fred

then re-capturing it with:

<% 'Get the users info passed from the previous page
strUserInfo = Request.QueryString("info") %>
strUserName = Request.QueryString("name") %>

I use that info to personalize pages:

Hello <% strUserName %>, glad you are back to work on your <% info %>.

This works great for pages/forms that only update a record or display the strings, but the problem I'm having is with a form that creates a brand new record using the passed data.

I use hidden inputs into the new record so that the user does not have to re-enter it but when they hit submit Front Page posts a confirmation page with a link to return to the same form. I need to change that link but cannot figure out where the confirmation page is generated.

View Replies View Related

How Do I Link An Asp Page To A Pdf Document And Render It In A Web Browser

how do i link an asp page to a pdf document and render it (the pdf document)in a web browser without it downloading to the client computer viewing it?

i have tried the response.contenttype="application/pdf"

now the main problem is how to embed the pdf doc in that asp page!

View Replies View Related

Problem On Querying Access Link Table In ASP Page

I connected MS Exchange Server to MS Access database using Access link
table function. I can open the database table and see the fields and
data inside the link table. However, the table seems cannot be queried
by SQL statement.

My situation is:

I'm building an intranet. I have a ASP login page for all staff in the
company to login. Other people can't register or login the intranet.
That's the reason I use the company email address to verify username
login name.

After I made the link to the Global Address List (rename to
StaffList), I can see the Alias field. I wrote ASP code to use Alias
field to verify user login name. But, the ASP page seems experiencing
difficulties. I always got the "Connection Timeout" Error. Code:

View Replies View Related

When User Clilck On Link Then Registration Page Open

user clicks the link which brings him/her to a secure page (let's call it page "X") which requires login session. If user is not logged in, he/she is redirected to a login page. how can I make user get redirected back to that original page (names "X") which threw him/her to login form?

I tried something like getting url name of page X and redirect to login with that name variable. After login, it gets redirected back to the page that sent variable. But it did not always work.

View Replies View Related

Howto Define Height And Width Of A Page In The Link?

Is possible to define height and width of a page that I want to open with an HREF link on a blank page?

View Replies View Related

Link In Asp

Does anyone know how to hide and show a link depending on the level of the user. Like I want the link to show if the person loging in is an admin, but if the person is a user than I dont want the link to show?

View Replies View Related

Link / Url In A Var

How to get a link / url in a var ? This is what I need to do :

newmsg = " <a href="http://www.my-url"?pa=<%=userid%>> Click here </a> "

View Replies View Related

Link To Exe

Clicking url that points to an exe pops up Open/Save dialog box. But I want
only the Open option to be enabled

View Replies View Related

Css Link

How display a link like a plain text (not underlined) with css code.

View Replies View Related

.asp Url Link

Having a problem getting my asp url to work. Im trying to pass a var and some of them have the & in them. This is breaking my url since it looks for another var with the &. If i put the %26 instead of the & manually it works fine. How do I get that to encode that on the link ?

I know the problem is the data that is in the heading field has & in them. I can not fix that part. Is there a way to force the & in the url to go to %26 ? Code:

View Replies View Related

Dynamic Link

I would like to build a dynamic link based upon a value returned from a db

There is data in the db because objRS("Description") returns a value.

something like

Code:

if objRS.EOF then
%>
<a href="/somepage.asp?id="<% objRS("Id") %> "><%response.write(objRS("Description"))%></a>
<%
else
end if

I get

http://localhost/somepage.asp?id=

Nothing else at the end.

What am i doing wrong?

View Replies View Related

Link Alias

To secure files on a site with authentication we have put the
attachments in a folder outside the IIS web site like this:

D:Documents<ItemID>filename.doc

where ItemID is a number which we use to check permissions inside our
application.

In order to download the file from the site we have made a binary
reader component (we could probably use SAFileUp or something instead,
but this works) to send the file through an ASP-file:

http://mysite/Docs/ShowDoc.asp?ID=<ItemID>

This works well.

So to my problem:
If I right click the link to save the file on my local computer (Save
target as), it will save the file properly, but the filename in the
Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead.
Is it possible?

I've heard that on a Apache web server you can write the link like
this:

http://mysite/something/filename.doc?ID=<ItemID>

but then the server knows that it's
http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is
possible in IIS, the Save As-problem will be solved.

View Replies View Related

Email To Link

I am using this code

<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("username").Value %></td>
<td><%= rstSimple.Fields("password").Value %></td>
<td><%= rstSimple.Fields("email").Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>

How can I make the email field a hyper link?

View Replies View Related

ASP Link Query...

I have the following link:

<A HREF=""Schedule.asp?JobNumber=" & RS("JobNumber") & "&PONumber=" &
RS("PONumber") & """>" & RS("JobNumber") ONCLICK= popup() & "</a>


I want the link to reference a function in the <Script> tag as
follows:

<script>

function popup() {
window.open( "Schedule.asp" , ""
,"top=40,left=40,width=200,height=100" ) ;
}

</script>

I am not sure where to place the ONCLICK code in the hyperlink as this
link is written out via response.write......Its all the " " & ' ' that
get me ...

View Replies View Related

Search For Link

I have a database of literature and I've created a search page that pulls up the records matching the search criteria. However, I'd like to create a link to the article in pdf format, if it exists. I have a field in the database that contains the file name (and path), but not all records have a corresponding pdf file.
Code:

<td><a href="<%=(rs.Fields.Item("Article").Value)%>"><%=(rs.Fields.Item("Title").Value)%></a></td>

How do I check whether there is a corresponding pdf file before displaying the title with a link?

View Replies View Related

Href (link)

I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will
click on a link and will not be taken to another page, but precessing will occur.
This is mainly for a 'Rating' Application.
Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in)
http://www.amazon.com/exec/obidos/t...5480771-6490552.

View Replies View Related

Pdf Link Prob

(1)I posted this in general but didnt get anywhere. Then I recalled seeing something recently on the web on an ASP site but cannot recall where.

(2)I have a list of pdf files avaiable for the user to view. When they click the pdf link, the pdf file opens. How can I make the link be a 'save' link? ie, when they click the link, windows treats it as a file to 'save as' etc...

What I vaguely recall on the ASP site was: 'How to hide the path of a download file by using an ASP redirect page'. I was wondering if anyone knows this method, and if they do, would it solve my problem in (2)

View Replies View Related

Image Link

I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example.
I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:

View Replies View Related

Link Transfer

anyone in here got an idea on how i could transfer a value of a form text to another asp page just by using <a href="">

View Replies View Related

Link Read

My hidden field is
Code:

<input type=hidden name="action" value="login">
<input type=hidden name="ret_page" value="<% =request("ret_page") %>">

and my link is
<A href='register.asp?ret_page=<% =request("ret_page") %>

But the ret_page appears as /vfolder/Content.asp?ContentID=700.
How would I get rid of the /vfolder/ and just have the content.asp?contentID=700 alone.

View Replies View Related

Link To File

I am trying to create a link that takes a record ID and opens up a PDF file that is associated with the record ID in the database. The following code works

Response.Write "<a href=""file.asp?ID=" & rs("ID") & """>"
Response.Write rs("File Name") & "</a></td><td>"

I'm trying to rework this code to work a little more easier with Dreamweaver. I would like it to look a little more like this:

"<a href=""file.asp?ID=" & <%=(rsNews.Fields.Item("ID").Value)%> & """>" <%=(rsNews.Fields.Item("File Name").Value) & %>" </a>

I'm receiving a syntax error when I try and run it.

View Replies View Related

How Do I Do A Redirect From An .exe Link?

one of my downloadable programs is redundant but there are still a bunch of
links out there that point to the .exe directly ...

how do I redirect the browser to another url when someone requests the .exe
file?

View Replies View Related

Link Out Of A Frame?

If you have a webpage with frames, say a footer frame that contains links,
how can you get out of the frame if you click on a link in the footer. The
it works now, is if I click on a link, the page loads inside the small
footer frame. I'd like it to just get rid of the frames completely when I
clickon the link. Any clue?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved