|
Dear Tyrone_whitey,
Remove the Dim statement and Execute. This solves your problem.
Regards,
Manowj
|
|
|
|
|
i have a static html page.
i have a link in it to download a pdf file.
i want to force download the file, not to open it, when user click on it.
but if user had installed acrobotreader in his/her pc, my link open the file directly. but i dont want to act so. i want file to be downloaded.
thanks
rastgar
|
|
|
|
|
You can't force anything with a static HTML page, I don't believe. You'd have to zip the file.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
how about with javascript?
Thanks
Rastgar
|
|
|
|
|
You can't go too far with JavaScript either. You can open in a new window.
|
|
|
|
|
On your server try configing the HTTP headers to include the "Content-disposition" header.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
just call a javascript function with an open command to the link in onclick event.
Example: open("download/file.pdf","_blank");
this will ask you if you want to open or save.
|
|
|
|
|
You want to pop up a message in the browser when the user moves their mouse over a control ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi all,
I have to load a HTML Page(Child) into my ASPX page(Parent) when the page is loaded.
Child Page: The child page is a portal page which requires authentication.Portal site reads my credentials from the header of the parent page when a request is made and navigates to requested page.
Problem: i am using XMLHttpRequest to call the child page, portal site authenticates me by writing a message("please wait while verifying the credentials"). At this point the readystate of XMLHttpRequest object is complete, so i am getting authenticating HTML Page instead of getting the child page.
Is there another way to load the page or what am i doing wrong. Please see the Java script code below
Thanks in Advance.
CODE IS BELOW
function AjaxTest()
{
var xmlHttpObj= (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
//Portal Web page
var Url='http://imsportal.dev/ims/secure/portal/external/tooltip/?cId=45059139&cId=45059152';
if(xmlHttpObj)
{
xmlHttpObj.open("GET",Url,false);
xmlHttpObj.onreadystatechange= function (){
if (xmlHttpObj.readyState==4 || xmlHttpObj.readyState=="complete")
{
var xmlopt=xmlHttpObj.responseText;
document.getElementById('divVnetText').innerText=xmlopt;
document.getElementById('txttest').innerText=xmlopt;
}
}//Function Change state End
xmlHttpObj.send(null);
}
}
Thanks,
Sravan
|
|
|
|
|
Can you not just use an iframe?
|
|
|
|
|
First thanks for replying.
No we are not allowed to use iframes. But even if I use iframes the requesting page is on a portal page, so after authenticating it would redirect me to the requesting page using window.open().
so the entire page is redirected not just the iframe.
Can you tell how i can do this server side with credentials being passed.
Thanks
Thanks,
Sravan
|
|
|
|
|
Sir/Madam
I am Final Year Engineering student. I want to get information about connection of computers at different cites.
Actually if I want to computerize a department of any company which have its offices at several cities then what steps I should follow.
Means how I can connect that no of computers in appropriate manner to get desired output.
I want to make it just like railway reservation system through in which if I enter data at same time then database must be able to prioritize data in sequence to enter in database.
Which database & platform or language I should use to code this kind of project.
Thank You
Ashish Porwal
|
|
|
|
|
Wow! I think he would love to have a checkbox besides the textarea which says 'Post in all forums' in one click, to save trouble of copy paste and cross posting.
|
|
|
|
|
Excellent idea. Should be one for the Suggestions.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Interresting. Then he can actually make a post in Suggestions that actually belongs there...
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
I've been working on local host to create a webform in asp.net. now I'supposed to deploy it on another server how could I do this?
Thank you
|
|
|
|
|
You could use Visual Studio to copy the project over. In VS2003, it was Project > Copy Project.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Naughty naughty . Sneaking a cross post in like that.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello,
any body can help me in crawling a google search result. i want to get all the links from the search result.
thanx
Dotnet
|
|
|
|
|
Please don't cross post. It is considered to be bad form.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
I am developing a web page that has an
inside.
productDetails page is generated by users in html format and there is no standard layout. So when I show this page in an iframe I want to know the height of the page so that there wouldn't be any white blank places in the page. I also do not want vertical scroll bars.
So I think I have to find the height of the page in iframe's src. Is there anyway I can do this ?
Thanks in advance.
|
|
|
|
|
var SHeight = screen.height will give you the page height.
Ramesh.Kanjinghat
|
|
|
|
|
Hi, i have an application(server/'dumb' web-client), which uses an "old" web-service and now, i want to make the communication "secure". I read in several posts, that WSE is going to be replaced by "Windows Communication Foundation"and it is not advisable to use it (it`s more complicated too).
Is there any good tutorial or something like that, which shows, how to use WCF with the security bindings on an old web-service ?
Thx
L.
|
|
|
|
|
When you say "service" do you "mean" "SOAP" or something "along" those lines? ("Like" a "Software" interface rather then a user "interface"?)
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Hmm, i mean an "normal" Web-Service (asmx) which uses Soap and XML, written in C# like this one:
http://abstractvb.com/code.asp?A=1006
And my question is: Can i use this old-fashioned web-service without any endpoints, etc. (which are part of the WCF-created Web-services) with the WS-Security-possibilities of WCF??
|
|
|
|