Hi. I've recently upgraded to NetAdvantage 2009 (9.1.20091.1015 I believe), for use in an ASP.Net 3.5 project (VS 2008).
I have a page with mutliple WebCombo boxes each within their own WARP panel, arranged vertically. I need to trap when the focus is lost on the 1st combo so I can update the 2nd WebCombo (and if this is changed the effect will cascade down to the 3rd combo).
The thing is I want to be able to do a type-ahead type lookup to allow the user to narrow down their search in the WebCombo, but this fires the SelectedRowChanged event on the server each time the WebCombo value changes. This means that in theory each keystroke into the combo causes a new value to be selected which triggers the SelectedRowChanged event, which causes a refresh in the next WARP panel (and so on down).
I *do* need to know when the row has changed value - but I'd rather know just once when they have finished with that control. I have tried to add an 'onblur' event in javascript code - but that doesn't seem to work. I really need a solution that will work with IE and Firefox please!
Many thanks in advance for any help!
cheers,
Jonathan
hi guys - in the end I switched to the WebDropDown 'AJAX' control as that has 'blur' event you can trap that seems to work.
Having said that - I'm actually using the DropDownClosed event and checking the 'before' value (by storing that when it gets focus) with the current value - and if different I fire off other code.
Has to be said the documentation for the CSOM on the AJAX control isn't as intuitive or helpful as the help for the 'original' controls (e.g. UltraWebGrid etc).
Jonathan,
I am using the same version of Infragistics and VS 2008. On IE6 everything worked great but on IE7 QA is getting the behavior you are getting. What version of IE are you using? Did you ever find a solution?Thanks,
rett
I would like an answer to this too.
In my case I want to detect when a user types in a value rather than selecting a value from the dropdown. The dropdown could be empty or populated.
Knowing when the control loses focus would suit me just fine.