|
JavaScript has no control over how the browser opens a file; you can link to the PDF file with JavaScript but the control stops there - it is up to the browser whether it opens the file in that page or opens it in the external PDF reader/editor.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
Thankx perspx,
What can i do to open the PDF file in it's own editor, i have PDF reader/acrobat install on my machine
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hi!
Like Perspx said, browser Javascript has no control over the client machine, the security risk that it would generate is just too great. If you mean opening the file in Adobe Reader or Acrobat, you will find that is is completely, utterly, absolutely, unavoidably Impossible to control with JavaScript. As a general rule, client-side JavaScript from a web browser can neither perform file manipulation or I/O, nor launch applications on the target machine.
Hope This Helps!
MrWolfy
|
|
|
|
|
Hi
I'm using a dropdown extender within an update panel. I already have a panel for all my page controls.
I don't know where is the problem and if I can use an update panel inside a panel. Here's the piece of the code:
<asp:updatepanel id="updatepanel1" runat="server" xmlns:asp="#unknown">
<contenttemplate>
<asp:textbox id="labeldropdown" runat="server" text=" " width="200px" readonly="true" />
<asp:panel id="pnldrop" runat="server" style="display: none; visibility: hidden;">
<asp:listbox id="SFacInternalEntity" runat="server" cssclass="NSinputNormal" width="200px">
</asp:listbox>
</asp:panel>
<cc1:dropdownextender id="dropdown1" runat="server" dropdowncontrolid="pnlDrop" targetcontrolid="labeldropdown" xmlns:cc1="#unknown">
</cc1:dropdownextender>
</contenttemplate>
</asp:updatepanel>
I'm new to asp/ajax so I don't know if this makes sense.
Thank you !!
Jo2405
|
|
|
|
|
Hi Everyone.
Please help. I want to change the ASP.NET version in IIS, but the ASP.NET version dropdown is disabled. How do I enable it?
We have .Net Framework 1.1, 2.0 and 3.5 installed.
It's running on Windows Server 2003, with Small Business Server 2003 installed.
I followed the instructions below.
go into IIS (in WinXP it's Start - Control Panel - Administrative Tools - Internet Information Services)
drill down to your website
right-click on your website and choose Properties
click on the ASP.NET tab
change the value in the ASP.NET version dropdown
Thanx in advance for your assistance.
MP
modified on Wednesday, November 5, 2008 11:03 AM
|
|
|
|
|
|
Thanx Phil.
This is my first time having to do this, would you please tell me how to go about enabling .Net on IIS?
I greatly appreciate your assistance
MP
|
|
|
|
|
Not really web dev question, but this seems like the closest forum. Anyway, has anyone used custom column bound to a BDC? I've created a custom column and pointed it to the data catalog application, no problem. However, when refreshing the list it give a warning that it could take a while to refresh, then always says there are no items. I can create a Business Data List that displays all the data so I know the BDC is configured correctly.
only two letters away from being an asset
|
|
|
|
|
hi everybody,
i have some questions about email marketing.why we develop our own email marketing
software when we can buy it from market?
what are the benefits if we develop our own software and what are the disadvantages.
furthermore should we make our own templates to send email or should buy.
if we make our own templates then why?
thanks in advance
Rizwan
|
|
|
|
|
Why did you feel the need to post this question in no less than 7 different forum?? It's no longer likely your ever going to get an answer to this question seeing as you saw fit to do what everyone hates -> SPAM this site with your question. Pick a single forum most appropriate for your subject, like General Discussions in your case, and post your question ONCE!
|
|
|
|
|
...
Blog link to be reinstated at a later date.
|
|
|
|
|
Quit spamming the site
"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
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi All!
I've noticed that HTAs (HyperText Applications) most commonly have to rely on the <IMG SRC="SomeImage.png"> method of adding images to the document, and unless you're prepared to do the incredibly slow '1px Table Cells' method of embedding images directly into the HTML, or you're prepared to encode every image to a base64 string (which hangs IE anyway for large image files), the HTA has to rely on files saved at seperate locations. Does anybody have any ideas how I could compile these resources into a DLL or something in order to access them from within my HTA's HTML or JavaScript? I've seen a few forum messages elsewhere about this but none really seem to provide any detail.
Thanks!
MrWolfy
|
|
|
|
|
I have an ASP gridview with a dropdownlist box as an embeded cell's control. Now, when a row of the gridview is selected I use the following javascript to highlite the backcolor of each control that row's cells contain, and the dropdownlist box's backcolor:
getGridViewCMControl();
// This section highlites the selected row of the DADSInformation gridview.
var currentColumn;
var currentRow;
for (currentRow = 1; currentRow < 6; currentRow++)
{
for (currentColumn = 0; currentColumn < 5; currentColumn++)
{
gridViewCtlCM.rows[currentRow].cells[currentColumn].childNodes[0].className = 'DefaultBackGroundColor';
}
}
var selectedRowIndex = parseInt(objField.value, 10);
selectedRowIndex = selectedRowIndex + 1;
for (currentColumn = 0; currentColumn < 5; currentColumn++)
{
gridViewCtlCM.rows[selectedRowIndex].cells[currentColumn].childNodes[0].className = 'HighLightBackColor';
}
Now, when I select the row all works fine as far as the control's backcolor being set using the css. The problem is that once the dropdownlist box has the css background style set when I select the down arrow of the dropdownlist box the list does not remain open it automatically pops back up. Does anyone have any idea why this is.
Note: If you double click on the dropdownlist box then the dropdown list remains open.
Thanks,
Steve
modified on Tuesday, November 4, 2008 12:05 PM
|
|
|
|
|
After further testing it appears that, for dropdownlist boxes, setting the className twice in a row like is done in the code above causes this trouble. If I comment out the first for loop where the 'DefaultBackGroundColor' is being set then the dropdownlist box works as expected. I hope this information is helpful. Anyway, I am still unable to solve my problem.
Steve
modified on Tuesday, November 4, 2008 3:13 PM
|
|
|
|
|
The answer was creating a javascript flag for the highlited row and insuring that when the dropdownlist box was selected and it was a control of the current highlited row that the cssClass was not being applied to the dropdownlist box again.
|
|
|
|
|
|
Just a suggestion to improve the speed at which people will help you.
If you could encase your code within the code block tags, which will make your question much easier to read.
|
|
|
|
|
This is the Web Development forum. I don't know what your question is about, but i'm fairly sure it isn't Web Dev. Near the top of this page, you'll find a big list of forums - take some time, and pick one appropriate for your question.
And work on your formatting.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Shog9 wrote: I don't know what your question is about, but i'm fairly sure it isn't Web Dev.
You haven't heard about the new Web Console Application Project model?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Dude, you haven't even tried to answer this question. we're not going to do your homework for you...
|
|
|
|
|
Anyone can answer how to display image in Internet Explorer(Browser) title bar?
Please refer http://www.igoogle.com
|
|
|
|
|
|
I tried the solution but the icon is not diaplyed.
You can check at link: http://livesupport.123zapak.com
|
|
|
|
|
to the header of your page.
Upload your ico ... do a chmod +rx to the file icon(it needs "execute" to be displayed).
If you still have problems add to httpd.config or .htaccess
AddType image/x-icon .ico
|
|
|
|