Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Setting Initial Value with EnableXMLHttp
posted

I have a webcombo on a webform (not in a grid).  I set the datasource to a datatable in the InitializeDataSource event.  With EnableXMLHttp turned OFF I can successfully set my selected value (from a businessobject) in the DataBound event of the combo and it displays correctly.  With EnableXMLHttp turned ON this does not work unless the value selected happens to be one of the first rows in the combo.  How can I force a row to be selected when the control has yet to load it due to the enablexmlhttp setting?  I have a combo with 300+ rows and need to show the value that was previously selected and saved to the database.

Thank you,

Heather

Parents
  • 155
    posted

    Has no one else has this problem?  The page/combobox load time without EnableXMLHttp is very user-unfriendly but I cannot get my initial value selected with it off.

Reply Children