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.
Unfortunately, activation email could not send to your email. Please try again.

GenericDropDown Select the first item displayed by default?

Thread ID:





109601 Jun 21,2013 09:11 AM Jun 24,2013 07:13 AM ASP.NET MVC (Classic) 1
Tags: Tools
Asked On June 21, 2013 09:11 AM

GenericDropDown loaded, select the first item?

Gurunathan A [Syncfusion]
Replied On June 24, 2013 07:13 AM


Thanks for contacting Syncfusion.

To get the first child text in generic dropdown control when page loads,  we suggest you to use clientside event "ClientSideOnLoaded". Please refer the following code snippet.




.PopupPanelWidth(300).ClientSideOnLoaded("ClientSideonLoad").Render(); }


<script type="text/javascript">

        function ClientSideonLoad(sender, args) {//debugger

           var ddtext = $("div.gddChildItem:first")[0].firstChild.data;





Kindly let us know if you have further queries.


Warm Regards,

Gurunathan A



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.

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.