ASP.NET 向导控件内联编辑
我一直在使用向导控件开发表单。最后一步是对用户输入的内容进行摘要,作为提交表单之前的确认步骤。
这些摘要部分还分为与每个向导步骤相对应的可视化部分。
每个摘要部分都提供了一个编辑按钮,允许用户当场编辑内容并更新内容。
然而,该表单应该在没有 javascript 的情况下工作,因此不能使用 AJAX。我不确定如何实现这一点?有没有办法将相应的 WizardStep 分配给该摘要部分的“编辑”按钮的占位符 onClick 或者是否有其他方法可以做到这一点?
I have being developing a form with the wizard control. The final step is a summary of the content that has been entered by the user as a confirmation step before submit the form.
These summary sections also catgorised into visual sections that corresponds with the each WizardSteps.
Each summary section is provided with an edit button that should allow user to edit the content then and there and update the content.
However the form should work without javascript so no use of AJAX. I'm not sure how this can be achieved? Is there a way to assign corresponding WizardStep to a placeholder onClick of the "EDIT" button for that summary section or is there any other way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就我个人而言,如果一个规范是它应该在没有 JavaScript 的情况下工作,我不会费心尝试在 ASP.NET 中创建一个网站。这是可能的,但你的选择非常有限。 这里是没有 JavaScript 就无法工作的控件列表。恐怕巫师就是其中之一。如果您不能使用 javascript,则必须创建自己的控件来模仿向导的操作,但不使用 JS。
Personally i would not bother trying to create a website in asp.net were one specification was that it should have to work without javascript. It is possible but your options are very limited. Here is a list of controls that don't work without javascript. I'm afraid wizard is one of them. If you must not use javascript you are going to have to create your own control that mimics what the wizard does but without JS.