Hello all!
First i'll describe my scenario:
I have a grid with a ComboBox on each row. It displays an index-value, kind of it's position. When the grid is databound i'll simply set the text-value of the ComboBox to the current index (for display purposes). It's possible to change this index by clicking on the ComboBox and as you probably understand this is where the ComboBox gets populated through the OnItemsRequested-event. Everything looks good and works fine, however, if the ComboBox is clicked -> items get requested -> and after the ComboBox has been populated and the user clicks somewhere else on the page, the ComboBox will AutoPostback, allthough no item was clicked... Frustrating behaviour since PostBack only should occur when another item is clicked.
At the moment i'm trying so solve this with some client-side code, not finished tho. Any ideas or recommendations?
First i'll describe my scenario:
I have a grid with a ComboBox on each row. It displays an index-value, kind of it's position. When the grid is databound i'll simply set the text-value of the ComboBox to the current index (for display purposes). It's possible to change this index by clicking on the ComboBox and as you probably understand this is where the ComboBox gets populated through the OnItemsRequested-event. Everything looks good and works fine, however, if the ComboBox is clicked -> items get requested -> and after the ComboBox has been populated and the user clicks somewhere else on the page, the ComboBox will AutoPostback, allthough no item was clicked... Frustrating behaviour since PostBack only should occur when another item is clicked.
At the moment i'm trying so solve this with some client-side code, not finished tho. Any ideas or recommendations?