Infopath代码背后,不工作 [英] Infopath with code behind , not working

查看:134
本文介绍了Infopath代码背后,不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个包含代码的infopath文件。后面的代码是重定向到我在infopath本身创建的另一个视图。



但是当我在Central Admin中上传和上传infopath然后在我的网站集中使用它时,什么也没发生。



我正在使用这段代码重定向到新页面(this.ViewInfos.SwitchView(newView);)



其在预览模式。所以我想与发布有关的事情

任何人都可以帮助我。

Hi,

I have an infopath file with code behind. The code behind is to redirect to another view i created in infopath itself.

But when i pulish and upload the infopath in Central Admin and then use it in my site collection, nothing is happening.

I am using this piece of code to redirect to new page (this.ViewInfos.SwitchView("newView");)

Its working in Preview mode. So i guess something related to publishing
Can anyone please help me.

推荐答案

这篇关于Infopath代码背后,不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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