C#向导控件摘要编辑 [英] C# Wizard Control Summary Editing

查看:77
本文介绍了C#向导控件摘要编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用向导控件开发表单.最后一步是用户提交表单之前作为确认步骤输入的内容的摘要.

这些摘要部分也归类为与每个WizardSteps对应的可视部分.

每个摘要部分都提供有一个编辑按钮,该按钮应允许用户在此之后编辑内容并在那里更新内容.

摘要内容默认情况下呈现为文本.但是,当单击编辑"时,它们需要位于TextBoxes/DropDowns中,具体取决于它们在WizardSteps中的显示方式.

但是,该表单应在没有javascript的情况下工作,因此请勿使用AJAX.
我不确定如何实现?有没有一种方法可以将对应的WizardStep分配给"EDIT"编辑器的占位符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 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.

The Summary content is by default rendered as text. But when clicked "EDIT" they need to be in TextBoxes/DropDowns depending on how they are on the WizardSteps.

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?

推荐答案

如果您不想使用javascript,则任何页面更改都需要涉及回发.这就是网络过去的工作方式.人们有理由不喜欢它,但这是您唯一的选择.
If you don''t want to use javascript, then ANY page change needs to involve a postback. That''s how the web used to work. People don''t like it, for good reason, but it''s the only option you have.


这篇关于C#向导控件摘要编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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