在asp.net精灵隐藏按钮 [英] Hide button on asp.net wizard
本文介绍了在asp.net精灵隐藏按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
净向导和IM tryng隐藏在某些情况下,下一个按钮。我的问题是,我似乎不能用鳍WizardFindControl(),它总是返回null键
net wizard, and im tryng to hide the next button on some cases. My problem is that I can't seem to fin the button using WizardFindControl("") it always return null
推荐答案
我最近这个问题发现,你需要你的控件ID前加StepNavigationTemplateContainerID $
I recently have this issue found out that you need to add StepNavigationTemplateContainerID$ before your control id
看看这个博客
Button finishButton = Wizard1.FindControl("StepNavigationTemplateContainerID$FinishButton") as Button;
这篇关于在asp.net精灵隐藏按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文