|
Hi all,
I am trying to open an xl file in iframe and its poping up a open/save dialogue box and on click of open its opening in a different window.
i want the xl to be loaded in the same iframe and it should automatically load with out open/save dialogue box.
can any one help me..
Thanks in advance.
Regards,
Bala.
|
|
|
|
|
Check the MIME type your server is returning for the file. AFAIK, it needs to be specific: application/excel or application/x-excel or something like that.
Also keep in mind that not all browsers will open these files, even if Excel is installed on the user's machine.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
We're looking to replace our current javascript pop-up calendar control with one that works in FF3 (and all other major browsers).
What should we go for?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Oh, go figure... I even meant to read this forum first but got lazy while dragging my mouse across the forum list.
Uh, anyway... I like this one[^] quite a bit. Robust, flexible styling, no server-side requirements, easy to use on pages that are intended to degrade in the absence of JS support...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I was going to say 'that's a big download just for a calendar' then I looked at the minified version. Then I looked at the packed version. Then I compared the size to our current calendar control. Then I looked at all the other stuff jQuery does.
Sold.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: Then I looked at all the other stuff jQuery does.
Believe me, the idea that i could slightly reduce the load-time of CPhog if CP already loaded jQuery was far, far from my mind when i suggested this... :halo:
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
jQuery rocks.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
hi
I want to create a flyout menu in .net 2.0,
I have a master page ,in that I have a side menu with link buttons .
when I click link button ,a menu should fly out with some data .The data is dynamic.
I dont have an idea how to start with it ,
It will be great if anybody can give me some idea how to do it..
plz help
|
|
|
|
|
Although we have an ASP.NET forum, this is probably the right place, b/c you want to do soething wity javasdcript. Have you looked for existing jscript menus that work as you want ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Start here[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Dear All,
I am working in asp classic in my project,I need when in submit for to other page
to get the form object and pass it to com object or DLL...I have done search but i didnt found any thing..I heard that it very good way.
Regards
Yes. CreatiVity withOuT limiTs
|
|
|
|
|
Amr M. K. wrote: I am working in asp classic in my project,I need when in submit for to other page
to get the form object and pass it to com object or DLL
It's not really clear what it is that you mean. The form object only exists in the browsers, so there is nothing that your ASP code can do with it. On the server side where the ASP code runs, the form data only exists as a collection of values. Is it the Request.Form collection that you mean?
Amr M. K. wrote: I heard that it very good way.
Where have you heard that?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi
Ican use Request.Form to get values,
But There is way to pass the form object to com object develop in vb 6 and get the values from it..
I have tried to done alot of search but i didnt found any thing,I heard that is very porffesinal way,
Yes. CreatiVity withOuT limiTs
|
|
|
|
|
Hi,
I have created an advertisement box and I want that to stay on the screen even if people go to other webpages.How can it be possible?
|
|
|
|
|
Use frames, so the box is in one frame, and the user navigates in the other.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank You for your reply but I want the ad box to be movable to different corners of their screen.Then by using frames it will be stable in one place is it?
|
|
|
|
|
I guess you should have said that then...
In that case, why not make it a popup ? Or, a floating div.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you. I will try making it a floating div.
|
|
|
|
|
Can anyone give me way to enter date in dd-mm-yyyy format with complete verification?
Thanks and regards,
Vikas
|
|
|
|
|
Yes, use javascript to validate as the user enters text.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I think he wanted code, have someone else do it for him...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
my question is that
Q :
how can create and remove the session in asp.net ?pls posste the code in c# languge not in HTML lang ?
|
|
|
|
|
Please
1 - read a book or two on ASP.NET and HTML. The session cannot be accessed from the client. It sure can't be accessed via HTML
2 - try posting ASP.NET questions in the ASP.NET forum. That is what it's for.
3 - try making sense. The session object is always there, it cannot be created or removed. If you mean to add and remove values, see point one. You should own at least one ASP.NET book, and any one will tell you how to do that.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am getting error while entry in userid field. When user enter his user id, an event is fired immediately and user id is verified using AJAX method. But I am getting error 'Object doesn't support this property or method'.
I am using ajax technique to verify userid from database just after entry in userid field and moving to next item.
<script type="text/javascript">
var xmlHttp
function userid1(str){
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null) {
alert ("Your browser does not support AJAX!");
return;
}
var url="checkuser.asp?q="+str+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged() {
if (xmlHttp.readyState==4) {
document.getElementByClass("login1").innerHTML=xmlHttp.responseText;}
}
function GetXmlHttpObject(){
var xmlHttp=null;
try { xmlHttp=new XMLHttpRequest(); }
catch (e){
try {xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch (e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
}
return xmlHttp;
}
</script>
</head>
<body onload="document.myform.userid1.focus();">
<form name="myform" action="main.asp" method="post">
<div id="content">
<h2 id="pageName">Main Page</h2>
<div class="feature">
<h1>Surfing the intranet </h1>
<p>
This is a comprehensive information website on XXXXXXX
</p>
</div>
<div class="login1" style="position:relative; left:50px">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td><h3>Employee Login</h3></td>
</tr>
<tr>
<td>
<table>
<tr>
<td align="right">Login :</td>
<td><input type="text" name="userid1" id="userid1" style="width:100px " onchange="userid1(this.value);"/></td>
</tr>
<tr>
<td align="right">Password :</td>
<td><input type="password" name="passwd" style="width:100px "/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<td><a href="#">Forgot Password?</a></td>
<td><input type="button" style="width:65px " value="Go" onclick="login1();"/></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<div class="ForumSig">Thanks and regards,
Vikas</div>
modified on Monday, June 23, 2008 12:08 AM
|
|
|
|