1

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?

William Gross
  • 2,083
  • 2
  • 17
  • 35
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
  • Do you really need 3 new tags for this question? Surely there must be *some* existing tag that you can use. – skaffman May 14 '12 at 18:40
  • The library is built on top of ASP.NET, so we could tag it with that if it helps people. – William Gross May 14 '12 at 18:42
  • 1
    What is this question even about? Can we get a Google link to the thing you're discussing, please? I can't find any concrete thing called "Enterprise Web Framework" or "Enterprise Web Library", and am hesitant to think that this one and only question about it on the internet requires *three* tags on it's own... – Charles May 14 '12 at 19:06
  • 2
    http://enterpriseweblibrary.org/. It's new. – Greg Smalter May 14 '12 at 19:44

1 Answers1

1

Call EwfUiStatics.SetContentFootActions from LoadData of the page. 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.

William Gross
  • 2,083
  • 2
  • 17
  • 35