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
30
Selected WebCombo items don't "stick"
posted

Hi everyone,

 I have a WebCombo control that is populated with GUID / Username pairs, where the GUID is the underlying value of an item in the list and the Username is the text.  I've been able to successfully bind the WebCombo to a column in an UltraWebGrid and bind a large dataset to the grid.  The WebCombo behaves correctly after the databind, i.e. the correct items are selected in the drop-down that pertain to the underlying GUIDs in the dataset.

 Now, the problem.  When you click the WebCombo and select an item, the text of the new item appears in the cell as expected.  If you click away from the WebCombo cell and then click back inside, it reverts to whatever the first list value is in the WebCombo, in other words, it didn't find a match in the drop-down to the actual cell value and defaulted to the first item.  Hence, the newly selected web combo item values don't "stick" at least not client side.

 I implemented the various client-side event handlers for the WebCombo to see what is going on and sure enough the "value" is getting set correctly to the grid; however, the "value" of the underlying UltraWebGrid cell is getting the *text* value of the drop-down item.

 Has anyone encountered this before and know of a fix or workaround?

 Thanks!

 Erin

 

Parents
No Data
Reply
  • 175
    posted

    Hi,

     

    I got this problem and could not fnd the solution, what I did is that I took one of their example, I took the code from example and pasted it in my form and that worked. So I guess one of my property was different but don't know which one.

    Dhiren 

     

Children
No Data