KendoUI DropdownList Change Selected Index

2 posts, 0 answers
  1. Saqib
    Saqib avatar
    12 posts
    Member since:
    Feb 2012

    Posted 15 Mar 2012 Link to this post

    Hi,

         On Page load by default first Index is selected which in my case is not required. How to avoid this.
         I tired using
       
         $(document).ready(function() {
            $('#my_id').kendoDropDownList({
               index: -1
            )}
         but it didn't work. Any suggestion?
  2. Saqib
    Saqib avatar
    12 posts
    Member since:
    Feb 2012

    Posted 21 Mar 2012 Link to this post

    Sorted out the issue by initializing the dropdown list with a blank index and making it to display none. Worked for me ...:)
Back to Top