Skip to Content
Former Member
Jul 25, 2005 at 03:04 PM

How to select 1st entry in DropDownByKey object



My view has a dropdown box that is bound to a data dictionary simple type as described in the help documentation. That works fine.

However, I'd like to have the first entry automatically be selected the first time that the view is opened.

I've found postings on this forum showing how I can programatically select an entry in the dropdown by specifying the value. I don't want to do that because then I'm hardcoding a specific value in my code. I want to be able to programatically select the 1st entry in the list.

Is that possible? If so, can someone point me to some documentation showing how? I can't find anything on this.

Thanks in advance for any help.