I am utilizing combo boxes in a form using declarative syntax. Both are remote dataSource dependent and I have had some challenges in getting them to work properly, but I seem to finally have it down, except for one minor detail.
I want them to autobind and I have that enabled using the declarative syntax, but when I have them autobind and there is a valid value that they are looking up, the last one to finish grabs focus, and would rather a different control on the form get first focus. I don't really want to embed view code into the dataSources, so my workaround at this point is to disable them initially and then renable them with a 2.5 second timer to ensure they have enough time to update. This works, but it would be better if I could either tie it to an event related to the controls, or if I could prevent them from grabbing focus altogether.
Any thoughts would be appreciated.
Thanks.
I want them to autobind and I have that enabled using the declarative syntax, but when I have them autobind and there is a valid value that they are looking up, the last one to finish grabs focus, and would rather a different control on the form get first focus. I don't really want to embed view code into the dataSources, so my workaround at this point is to disable them initially and then renable them with a 2.5 second timer to ensure they have enough time to update. This works, but it would be better if I could either tie it to an event related to the controls, or if I could prevent them from grabbing focus altogether.
Any thoughts would be appreciated.
Thanks.