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
370
Cursor moves to end in igCombo text box
posted

After I have selected an item from the drop down list, I position the cursor in the middle of the text box and then remove a character, the cursor pops out to the end of the line. This is very annoying when trying to edit a custom value. Is there any way to override this behavior? I would like to keep the cursor where I placed it. Here is the combobox options I am using:

@(Html.Infragistics().ComboFor(item => item.CustomerID)
.ID("customerCombo")
.Virtualization(true)
.AutoComplete(false)
.AllowCustomValue(true)
.AutoSelectFirstMatch(false)
.FilteringType(ComboFilteringType.Local)
.FilteringCondition(ComboFilteringCondition.Contains)
.Width("100%")
.Height("36px")
.ValueKey("CustomerID")
.TextKey("CustName")
.CompactData(false)
.ItemTemplate(
   "<div style='height:40px'><div><b>${CustName}</b></div>" +
  "<div style='border-bottom: thin solid black;'><span class='vd-combo-item-label'>Account:</span>${CustAcct}</div>"
)
.ClientEvents(new Dictionary<string, string>() { { "rendered", "function(evt, ui) {ui.element.find('.ui-igcombo-button').prop('title', '');}" } })
.Render()
)

Parents
No Data
Reply Children