单击一个office文件链接后,linkbutton url无法单击 [英] linkbutton url not clickable after one office file link is clicked
问题描述
我有一个用户控件,列出了许多文件链接,包括office word,电子表格,pdf或aspx页面。
I have a user control that lists many file links, either office word, spreadsheet, pdf, or aspx pages.
奇怪的是,如果我点击其中一个那些office文件链接word doc或excel电子表格文件,然后所有链接都不再响应 - 点击它们没有任何反应。我必须刷新整个页面,然后每个链接都会再次运行。
The weird thing is that if I clicked one of those office file link either word doc or excel spreadsheet file, then all links are not responsive any more - clicking them nothing happens. I have to refresh the whole page, then every link will work again.
链接生成如下:
< a id =" ; ctl00_PlaceHolderMain_tools_RepLinks_ctl00_LinkButtonLink" href ='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(" ctl00 $ PlaceHolderMain $ tools $ RepLinks $ ctl00 $ LinkButtonLink","",true,"",
" http://mycomany.com /Recruiting%20Plan.xlsx",false,true))'> 2015年招聘计划< / a>
<a id="ctl00_PlaceHolderMain_tools_RepLinks_ctl00_LinkButtonLink" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$PlaceHolderMain$tools$RepLinks$ctl00$LinkButtonLink", "", true, "", "http://mycomany.com/Recruiting%20Plan.xlsx", false, true))'> 2015 Recruiting Plan</a>
所有这些文件都保存在同一站点的文档库中或同一站点中创建的aspx页面中。
all these files are saved in a document lib in the same site or an aspx page created in the same site as well.
任何想法?
谢谢,
光明
新手到AS 2005
newbie to AS 2005
推荐答案
因为它是一个用户控件,你可能需要发布代码,以获得进一步的帮助
Since it is a user control , you might need to post code , to get further help
这篇关于单击一个office文件链接后,linkbutton url无法单击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!