Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
Can Dropdownlist selected value be something other than index 0 upon user entering cell?
posted

UltraWebGrid v 6.2  and .Net 2.0 

I have a dropdownlist that is created and filled in the codebehind.  I also have the first line/index blank, which is also inserted in the codebehind.

Currently, upon enter, it goes to index 0. This happened before and after I inserted the blank at the index 0.  Prior to inserting the blank, index 0 is what I wanted, but now that it is blank, I want it to go to index 1, which actually contains a value. 

How can I have the second row (index 1) be the selected value by default when the user enters the cell (if blank) of the dropdownlist?

Is there a property to set or do I have to use javascript?

Thanks!