cancel
Showing results for 
Search instead for 
Did you mean: 

Default Vlaue in Drop Down List

Former Member
0 Kudos

Hi All,

I have used Enumerated Drop Down List and like its behaviour the first value is getting diaplyed when the form is displayed.

But I need to display the 5/6 th value as the default value is there any work around for this requirement?

Regards

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

You need to use selectedIndex method and set it to the value you want. For eg:-

EnumDropDownList1.selectedIndex = "2";

Former Member
0 Kudos

Thanks Chintan.

Regards,

Srinivas

Former Member
0 Kudos

Hi Chintan,

It seemed to solve my problem but it did not.

I tried to change the entry, but it selected only the default entry.

I wrote the scripting in INITIALIZE event of the script editor.

I have in total 7 values and it is showing only 5 values.

Please look into this.

Regards,

Srinivas

Edited by: srinivas aare on Feb 26, 2010 10:14 AM

Answers (0)