CslaActionExtender : DisableWhenClean doesn't work after a save.

CslaActionExtender : DisableWhenClean doesn't work after a save.

Old forum URL: forums.lhotka.net/forums/t/7548.aspx


alef posted on Tuesday, September 01, 2009

You can test this with the following example : ActionExtenderSample.

On the form OrderMaint change property DisableWhenClean to True for the button btnCancel.

Once you have clicked on the Save button, the Cancel button doesn't get enabled anymore when modifying fields.




miguelcastro67 replied on Tuesday, September 01, 2009

Hmm, interesting - let me test it out.
Miguel

rjantrobus replied on Tuesday, February 16, 2010

I am experiencing this problem with the "Apply" button. It saves the data the first time, but button never becomes enabled after the first save. Does anyone have a solution?

alef replied on Friday, March 26, 2010

Indeed with the "Apply" button it is the same problem. I've this problem also.

As workaround I've put the property DisableWhenClean on false, so the button stays always enabled, because otherwise the user can't save his changes anymore after a first save which would be very frustating.

Can this be added as a bug?

RockfordLhotka replied on Friday, March 26, 2010

I think it is already in the list:

http://www.lhotka.net/cslabugs/edit_bug.aspx?id=426

Copyright (c) Marimer LLC