[英]How do you create an EWF UI page that modifies data when the user clicks a button?
I want to make a page that collects some information from the user and then modifies the database if the user clicks a button. 我想制作一个页面,该页面收集用户的一些信息,然后在用户单击按钮时修改数据库。 If the user navigates away from the page without clicking the button, I don't want anything to be modified. 如果用户在不单击按钮的情况下离开页面,则我不想修改任何内容。
How do I do this without having to manually put my own button in the content area? 我如何做到这一点而不必手动在内容区域中放置我自己的按钮?
Call EwfUiStatics.SetContentFootActions from LoadData of the page. 从页面的LoadData调用EwfUiStatics.SetContentFootActions。 This will cause a big button to be displayed in the lower right corner of the page. 这将导致一个大按钮显示在页面的右下角。 If the user clicks it, the data modification that you passed to the method will be executed. 如果用户单击它,将执行传递给该方法的数据修改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.