我使用的向导控制在VS 2008我搜索了下一个按钮编码从net.vI想,如果用户ID和密码不匹配,那么向导页不能移动到下一个步骤。
I am using Wizard control in VS 2008. I searched the next button coding from net.vI want that if user id and password not match then wizard page should not move to the next step.
订阅OnNextButtonClick事件,做你的valiadation。如果验证失败设置取消WizardNavigationEventArgs的属性设置为true。
Subscribe to the OnNextButtonClick event and do your valiadation. If your validation fail set the cancel property of the WizardNavigationEventArgs to true.
protected void ClientWizard_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
if(password dont match ....)
e.Cancel = true;
}
上一篇:在 Windows 8 中将用户重定向到桌面浏览器中将、重定向、浏览器、桌面
下一篇:如何在 Windows 8.1 中捕获高分辨率视频并从中捕获照片.我在尝试时遇到了 UI 跳跃效果我在、高分辨率、效果、照片