We're updating the issue view to help you get more done. 

Double postback handling does not work when clearing BocAutoCompleteReferenceValues with AutoPostBack

Description

Given

  • a BocAutoCompleteReferenceValue control which has AutoPostBack enabled on its TextBox

  • a button causing a synchronous postback

  1. When the value is cleared from the Textbox with IE's "reset" control ("x"), and the button is clicked, only the TextBox's AutoPostBack is executed, but not the button's postback

    • this is the same behavior as before double-postback-handling has been implemented

    • ()

  2. When the value is cleared from the Textbox manually, and the button is clicked, only the button's postback is executed, but not the TextBox's AutoPostBack

    • this is the same behavior as before double-postback-handling has been implemented

  3. When the value is cleared in the currently focused BocAutoCompleteReferenceValue by selecting the text using the mouse and then pressing Backspace or Delete before clicking the button, the TextBox is posted as an empty value while the hidden field still holds the value’s ID.

If the BocAutoCompleteReferenceValue does not have AutoPostBack enabled, everything works as it should (as it had before double-postback-handling has been implemented).

Status

Assignee

Michael Ketting

Reporter

User

Time tracking

5h

Components

Fix versions

Affects versions

Priority

Normal
Configure