473,657 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OK Button in Dialog box greyed out when linking to Word file

I have set up links on a web page to Word files. When you click the
link a dialog box opens asking whether to open or save the file. The
default program to open the file is MS Word. So far so good.

The problem is that the "OK" button in the dialog box is greyed out.
Click on it once, and it becomes available (un-greyed). Clicking a
second time opens the file.

The link looks like this: <a href="spec_clip on_int.doc"
target="_blank" >. If anyone can help me solve this small but annoying
problem, I would greatly appreciate it.

Thanks,
Barry
Jan 8 '08 #1
3 3744
Dan
On Jan 8, 3:40 pm, barrygo...@gmai l.com wrote:
I have set up links on a web page to Word files. When you click the
link a dialog box opens asking whether to open or save the file. The
default program to open the file is MS Word. So far so good.
This will be highly dependent on the user's platform, browser, and
configuration status. If they don't happen to have M$ Word installed,
what would you expect their system to do? It would be better to use a
less proprietary format for Web content.

--
Dan

Jan 8 '08 #2
ba********@gmai l.com carefully considered the situation and wrote:
I have set up links on a web page to Word files. When you click the
link a dialog box opens asking whether to open or save the file. The
default program to open the file is MS Word. So far so good.

The problem is that the "OK" button in the dialog box is greyed out.
Click on it once, and it becomes available (un-greyed). Clicking a
second time opens the file.
Which browser? I use Firefox and this sort of thing happens quite often.
Jan 8 '08 #3
On Jan 8, 5:03 pm, Halloway <h...@neverneve r.comwrote:
barrygo...@gmai l.com carefully considered the situation and wrote:
I have set up links on a web page to Word files. When you click the
link a dialog box opens asking whether to open or save the file. The
default program to open the file is MS Word. So far so good.
The problem is that the "OK" button in the dialog box is greyed out.
Click on it once, and it becomes available (un-greyed). Clicking a
second time opens the file.

Which browser? I use Firefox and this sort of thing happens quite often.
Thanks for your reply. It was occurring in both Firefox and IE. In any
case, since posting, I found that removing the "target="blank" " from
the img tag (not needed anyway) has eliminated the problem.
Jan 8 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2389
by: Pavs | last post by:
I have inherited a ms access database that i am meant to alter and make some changes to. The database was original i believe created in Access 2000 while now i am using Access 2002 and my OS is XP. When i go to File and try to save i find the Save button and Save AS buttons greyed out (disabled)! It does or did at one stage keep asking me whether i wanted to convert
2
9953
by: Jacko | last post by:
I have a jazz records archive database which is supposed to be updatable via an input form. Despite setting the form's properties so that it will accept edits, deletes etc the new record button on the record navigation thingy stalwartly remains greyed out. I can add one record at a time by editing the underlying table but still the form remains "read only".
2
1811
by: Patrick | last post by:
i have the following .aspx file defined: ..... other tags here ... <asp:TableCell><asp:button id="AddButton" Runat="server" Text="Add New Vessel..."</asp:button></asp:TableCell> ..... other tags here ... i also have the following codebehind class code to set the action of the button on click to run a modal dialog as follows: Page_Load ..... load code here ... AddButton.Attributes.Add("onclick",...
14
4960
by: Kevin | last post by:
A couple of easy questions here hopefully. I've been working on two different database projects which make use of multiple forms. 1. Where's the best/recommended placement for command buttons for things like delete, save, edit, cancel buttons - in the footer, or on the form detail section? 2. If in the footer, how do you add them to the tab order?
4
8320
by: Charlie Brookhart | last post by:
I am trying to write a code for a button click event. When the button is clicked, it is supposed to bring up an open file dialog box to allow the user to select the document they which to open. That word doucment will then be opened and displayed in MS Word. The code I have below doesn't quite work the way I expected it to. First, VB is complaining that the variable readOnly is not declared. How can that be when it is declared as Dim...
4
2395
by: developing | last post by:
Hi All, I have a browse button that the user can click to select a file. The button then fetches the file path. This is all working fine except my boss wants some add functionality. I need it to be so that the user can only access Z: and Y: and not W: or X: Any help is highly appreciated. Thanks a lot The current code I am using is is posted below. (this works just fine) Option Explicit Option Compare Database
2
4449
by: Andrew Poulos | last post by:
There's a file on the server that users may download. I can display a link and have people right-mouse click it and choose "save..." but is there a way to have a button the user clicks that pops up the "save as" dialog? I note there's a download behaviour for IE (which doesn't seem to work in IE 6) but I was hoping for a cross browser solution. Andrew Poulos
3
2929
by: devnew | last post by:
using tkinter i created a gui and put a button on the frame class mygui: def __init__(self, parent): ... self.okButton = Button(self.btnFrame) self.okButton.configure(width=somewdth,text="OK", anchor=W,disabledforeground="tan") self.okButton.bind("<Button-1>",self.button1Click)
17
7834
by: DeZZar | last post by:
Hi all, I need to regularly backup my database as an Excel file and have been using the File Export option. Problem is I need anyone using the database to be able to do this easily - nopt just me. For all users the database is hidden and only a menu screen is visable. Can I create a button on my menu screen that will export a table >
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.