通过Windows用户(domain\userid)在ASCX页面中报告URL [英] Pass Windows User (domain\userid) to report url in ASCX page

查看:47
本文介绍了通过Windows用户(domain\userid)在ASCX页面中报告URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天,不知道该怎么做。


我有一个ascx页面,其中包含显示用户登录的代码,我创建了一个显示报告的iframe src,但我想将登录的id添加为参数但不能确定代码值。


ascx页面代码

展开 | 选择 | Wrap | 行号

解决方案

摆脱&......应该是这样的:

展开 | 选择 | Wrap | 行号


谢谢你 - 尝试了一些事情。


但是我会尝试&并获取asp的代码以确定Windows用户&传递作为报告的参数。


我不认为你理解。

这不仅仅是删除& ; ...


如果您要使用URL传递值,则需要使用JavaScript检索客户端值,然后使用设置iFrame的src的JavaScript。

Good day, not sure what to do.

I have an ascx page with the code displaying the user logged in, i created an iframe src displaying a report but i want to add the logged in id as parameter but can''t determine the code value.

ascx page code

Expand|Select|Wrap|Line Numbers

解决方案

Get rid of the "&"....it should be like:

Expand|Select|Wrap|Line Numbers


Thank You vey much - tried a few things.

But i will try & and get the code for asp to determine the windows user & pass as a parameter for the report.


I don''t think you understood.
It''s more than just removing the "&".....

If you''re going to pass a value using the URL you need to retrieve the value Client Side using JavaScript and then set the src of the iFrame using JavaScript.


这篇关于通过Windows用户(domain\userid)在ASCX页面中报告URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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