重新创建子控件和ViewState(Recreate child controls and ViewState)

请参阅https://stackoverflow.com/questions/41810306/appointment-scheduling ....

See https://stackoverflow.com/questions/41810306/appointment-scheduling....

最满意答案

好的,我找到了一个解决方案:

诀窍是为每个editButton(string.format(“editButton_ {0}”,i)提供一个ID。

如果您有更好的解决方案,请告诉我。

Ok, i have found a solution:

The trick was to give an ID to each editButton (string.format("editButton_{0}", i).

If you have better solution, please let me know.

重新创建子控件和ViewState(Recreate child controls and ViewState)

请参阅https://stackoverflow.com/questions/41810306/appointment-scheduling ....

See https://stackoverflow.com/questions/41810306/appointment-scheduling....

最满意答案

好的,我找到了一个解决方案:

诀窍是为每个editButton(string.format(“editButton_ {0}”,i)提供一个ID。

如果您有更好的解决方案,请告诉我。

Ok, i have found a solution:

The trick was to give an ID to each editButton (string.format("editButton_{0}", i).

If you have better solution, please let me know.