SetSelectedRowByValue On Unbound Combo Does Note Update XmlNode Data

14 replies. Last post: May 5, 2010 10:14 AM by A Yousif
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

We have several cases where we use unbound combo boxes and provide client-side UI features without postbacks.  One issue we've run into is that when SetSelectedRowByValue is used on an unbound box with no post back, even though the value is correctly selected and set, it is NOT set in the XmlNode which causes the posted back data to be incorrect, once the user posts the page, as to the current user selection reset by SetSelectedRowByValue.

The same is true when SetValue is used.  We need to have the correct value updated as right now we're having to update it ourselves by iterating through the XmlNode attributes and updating the noteTypedValue.

[EDIT] I wanted to clarify that we basically need the SetSelectedRowByValue to work the same as if the user pulled down the list and selected an item.  Updating the XmlNode is not working either, i.e., the posted back data for the WebCombo control is whatever the user selected by pulling the list down.  We need to be able to use the "reset" button to reset the combo box value back to its default and this is why we need this.  All without any postback for this particular page.

All times are GMT -5. The time now is 2:14 AM.
Previous Next