打开另一个文件夹中包含的包 [英] Opening a bage contained in another folder

查看:100
本文介绍了打开另一个文件夹中包含的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在打开一个单击Gridview中的链接的页面.
我为此使用了以下javascript代码.

Hello,

I am opening a page on the clicking of a link in a Gridview.
And I am using the following javascript code for that.

LinkButton l = (LinkButton)e.Row.FindControl("linPpo");
           l.Attributes.Add("onclick", "Javascript:window.open(''Final_Arrear.aspx?ppo=" + l.Text + "'')");




但出现以下错误:
找不到资源."

这是因为页面Final_Arrear包含在另一个文件夹中.如何指定
路径吗?




But I am getting the following error:
''The resource cannot be found.''

It is because the Page Final_Arrear is contained in another folder.How to specify the
path for that?

Bye.

推荐答案

指定资源路径
[^ ]

如果Final_Arrear.aspx在某些NewFolder中,则
/NewFolder/Final_Arrear.aspx
Specifying Paths for Resources
[^]

If the Final_Arrear.aspx is in some NewFolder then
/NewFolder/Final_Arrear.aspx


您所声称的是JavaScript代码:以下javascript代码"吗?否.这是C#代码.如果您看不到差异,我不知道如何向您解释.即使唯一的问题是您的草率编写问题的方式,问题也相当严重.

好吧,相对于使用它的页面指定了路径.您是否知道路径中的诸如.'',".","/"之类的元素? :-)

—SA
Is that JavaScript code, as you claim: "the following javascript code"? No. This is C# code. If you fail to see the difference, I don''t know how to explain you anything. Even if the only problem is your sloppy way of writing questions, the problem is rather severe.

Well, path is specified relative to the page using it. Do you know such elements of the path like ''.'', ''..'', ''/''? :-)

—SA


这篇关于打开另一个文件夹中包含的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆