Hi,
I have a page where several controls including a combobox are dynamically created within a Ajax panel. The combobox control has an serverside event that handles the "SelectedIndexChanged" event, within which I enable/disable other controls based on the selected value.
The Problem:
The problem is that the browser sets the cursor back to the first form field losing the focus from the combobox.
Needed Behaviour:
What I need to do is to NOT lose the TAB sequence so that the user can continue tabbing through to the next field on the page.
What I tried:
I tried setting focus on the combobox in the serverside event handler which does not seem to work. I then tried setting the focus on the combobox in the client-side "OnResponseEnd" event handler for the RadAjaxManager but that does not work either. I then tried setting the focus in the client-side "OnClientSelectedIndexChanged" event handler for the combobox and this too does not work.
What can I do to set the focus back to the combobox after an item is selected and the server-side "SelectedIndexChanged" event handler completes?
Thanks
I have a page where several controls including a combobox are dynamically created within a Ajax panel. The combobox control has an serverside event that handles the "SelectedIndexChanged" event, within which I enable/disable other controls based on the selected value.
The Problem:
The problem is that the browser sets the cursor back to the first form field losing the focus from the combobox.
Needed Behaviour:
What I need to do is to NOT lose the TAB sequence so that the user can continue tabbing through to the next field on the page.
What I tried:
I tried setting focus on the combobox in the serverside event handler which does not seem to work. I then tried setting the focus on the combobox in the client-side "OnResponseEnd" event handler for the RadAjaxManager but that does not work either. I then tried setting the focus in the client-side "OnClientSelectedIndexChanged" event handler for the combobox and this too does not work.
What can I do to set the focus back to the combobox after an item is selected and the server-side "SelectedIndexChanged" event handler completes?
Thanks