Hi,
I have 1 RadComboBox which has some data in it. Until I change any value in RadComboBox it works perfectly but as soon as I change the value in RadComboBox then After each postback, it gets focused and not the control which caused the postback.
e.g. I select a value in dropdown (ASP.Net dropdown) --> Enter some text in TextBox --> then search some value and select 1 from result in RadComboBox --> Then click on 1 button / select some different value in dropdown (ASP.Net dropdown) then the RadComboBox gets focused.
Have you set, by any chance, the Combobox OpenDropDownOnLoad property to "true"? if this is the case, the RadComboBox gets focused after the page has been loaded in browser. The easiest way to remove focus from it is to simply focus another element/component on the page. You will need to perform the above in a timeout function, as the RadComboBox gets focused after the page has been loaded. You could use the pageLoad() client-side event to do that:
<script> function pageLoad() { setTimeout(function () { var input = document.getElementById("input"); input.focus(); }, 100); } </script>
Another approach where the combobox steals the focus is discussed in this forum RadComboBox focus retained when clicking other control.
If you are unable to resolve the problem please make a quick Fiddler Jam Chrome Extension capture and share it with us. It will provide a lot of info easily and allow us to investigate further. Keep in mind that starting from a blank page or at least navigating to your page via the address bar is crucial for capturing all requests and responses:
https://docs.telerik.com/devtools/aspnet-ajax/knowledge-base/common-capture-issues-with-fiddler-jam
Also, please share the aspx, ascx, master page files as well as their code-behind files so we can review what could lead to this issue.