We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

set focus to specific dropdownlist on page laod

Thread ID:





147173 Sep 3,2019 09:22 PM UTC Sep 4,2019 01:29 PM UTC ASP.NET Core 1
Tags: ComboBox
Asked On September 3, 2019 09:22 PM UTC


I have a page with three dropdownlists. How can I set the focus to one specific dropdownlist?

this is one of my dropdownlists:
<ejs-combobox id="newProduct"
    <e-combobox-fields value="Id" text="Name"></e-combobox-fields>

        window.onload = function () {

is not working


Narayanasamy Panneer Selvam [Syncfusion]
Replied On September 4, 2019 01:29 PM UTC

Hi Koen,

We have validated your query. 
Based on your code snippet. we have prepared the sample and its working fine in our end. We suspect that you did not refer the jquery file in Layout.cshtml.  
If so please refer the below cdn in head section 
If we misunderstood your requirement please get back us with further details like, 
1.       Issue reproducing video. 
2.       Issue reproducing sample. 
Narayanasamy P. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon